// Module included in the following assemblies:
//
// * support/remote_health_monitoring/using-insights-operator.adoc

:_mod-docs-content-type: PROCEDURE
[id="insights-operator-downloading-archive_{context}"]
= Downloading your {insights-operator} archive

[role="_abstract"]
{insights-operator} stores gathered data in an archive located in the `openshift-insights` namespace of your cluster. You can download and review the data that is gathered by the {insights-operator}.

.Prerequisites

ifndef::openshift-rosa,openshift-dedicated[]
* You have access to the cluster as a user with the `cluster-admin` role.
endif::openshift-rosa,openshift-dedicated[]
ifdef::openshift-rosa,openshift-dedicated[]
* You have access to the cluster as a user with the `dedicated-admin` role.
endif::openshift-rosa,openshift-dedicated[]

.Procedure

. Find the name of the running pod for the {insights-operator}:
+
[source,terminal]
----
$ 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_name>:/var/lib/insights-operator ./insights-data
----
+
Replace `<insights_operator_pod_name>` with the pod name output from the preceding command.
+
The recent {insights-operator} archives are now available in the `insights-data` directory.
