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

filebeat creates mapping explosion with field monitoring.metrics.filebeat.harvester.files #19745

Closed
bsturg opened this issue Jul 8, 2020 · 4 comments
Labels
bug Filebeat Filebeat impact:high Short-term priority; add to current release, or definitely next. Team:Services (Deprecated) Label for the former Integrations-Services team v7.6.0

Comments

@bsturg
Copy link

bsturg commented Jul 8, 2020

  • Version: 7.6.0
  • Operating System: all

With PR #13395 for Filebeat 7.6.0, filebeat added a few new metrics to troubleshoot harvesters. This new feaature can cause a mapping a mapping explosion when the data is loaded into a time series index.

To resolve this issue, use the drop processor to drop monitoring.metrics.filebeat.harvester.files

Example of mapping explosion.

"monitoring.metrics.filebeat.harvester.files.00000aac-6e1e-4dd2-9ea1-bf08d4de9c22",
"monitoring.metrics.filebeat.harvester.files.00000aac-6e1e-4dd2-9ea1-bf08d4de9c22.last_event_published_time",
"monitoring.metrics.filebeat.harvester.files.00000aac-6e1e-4dd2-9ea1-bf08d4de9c22.last_event_timestamp",
"monitoring.metrics.filebeat.harvester.files.00000aac-6e1e-4dd2-9ea1-bf08d4de9c22.name",
"monitoring.metrics.filebeat.harvester.files.00000aac-6e1e-4dd2-9ea1-bf08d4de9c22.read_offset",
"monitoring.metrics.filebeat.harvester.files.00000aac-6e1e-4dd2-9ea1-bf08d4de9c22.size",
"monitoring.metrics.filebeat.harvester.files.00000aac-6e1e-4dd2-9ea1-bf08d4de9c22.start_time",
"monitoring.metrics.filebeat.harvester.files.00007424-866f-42b6-91a6-e0c8151a7817",
"monitoring.metrics.filebeat.harvester.files.00007424-866f-42b6-91a6-e0c8151a7817.last_event_published_time",
"monitoring.metrics.filebeat.harvester.files.00007424-866f-42b6-91a6-e0c8151a7817.last_event_timestamp",
"monitoring.metrics.filebeat.harvester.files.00007424-866f-42b6-91a6-e0c8151a7817.name",
"monitoring.metrics.filebeat.harvester.files.00007424-866f-42b6-91a6-e0c8151a7817.size",
"monitoring.metrics.filebeat.harvester.files.00007424-866f-42b6-91a6-e0c8151a7817.start_time",
"monitoring.metrics.filebeat.harvester.files.0002ba70-2983-4cb9-a666-f43eccd4be0e",
"monitoring.metrics.filebeat.harvester.files.0002ba70-2983-4cb9-a666-f43eccd4be0e.last_event_published_time",
"monitoring.metrics.filebeat.harvester.files.0002ba70-2983-4cb9-a666-f43eccd4be0e.last_event_timestamp",
"monitoring.metrics.filebeat.harvester.files.0002ba70-2983-4cb9-a666-f43eccd4be0e.name",
"monitoring.metrics.filebeat.harvester.files.0002ba70-2983-4cb9-a666-f43eccd4be0e.read_offset",
"monitoring.metrics.filebeat.harvester.files.0002ba70-2983-4cb9-a666-f43eccd4be0e.size",
"monitoring.metrics.filebeat.harvester.files.0002ba70-2983-4cb9-a666-f43eccd4be0e.start_time",

Kibana may also experience an issue when trying to refresh the mapping and requires a restart. The error message seen in kibana is:

error: undefined Response
        at https://kibana-url/bundles/commons.bundle.js:3:1373057
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 8, 2020
@kvch kvch added Team:Services (Deprecated) Label for the former Integrations-Services team and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jul 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@andrewkroh
Copy link
Member

@EthanStrider saw this while using the Metricbeat golang/expvar metricset to monitor Filebeat. It causes a mapping explosion in the metricbeat-* indices.

@LukaszWasko
Copy link

I have also the same problem.

@maggieghamry maggieghamry added the impact:high Short-term priority; add to current release, or definitely next. label Nov 11, 2020
@andrewstucki
Copy link
Contributor

Looks like this was fixed in #19977 and should be available in today's 7.10 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Filebeat Filebeat impact:high Short-term priority; add to current release, or definitely next. Team:Services (Deprecated) Label for the former Integrations-Services team v7.6.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants