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

[Monitoring] Adapt UI code to read from metricbeat-* indices #73864

Open
2 of 14 tasks
chrisronline opened this issue Jul 30, 2020 · 3 comments
Open
2 of 14 tasks

[Monitoring] Adapt UI code to read from metricbeat-* indices #73864

chrisronline opened this issue Jul 30, 2020 · 3 comments
Assignees
Labels
Team:Monitoring Stack Monitoring team

Comments

@chrisronline
Copy link
Contributor

chrisronline commented Jul 30, 2020

Relates to elastic/beats#19747

In an effort to ensure a smooth migration path to the upcoming Agent, we want to adapt all queries in the UI to handle data living in .monitoring-* indices, or metricbeat-* indices. The Beats team is helping us in adapting each stack module to ship directly into metricbeat-* and we need to handle the UI changes to ensure that the UI will work properly.

Work items

@chrisronline chrisronline added the Team:Monitoring Stack Monitoring team label Jul 30, 2020
@chrisronline chrisronline added this to the Stack Monitoring UI 7.10 milestone Jul 30, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@chrisronline
Copy link
Contributor Author

chrisronline commented Jul 31, 2020

I have some updates here.

I have written code that will generate the minimal set of mappings necessary for each stack product. I checked my work by modifying all existing es_archive mapping files to use these new mappings, then ensuring all tests pass.

Elasticsearch: https://gist.github.com/chrisronline/a002d91b51f0fdb1beb1aa2af31718b3
Kibana: https://gist.github.com/chrisronline/abcb27a2cca09fd542ef7b042984f005
Beats: https://gist.github.com/chrisronline/abbbbaf723f21c53a2aaaacc9a44000c
Logstash: https://gist.github.com/chrisronline/23922534b97b3a001d227d3e772cdb16

Using the above, we should be able to add the minimal mappings to metricbeat-*.

@chrisronline
Copy link
Contributor Author

I've updated the above mappings to also account for existing stack monitoring cluster alerts and telemetry code too. There were a few additions as a result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Monitoring Stack Monitoring team
Projects
None yet
4 participants