1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 09:46:53 +01:00
Files
openshift-docs/modules/gathering-data-network-logs.adoc

34 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * support/gathering-cluster-data.adoc
:_mod-docs-content-type: PROCEDURE
[id="gathering-data-network-logs_{context}"]
= Gathering network logs
You can gather network logs on all nodes in a cluster.
.Procedure
. Run the `oc adm must-gather` command with `-- gather_network_logs`:
+
[source,terminal]
----
$ oc adm must-gather -- gather_network_logs
----
+
[NOTE]
====
By default, the `must-gather` tool collects the OVN `nbdb` and `sbdb` databases from all of the nodes in the cluster. Adding the `-- gather_network_logs` option to include additional logs that contain OVN-Kubernetes transactions for OVN `nbdb` database.
====
. Create a compressed file from the `must-gather` directory that was just created in your working directory. For example, on a computer that uses a Linux operating system, run the following command:
+
[source,terminal]
----
$ tar cvaf must-gather.tar.gz must-gather.local.472290403699006248 <1>
----
<1> Replace `must-gather-local.472290403699006248` with the actual directory name.
. Attach the compressed file to your support case on the link:https://access.redhat.com/support/cases/#/case/list[the *Customer Support* page] of the Red Hat Customer Portal.