1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/insights-operator-showing-data-collected-from-the-cluster.adoc

32 lines
1020 B
Plaintext

// Module included in the following assemblies:
//
// * support/remote_health_monitoring/showing-data-collected-by-remote-health-monitoring.adoc
:_mod-docs-content-type: PROCEDURE
[id="insights-operator-showing-data-collected-from-the-cluster_{context}"]
= Showing data collected by the {insights-operator}
You can review the data that is collected by the {insights-operator}.
.Prerequisites
* Access to the cluster as a user with the `cluster-admin` role.
.Procedure
. Find the name of the currently running pod for the {insights-operator}:
+
[source,terminal]
----
$ INSIGHTS_OPERATOR_POD=$(oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers --field-selector=status.phase=Running)
----
. Copy the recent data archives collected by the {insights-operator}:
+
[source,terminal]
----
$ oc cp openshift-insights/$INSIGHTS_OPERATOR_POD:/var/lib/insights-operator ./insights-data
----
The recent {insights-operator} archives are now available in the `insights-data` directory.