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

[Stack Monitoring] Align logstash's package mappings #3916

Closed
Tracked by #135379
klacabane opened this issue Aug 1, 2022 · 2 comments · Fixed by #3993
Closed
Tracked by #135379

[Stack Monitoring] Align logstash's package mappings #3916

klacabane opened this issue Aug 1, 2022 · 2 comments · Fixed by #3993
Assignees
Labels
Team:Infra Monitoring UI - DEPRECATED Label for the Infrastructure Monitoring UI team. - DEPRECATED - Use Team:obs-ux-infra_services v8.5.0

Comments

@klacabane
Copy link
Contributor

klacabane commented Aug 1, 2022

Summary

Align the logstash package mappings with the metricbeat ones (.monitoring-logstash-mb).

Steps to get the deltas:

Interpreting delta

Because the collection modes differs some differences in the mappings are expected:

  • +data_stream.* - only appears in agent-collected data
  • +event.(agent_id_status|ingested) - only appears in agent-collected data, defined by .fleet_agent_id_verification-1 component template
  • -metricset.* - only appears in metricbeat-collected data

Besides these properties any other delta should be patched:

  • for ecs properties like event.* or service.* every metric data streams' ecs.yml of the package should be updated. be careful not to patch the logs data streams as these will be handled separately
  • for metricset-specific deltas like indices_stats or kibana_stats, only the corresponding data stream package-fields.yml should be updated. It can be found by searching for the term in the corresponding metricbeat module as the field will be documented in either the reference document or the fields in the _meta folder

See documentation to update packages locally

AC

  • when running the diff for logstash mappings, only the expected delta are showing up
  • Stack Monitoring's Logstash views are all powered by agent-collected metrics
@klacabane klacabane added v8.5.0 Team:Infra Monitoring UI - DEPRECATED Label for the Infrastructure Monitoring UI team. - DEPRECATED - Use Team:obs-ux-infra_services labels Aug 1, 2022
@klacabane klacabane self-assigned this Aug 9, 2022
@klacabane
Copy link
Contributor Author

Mappings alignment blocked by elastic/kibana#138596

@klacabane
Copy link
Contributor Author

Not a blocker anymore since there is a way to define nested properties, still look like a bug elastic/kibana#138596 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Infra Monitoring UI - DEPRECATED Label for the Infrastructure Monitoring UI team. - DEPRECATED - Use Team:obs-ux-infra_services v8.5.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant