This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 473452d3b7b0149c89e264dda7b2e5ccf7e0ead0
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Aug 7 19:20:46 2023 +0200

    Add elasticsearch group to pre-2.7 defaults (#33166)
    
    The elasticsearch group is likely to be moved to elasticsearch
    provider. Anticipating that (see #33135) we need to move it to
    pre-2.7 defaults in order to have back-compatibility for providers
    that assume default values to be there.
    
    (cherry picked from commit 2d7460450dda5cc2f20d1e8cd9ead9e4d1946909)
---
 airflow/config_templates/pre_2_7_defaults.cfg | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/airflow/config_templates/pre_2_7_defaults.cfg 
b/airflow/config_templates/pre_2_7_defaults.cfg
index abdef2ee07..2568d42445 100644
--- a/airflow/config_templates/pre_2_7_defaults.cfg
+++ b/airflow/config_templates/pre_2_7_defaults.cfg
@@ -65,6 +65,18 @@ task_track_started = True
 task_publish_max_retries = 3
 worker_precheck = False
 
+[elasticsearch]
+host =
+log_id_template = {dag_id}-{task_id}-{run_id}-{map_index}-{try_number}
+end_of_log_mark = end_of_log
+frontend =
+write_stdout = False
+json_format = False
+json_fields = asctime, filename, lineno, levelname, message
+host_field = host
+offset_field = offset
+index_patterns = _all
+
 [elasticsearch_configs]
 use_ssl = False
 verify_certs = True

Reply via email to