{# Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #} {% extends "airflow/dag.html" %} {% block title %}Dag Audit Log{% endblock %} {%- macro sortable_column(display_name, attribute_name) -%} {% set curr_ordering_direction = (request.args.get('sorting_direction', 'desc')) %} {% set new_ordering_direction = ('asc' if (request.args.get('sorting_key') != attribute_name or curr_ordering_direction == 'desc') else 'desc') %} {{ display_name }} {%- endmacro -%} {% block head_css %} {{ super() }} {% endblock %} {% block content %} {{ super() }}
This view displays selected events and operations that have been taken on this dag. The included and excluded events are set in the Airflow configuration, which by default remove view only actions. For a full list of events regarding this DAG, click here.
{{ sortable_column("Time", "dttm") }} | {{ sortable_column("Task ID", "task_id") }} | {{ sortable_column("Event", "event") }} | {{ sortable_column("Logical Date", "execution_date") }} | Owner | Details |
---|---|---|---|---|---|
{{ log.task_id if log.task_id else None }} | {{ log.event if log.event else None }} | {{ log.execution_date if log.execution_date else None }} | {{ log.owner if log.owner else None }} | {{ log.extra if log.extra else None }} |