airflow icon indicating copy to clipboard operation
airflow copied to clipboard

Improve audit log

Open potiuk opened this issue 3 years ago • 0 comments

Discussed in https://github.com/apache/airflow/discussions/25638

See the discussion. There are a couple of improvements that can be done:

  • add atribute to download the log rather than open it in-browser
  • add .log or similar (.txt?) extension
  • sort the output
  • possibly more

Originally posted by V0lantis August 10, 2022

Apache Airflow version

2.3.3

What happened

The audit log link crashes because there is too much data displayed.

What you think should happen instead

The windows shouldn't crash

How to reproduce

Display a dag audit log with thousand or millions lines should do the trick

Operating System

NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/"

Versions of Apache Airflow Providers

apache-airflow-providers-amazon==4.0.0
apache-airflow-providers-celery==3.0.0
apache-airflow-providers-cncf-kubernetes==4.1.0
apache-airflow-providers-datadog==3.0.0
apache-airflow-providers-docker==3.0.0
apache-airflow-providers-ftp==3.0.0
apache-airflow-providers-github==2.0.0
apache-airflow-providers-google==8.1.0
apache-airflow-providers-grpc==3.0.0
apache-airflow-providers-hashicorp==3.0.0
apache-airflow-providers-http==3.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-jira==3.0.0
apache-airflow-providers-mysql==3.0.0
apache-airflow-providers-postgres==5.0.0
apache-airflow-providers-redis==3.0.0
apache-airflow-providers-sftp==3.0.0
apache-airflow-providers-slack==5.0.0
apache-airflow-providers-sqlite==3.0.0
apache-airflow-providers-ssh==3.0.0
apache-airflow-providers-tableau==3.0.0
apache-airflow-providers-zendesk==4.0.0

Deployment

Official Apache Airflow Helm Chart

Deployment details

k8s

Anything else

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

potiuk avatar Aug 10 '22 13:08 potiuk