Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 1. Logging


1.1. Viewing Argo CD logs

Viewing Argo CD logs helps you troubleshoot GitOps deployments and monitor application synchronization. Use the logging subsystem for Red Hat OpenShift to access and filter Argo CD controller and application logs through the Kibana dashboard. The logging subsystem for Red Hat OpenShift collects logs from all pods in the cluster, including Red Hat OpenShift GitOps components.

1.1.1. Searching and filtering Argo CD logs

You can use the Kibana dashboard to view, search, and filter Argo CD logs to troubleshoot GitOps deployments and monitor application synchronization.

Prerequisites

  • The Red Hat OpenShift GitOps Operator is installed on your OpenShift Container Platform cluster.
  • The logging subsystem for Red Hat OpenShift is installed and configured to collect logs on your OpenShift Container Platform cluster.

Procedure

  1. In the OpenShift Container Platform web console, go to the red hat applications menu icon menu Observability Logging to view the Kibana dashboard.
  2. Create an index pattern.

    1. To display all the indices, define the index pattern as *, and click Next step.
    2. Select @timestamp for Time Filter field name.
    3. Click Create index pattern.
  3. In the navigation panel of the Kibana dashboard, click the Discover tab.
  4. Create a filter to retrieve logs for Argo CD. The following steps create a filter that retrieves logs for all the pods in the openshift-gitops namespace:

    1. Click Add a filter +.
    2. Select the kubernetes.namespace_name field.
    3. Select the is operator.
    4. Select the openshift-gitops value.
    5. Click Save.
  5. Optional: Add additional filters to narrow the search. For example, to retrieve logs for a particular pod, you can create another filter with kubernetes.pod_name as the field.
  6. View the filtered Argo CD logs in the Kibana dashboard.
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de la documentation Red Hat

Legal Notice

Theme

© 2026 Red Hat
Retour au début