From 8e2f500b9c5ffcd69c2047aeb43e5aa24748dd07 Mon Sep 17 00:00:00 2001 From: weslambert Date: Thu, 6 Jan 2022 11:24:04 -0500 Subject: [PATCH] Add config option for ECS compatibility (default of disabled) --- salt/logstash/etc/logstash.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/logstash/etc/logstash.yml b/salt/logstash/etc/logstash.yml index 8f8dcec81..2a952c754 100644 --- a/salt/logstash/etc/logstash.yml +++ b/salt/logstash/etc/logstash.yml @@ -219,6 +219,8 @@ path.logs: /var/log/logstash # path.plugins: [] {% set pipeline_workers = salt['pillar.get']('logstash_settings:ls_pipeline_workers', '1') %} {% set pipeline_batch = salt['pillar.get']('logstash_settings:ls_pipeline_batch_size', '125') %} +{% set pipeline_ecs_compatibility = salt['pillar.get']('logstash_settings:ls_ecs_compatibility', 'disabled') %} pipeline.workers: {{ pipeline_workers }} pipeline.batch.size: {{ pipeline_batch }} +pipeline.ecs_compatibility: {{ pipeline_ecs_compatibility }}