Documentation Index
Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The behavior and format of this command differs depending on what Astronomer product you’re using. Use the following tabs to change product contexts.
- Astro
- APC
Show Airflow component logs over the last 24 hours for a given Deployment on Astro. These are the same logs that appear in the Logs tab of the Astro UI.
Usage
When you filter logs using the command flags
--error,--warn,--info, and--key-word, you can specify only one filter flag per command.Options
| Option | Description | Possible Values |
|---|---|---|
<deployment-id> | The ID of the Deployment to show logs for | Any valid Deployment ID |
-n, --deployment-name | The name of the Deployment to show logs for. Use as an alternative to <deployment-id>. | Any valid Deployment name |
-e,--error | Show only logs with a log level of ERROR | None |
-i,--info | Show only logs with a log level of INFO | None |
--keyword | Search the Deployment logs for a specific keyword or phrase. | None |
-c,--log-count | The number of log lines to show. The default is 500 | Any integer. If you request a number of log lines to show that exceeds the total number of logs, then it shows all existing logs. |
--scheduler | Show logs from the scheduler | None |
--triggerer | Show logs from the triggerer | None |
-w,--warn | Show only logs with a log level of WARNING | None |
--webserver | Show logs from the webserver | None |
--workers | Show logs from the workers | None |
--workspace-id | Specify a Workspace to show logs for a Deployment outside of your current Workspace | Any valid Workspace ID |