Allow setting per-field limit for a dynamically mapped field #118223
Labels
>enhancement
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Description
In this PoC, we are adding a field with dynamic mapping to save alert grouping information. We would like to add a guardrail to ensure the number of dynamically added fields does not exceed the threshold, similar to
index.mapping.total_fields.limit
but at the field level.For example, in the mentioned PoC, we would like to limit the number of dynamically mapped fields in the
kibana.alert.grouping
object to, let's say, 25 (despite having 100 fields available before reaching the index mapping limit).The text was updated successfully, but these errors were encountered: