You can view the real-time logs of applications that are deployed in Kubernetes clusters.

View real-time logs

You can view real-time logs to troubleshoot pod-related problems when an application is abnormal.

  1. Log on to the Enterprise Distributed Application Service (EDAS) console.
  2. Perform one of the following operations as needed to go to the application details page:
    • In the left-side navigation pane, choose Resource Management > Container Service Kubernetes Clusters or Resource Management > Serverless Kubernetes Clusters. In the top navigation bar, select a region. In the upper part of the page, select a namespace. On the Container Service Kubernetes Cluster or Serverless Kubernetes Clusters page, click a cluster ID. In the Applications section of the Cluster Details page, click the name of the application for which you want to view the real-time logs.
    • In the left-side navigation pane, click Applications. In the top navigation bar, select a region. In the upper part of the page, select a namespace. Select Container Service or Serverless Kubernetes Cluster from the Cluster Type drop-down list and click the name of the application for which you want to view the real-time logs.
  3. In the left-side navigation pane, click Logs.
  4. On the Logs page, click the Real-Time Logs tab.
  5. On the Real-Time Logs tab, select the pod for which you want to view the logs from the Pod Name drop-down list.
    You can turn on Automatic Update to update logs every 10 seconds based on your requirements.