From 035a0e798b3f4621e424f41ed353cec17b5798de Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Tue, 1 Oct 2024 13:48:21 +0200 Subject: [PATCH] fix(metricbeat): limit of total fields exceeded The current configuration requires a number of fields which exceeds the default limit of 10000 fields. Ref. #1020 --- extensions/metricbeat/config/metricbeat.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/metricbeat/config/metricbeat.yml b/extensions/metricbeat/config/metricbeat.yml index 1c2b6cb87d..2568e1cf1d 100644 --- a/extensions/metricbeat/config/metricbeat.yml +++ b/extensions/metricbeat/config/metricbeat.yml @@ -15,6 +15,9 @@ metricbeat.autodiscover: - type: docker hints.enabled: true +# With all the modules below enabled, we exceed the default limit of 10000 fields. +setup.template.settings.index.mapping.total_fields.limit: 10200 + metricbeat.modules: - module: elasticsearch hosts: [ http://elasticsearch:9200 ]