// Module included in the following assemblies:

// * networking/network_observability/configuring-operators.adoc

:_mod-docs-content-type: PROCEDURE
[id="network-observability-config-FLP-sampling_{context}"]
= Updating the FlowCollector resource

[role="_abstract"]
As an alternative to using the web console, use the `oc patch` command with the `flowcollector` custom resource to quickly update specific specifications, such as eBPF sampling

.Procedure

. Run the following command to patch the `flowcollector` CR and update the `spec.agent.ebpf.sampling` value:
+
[source,terminal]
----
$ oc patch flowcollector cluster --type=json -p "[{"op": "replace", "path": "/spec/agent/ebpf/sampling", "value": <new value>}] -n netobserv"
----
