get_task_logs
Retrieve logs for any Airflow task instance by specifying DAG ID, run ID, and task ID. Output is truncated to the system's maximum log line setting.
Instructions
Get logs for a task instance, truncated to AIRFLOW_LOG_MAX_LINES.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| task_id | Yes | ||
| dag_run_id | Yes | ||
| try_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |