Skip to content

Commit

Permalink
use config for metricbeat index
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian committed Dec 8, 2021
1 parent b540506 commit 6f10616
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6f10616

Please sign in to comment.