diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js b/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js index 8801b2712288a..ff2883df49ff8 100644 --- a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js +++ b/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js @@ -46,7 +46,12 @@ export function esOverviewRoute(server) { ccs, true ); - const mbIndexPattern = prefixIndexPattern(config, 'metricbeat-*', ccs, true); + const mbIndexPattern = prefixIndexPattern( + config, + config.get('monitoring.ui.metricbeat.index'), + ccs, + true + ); const filebeatIndexPattern = prefixIndexPattern( config,