Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting per-field limit for a dynamically mapped field #118223

Open
maryam-saeidi opened this issue Dec 8, 2024 · 2 comments
Open

Allow setting per-field limit for a dynamically mapped field #118223

maryam-saeidi opened this issue Dec 8, 2024 · 2 comments
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

Comments

@maryam-saeidi
Copy link
Member

maryam-saeidi commented Dec 8, 2024

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).

@maryam-saeidi maryam-saeidi added >enhancement needs:triage Requires assignment of a team area label Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch labels Dec 8, 2024
@elasticsearchmachine elasticsearchmachine removed the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Dec 8, 2024
@arteam arteam added the :Search Foundations/Mapping Index mappings, including merging and defining field types label Dec 10, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Dec 10, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@maryam-saeidi
Copy link
Member Author

Hi @naj-h @fin-yeates-elastic, any update on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants