Open chrisronline opened 3 years ago
Pinging @elastic/stack-monitoring (Team:Monitoring)
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-*
.
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
Relates to https://github.com/elastic/beats/pull/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, ormetricbeat-*
indices. The Beats team is helping us in adapting each stack module to ship directly intometricbeat-*
and we need to handle the UI changes to ensure that the UI will work properly.Work items
Update mappings to ensure we only map the fields used by the Stack Monitoring UI-> https://github.com/elastic/kibana/pull/76008Adapt UI code to read ES-> https://github.com/elastic/kibana/pull/76015node_stats
frommetricbeat-*
index_stats
frommetricbeat-*
-> https://github.com/elastic/kibana/pull/90838indices_stats
frommetricbeat-*
-> https://github.com/elastic/kibana/pull/90838job_stats
frommetricbeat-*
-> https://github.com/elastic/kibana/pull/90838shard
frommetricbeat-*
-> https://github.com/elastic/kibana/pull/90838ccr_stats
frommetricbeat-*
-> https://github.com/elastic/kibana/pull/90838kibana_stats
frommetricbeat-*
logstash_stats
frommetricbeat-*
logstash_settings
frommetricbeat-*
beats_stats
frommetricbeat-*
beats_state
frommetricbeat-*
metricbeat-*