From 60d83e7bbd71acae9943a625a60b65c7129acba0 Mon Sep 17 00:00:00 2001 From: Monica Sarbu Date: Mon, 31 Jul 2017 11:42:09 +0300 Subject: [PATCH] Add setup.template.settings in the reference.yml files (#4791) --- auditbeat/auditbeat.reference.yml | 6 ++++++ filebeat/filebeat.reference.yml | 6 ++++++ heartbeat/heartbeat.reference.yml | 6 ++++++ libbeat/_meta/config.reference.yml | 6 ++++++ metricbeat/metricbeat.reference.yml | 6 ++++++ packetbeat/packetbeat.reference.yml | 6 ++++++ winlogbeat/winlogbeat.reference.yml | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/auditbeat/auditbeat.reference.yml b/auditbeat/auditbeat.reference.yml index 279d62d0bee4..ee584fd7add2 100644 --- a/auditbeat/auditbeat.reference.yml +++ b/auditbeat/auditbeat.reference.yml @@ -684,6 +684,12 @@ output.elasticsearch: # Overwrite existing template #setup.template.overwrite: false +# Elasticsearch template settings +setup.template.settings: + index.number_of_shards: 1 + index.codec: best_compression + #_source.enabled: false + #============================== Kibana ===================================== # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. diff --git a/filebeat/filebeat.reference.yml b/filebeat/filebeat.reference.yml index 9bc5c28e20ef..23a8cbe70062 100644 --- a/filebeat/filebeat.reference.yml +++ b/filebeat/filebeat.reference.yml @@ -1076,6 +1076,12 @@ output.elasticsearch: # Overwrite existing template #setup.template.overwrite: false +# Elasticsearch template settings +setup.template.settings: + index.number_of_shards: 1 + index.codec: best_compression + #_source.enabled: false + #============================== Kibana ===================================== # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. diff --git a/heartbeat/heartbeat.reference.yml b/heartbeat/heartbeat.reference.yml index 5c0c035a54e0..3ee8cc9b94fb 100644 --- a/heartbeat/heartbeat.reference.yml +++ b/heartbeat/heartbeat.reference.yml @@ -834,6 +834,12 @@ output.elasticsearch: # Overwrite existing template #setup.template.overwrite: false +# Elasticsearch template settings +setup.template.settings: + index.number_of_shards: 1 + index.codec: best_compression + #_source.enabled: false + #============================== Kibana ===================================== # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. diff --git a/libbeat/_meta/config.reference.yml b/libbeat/_meta/config.reference.yml index 4a089c6f364a..420a1d6de137 100644 --- a/libbeat/_meta/config.reference.yml +++ b/libbeat/_meta/config.reference.yml @@ -620,6 +620,12 @@ output.elasticsearch: # Overwrite existing template #setup.template.overwrite: false +# Elasticsearch template settings +setup.template.settings: + index.number_of_shards: 1 + index.codec: best_compression + #_source.enabled: false + #============================== Kibana ===================================== # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. diff --git a/metricbeat/metricbeat.reference.yml b/metricbeat/metricbeat.reference.yml index d9c291f168c6..9361ab4b73c7 100644 --- a/metricbeat/metricbeat.reference.yml +++ b/metricbeat/metricbeat.reference.yml @@ -1043,6 +1043,12 @@ output.elasticsearch: # Overwrite existing template #setup.template.overwrite: false +# Elasticsearch template settings +setup.template.settings: + index.number_of_shards: 1 + index.codec: best_compression + #_source.enabled: false + #============================== Kibana ===================================== # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. diff --git a/packetbeat/packetbeat.reference.yml b/packetbeat/packetbeat.reference.yml index 34663929cdc1..1a4a4de64fc7 100644 --- a/packetbeat/packetbeat.reference.yml +++ b/packetbeat/packetbeat.reference.yml @@ -1072,6 +1072,12 @@ output.elasticsearch: # Overwrite existing template #setup.template.overwrite: false +# Elasticsearch template settings +setup.template.settings: + index.number_of_shards: 1 + index.codec: best_compression + #_source.enabled: false + #============================== Kibana ===================================== # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. diff --git a/winlogbeat/winlogbeat.reference.yml b/winlogbeat/winlogbeat.reference.yml index dd6e8f237abe..4b629eb98dde 100644 --- a/winlogbeat/winlogbeat.reference.yml +++ b/winlogbeat/winlogbeat.reference.yml @@ -649,6 +649,12 @@ output.elasticsearch: # Overwrite existing template #setup.template.overwrite: false +# Elasticsearch template settings +setup.template.settings: + index.number_of_shards: 1 + index.codec: best_compression + #_source.enabled: false + #============================== Kibana ===================================== # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.