Closed mergify[bot] closed 3 days ago
Cherry-pick of 42dd93b99b1088d5a5e5aec7a387333e8aa3d906 has failed:
On branch mergify/bp/8.x/pr-41640
Your branch is up to date with 'origin/8.x'.
You are currently cherry-picking commit 42dd93b99b.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)
Changes to be committed:
modified: libbeat/template/load_test.go
modified: libbeat/template/template.go
Unmerged paths:
(use "git add <file>..." to mark resolution)
both modified: CHANGELOG.asciidoc
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
This pull request has not been merged yet. Could you please review and merge it @AndersonQ? 🙏
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
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:
This is an automatic backport of pull request #41640 done by Mergify.