KevinYang21 commented on a change in pull request #5048: [AIRFLOW-3370] Add
stdout output options to Elasticsearch task log handler
URL: https://github.com/apache/airflow/pull/5048#discussion_r277246897
##########
File path: airflow/config_templates/default_airflow.cfg
##########
@@ -592,6 +592,9 @@ hide_sensitive_variable_fields = True
elasticsearch_host =
elasticsearch_log_id_template =
{{dag_id}}-{{task_id}}-{{execution_date}}-{{try_number}}
elasticsearch_end_of_log_mark = end_of_log
+elasticsearch_write_stdout = False
+elasticsearch_json_format = False
+elasticsearch_json_fields = asctime, filename, lineno, levelname, message
Review comment:
We might need some comments around this, e.g. where these fields are from
and how they're gonna be used.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services