Removing Airflow task logs

后端 未结 6 1890
走了就别回头了
走了就别回头了 2021-02-03 19:52

I\'m running 5 DAG\'s which have generated a total of about 6GB of log data in the base_log_folder over a months period. I just added a remote_base_log_folder

6条回答
  •  暖寄归人
    2021-02-03 20:30

    Please refer https://github.com/teamclairvoyant/airflow-maintenance-dags

    This plugin has DAGs that can kill halted tasks and log-cleanups. You can grab the concepts and can come up with a new DAG that can cleanup as per your requirement.

提交回复
热议问题