Open AndersonQ opened 2 days ago
This pull request does not have a backport label. If this is a bug or security fix, could you label this PR @AndersonQ? 🙏. For such, you'll need to label your PR with:
To fixup this pull request, you need to add the backport labels for the needed branches, such as:
backport-8./d
is the label to automatically backport to the 8./d
branch. /d
is the digitbackport-8.x
has been added to help with the transition to the new branch 8.x
.
If you don't need it please use backport-skip
label and remove the backport-8.x
label.
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
Proposed commit message
This new test will start failing when the metricbeat mapping has increased to the point it isn't possible to add a new event with 500 dynamically mapped fields. It should act as a safe guard to prevent us from releasing a version where the static mapping is too close to the total fields limit.
Checklist
[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
How to test this PR locally
x-pack/metricbeat
cd x-pack/metricbeat
go build .
metricbeat.yml
to point to your stack and make sure to includesetup.kibana.host
./metricbeat setup
index.mapping.total_fields.limit
for the metricbeat index template:your-kibna/app/management/data/index_management/templates/metricbeat-9.0.0
metricbeat-9.0.0
> Manage > Edit > 3 Index settingsindex.mapping.total_fields.limit
to 10000:Related issues