View Airflow logs

Managed Airflow (Gen 3) | Managed Airflow (Gen 2) | Managed Airflow (Legacy Gen 1)

This page describes how to access and view Apache Airflow logs for Managed Service for Apache Airflow.

About log types

Managed Service for Apache Airflow has the following Airflow logs:

  • Streaming logs. These logs contain Airflow task logs, as well as logs of Airflow components of your environment, such as Airflow schedulers and workers.

    To learn about Cloud Logging and Cloud Monitoring for your Managed Airflow environment, see Monitor environments.

  • Managed Service for Apache Airflow generates audit logs, such as Admin Activity logs. For more information, see View audit logs.

Before you begin

  • Managed Airflow (Gen 3) environments don't save Airflow task logs to the environment's bucket. As an alternative, you can configure a sink in Cloud Logging to route logs to any of the supported locations.

    For an example of routing environment logs to a Cloud Storage bucket, see Restrict locations for Managed Airflow logs.

View streaming logs

To view streaming logs in Cloud Logging:

Console

  1. In the Google Cloud console, go to the Environments page.

    Go to Environments

  2. In the list of environments, click the name of your environment. The Environment details page opens.

  3. Go to the Logs tab.

View streaming logs in Cloud Logging

To view streaming logs in Cloud Logging:

Console

  1. In the Google Cloud console, go to the Environments page.

    Go to Environments

  2. In the list of environments, locate your environment.

  3. in the Logs column, click the Logs link.

What's next