show airflow dag-runs
Syntax
show airflow dag-runs dag-id dag-id
show airflow dag-runs dag-id dag-id | display xml
Description
View the workflow runs generated for a workflow. A workflow run is an instance of executing the series of tasks in a workflow.
Options
|
dag-id dag-id |
Unique ID of the workflow for which the workflow run is executed. |
|
display xml |
View all runs for a workflow in the XML format. |
show airflow dag-runs Output Fields
Table 1 lists the output fields for the show airflow
dag-runs command.
|
Field Name |
Field Description |
|---|---|
|
DAG-Run-ID |
Unique ID assigned to a workflow run. |
|
State |
Execution state of a workflow run. For example, when a workflow run is successfully executed, the state is displayed as Success. When a workflow run fails to execute, the state is displayed as Failed. |
Sample Output
show airflow dag-runs
root@cmgd-66b8c769c4-fbk74> show airflow dag-runs dag-id onboard-infrastructure-0_10_26 DAG-Run-ID State manual__2024-08-22T06:19:49+00:00 failed manual__2024-08-22T08:57:23+00:00 failed manual__2024-08-23T07:26:20+00:00 success manual__2024-08-23T08:58:37+00:00 failed manual__2024-08-26T11:58:11+00:00 failed
show airflow dag-runs dag-id dag-id | display xml
root@cmgd-66b8c769c4-fbk74> show airflow dag-runs dag-id onboard-infrastructure-0_10_26 | display xml
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/24.3I0/junos">
<airflow-dag-runs>
<dag-runs>
<run-id>manual__2024-08-22T06:19:49+00:00</run-id>
<service-order>internal_vpn</service-order>
<state>failed</state>
</dag-runs>
</airflow-dag-runs>
<cli>
<banner></banner>
</cli>
</rpc-reply>Release Information
Command introduced in Juniper Paragon Automation Release 2.2.0.