libbeat: increase total_fields.limit to 12500 - #41640
Merged
Merged
Conversation
Contributor
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Contributor
|
|
It increased the `index.mapping.total_fields.limit` from `10000` to `12500` in order to avoid ingestion failures caused by too many field in the index. Since 8.15.0 the limit started to be hit. The field count being exceeded is on the index, counting all mapped fields and the dynamic fields. That's why a small event might trigger the error, the event contains new fields to be mapped which would exceed the total field limit if mapped.
AndersonQ
force-pushed
the
3786-field-limit-exceed
branch
from
November 14, 2024 11:07
7f2e12b to
e5ec5a0
Compare
Contributor
|
Looks like you need also to change beats/libbeat/template/load_test.go Line 173 in 367d94e |
leehinman
approved these changes
Nov 14, 2024
belimawr
approved these changes
Nov 15, 2024
mergify Bot
pushed a commit
that referenced
this pull request
Nov 18, 2024
* libbeat: increase index template total_fields.limit to 12500 It increased the `index.mapping.total_fields.limit` from `10000` to `12500` in order to avoid ingestion failures caused by too many field in the index. Since 8.15.0 the limit started to be hit. The field count being exceeded is on the index, counting all mapped fields and the dynamic fields. That's why a small event might trigger the error, the event contains new fields to be mapped which would exceed the total field limit if mapped. (cherry picked from commit 42dd93b) # Conflicts: # CHANGELOG.asciidoc
3 tasks
mergify Bot
pushed a commit
that referenced
this pull request
Nov 18, 2024
* libbeat: increase index template total_fields.limit to 12500 It increased the `index.mapping.total_fields.limit` from `10000` to `12500` in order to avoid ingestion failures caused by too many field in the index. Since 8.15.0 the limit started to be hit. The field count being exceeded is on the index, counting all mapped fields and the dynamic fields. That's why a small event might trigger the error, the event contains new fields to be mapped which would exceed the total field limit if mapped. (cherry picked from commit 42dd93b) # Conflicts: # CHANGELOG.asciidoc
3 tasks
1 task
Member
|
There is a planned 8.15.5 with feature freeze on Nov 19 |
Member
|
Added 8.15 backport label |
mergify Bot
pushed a commit
that referenced
this pull request
Nov 18, 2024
* libbeat: increase index template total_fields.limit to 12500 It increased the `index.mapping.total_fields.limit` from `10000` to `12500` in order to avoid ingestion failures caused by too many field in the index. Since 8.15.0 the limit started to be hit. The field count being exceeded is on the index, counting all mapped fields and the dynamic fields. That's why a small event might trigger the error, the event contains new fields to be mapped which would exceed the total field limit if mapped. (cherry picked from commit 42dd93b) # Conflicts: # CHANGELOG.asciidoc
3 tasks
pierrehilbert
pushed a commit
that referenced
this pull request
Nov 19, 2024
…41657) * libbeat: increase total_fields.limit to 12500 (#41640) * libbeat: increase index template total_fields.limit to 12500 It increased the `index.mapping.total_fields.limit` from `10000` to `12500` in order to avoid ingestion failures caused by too many field in the index. Since 8.15.0 the limit started to be hit. The field count being exceeded is on the index, counting all mapped fields and the dynamic fields. That's why a small event might trigger the error, the event contains new fields to be mapped which would exceed the total field limit if mapped. (cherry picked from commit 42dd93b) # Conflicts: # CHANGELOG.asciidoc * adjust changelog * fix changelog --------- Co-authored-by: Anderson Queiroz <anderson.queiroz@elastic.co>
AndersonQ
added a commit
that referenced
this pull request
Nov 19, 2024
…#41672) It increased the `index.mapping.total_fields.limit` from `10000` to `12500` in order to avoid ingestion failures caused by too many field in the index. Since 8.15.0 the limit started to be hit. The field count being exceeded is on the index, counting all mapped fields and the dynamic fields. That's why a small event might trigger the error, the event contains new fields to be mapped which would exceed the total field limit if mapped. (cherry picked from commit 42dd93b) --------- Co-authored-by: Anderson Queiroz <anderson.queiroz@elastic.co>
AndersonQ
added a commit
that referenced
this pull request
Nov 22, 2024
…#41656) It increased the `index.mapping.total_fields.limit` from `10000` to `12500` in order to avoid ingestion failures caused by too many field in the index. Since 8.15.0 the limit started to be hit. The field count being exceeded is on the index, counting all mapped fields and the dynamic fields. That's why a small event might trigger the error, the event contains new fields to be mapped which would exceed the total field limit if mapped. (cherry picked from commit 42dd93b) --------- Co-authored-by: Anderson Queiroz <anderson.queiroz@elastic.co>
2 tasks
antoineco
added a commit
to deviantony/docker-elk
that referenced
this pull request
Mar 10, 2025
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 035a0e7, but it was since raised to 1250 upstream in v8.16.2 (elastic/beats#41640), making that configuration unnecessary. Ref. #1059
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
libbeat: increase index template total_fields.limit to 12500
It increased the
index.mapping.total_fields.limitfrom10000to12500in order to avoid ingestion failures caused by too many field in the index. Since 8.15.0 the limit started to be hit.The field count being exceeded is on the index, counting all mapped fields and the dynamic fields. That's why a small event might trigger the error, the event contains new fields to be mapped which would exceed the total field limit if mapped.
Checklist
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
Whereas the
index.mapping.total_fields.limitmight impact Elasticsearch's performance, see here, we do not anticipate any significant impact.How to test this PR locally
check for errors
Follow the tutorial for system metrics integration: https://YOUR_CLUSTER/app/home#/tutorial/systemMetrics
check the new index settings
you should get an answer like:
{ ".ds-metricbeat-9.0.0-2024.11.14-000001": { "settings": { "index": { "mapping": { "total_fields": { "limit": "12500" } },without the fix, it'd be
10000.Related issues
Logs
error log before the fix: