-
Notifications
You must be signed in to change notification settings - Fork 4.9k
libbeat: increase total_fields.limit to 12500 #41640
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
Conversation
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
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.
7f2e12b
to
e5ec5a0
Compare
Looks like you need also to change beats/libbeat/template/load_test.go Line 173 in 367d94e
|
* 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
* 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
There is a planned 8.15.5 with feature freeze on Nov 19 |
Added 8.15 backport label |
* 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
…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 <[email protected]>
…#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 <[email protected]>
…#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 <[email protected]>
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
Proposed commit message
libbeat: increase index template total_fields.limit to 12500
It increased the
index.mapping.total_fields.limit
from10000
to12500
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.
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.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Whereas the
index.mapping.total_fields.limit
might 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:
without the fix, it'd be
10000
.Related issues
Logs
error log before the fix: