fix(metricbeat): limit of total fields exceeded

The current configuration requires a number of fields which exceeds the
current limit. From the Metricbeat event logs:

  Limit of total fields [10200] has been exceeded while adding new
  fields [7]

We raised this limit from its default of 10000 to 10200 in the commit
035a0e798b, but it was since raised to
1250 upstream in v8.16.2 (elastic/beats#41640), making that
configuration unnecessary.

Ref. #1059
This commit is contained in:
Antoine Cotten
2025-03-10 10:45:53 +01:00
parent 02ba8bc0a7
commit ab73727785

View File

@@ -15,9 +15,6 @@ 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 ]