From ab50aaa72dee2c3cb3d6b46fa0f37cd3c474e8ec Mon Sep 17 00:00:00 2001 From: Chris Roberson Date: Tue, 20 Oct 2020 14:49:09 -0400 Subject: [PATCH] Fix bug in logs UI link (#80943) (#81103) Co-authored-by: PavithraCP <31021423+PavithraCP@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- x-pack/plugins/monitoring/server/lib/ccs_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/monitoring/server/lib/ccs_utils.js b/x-pack/plugins/monitoring/server/lib/ccs_utils.js index 649611742df2c..56a6da8e2d0a3 100644 --- a/x-pack/plugins/monitoring/server/lib/ccs_utils.js +++ b/x-pack/plugins/monitoring/server/lib/ccs_utils.js @@ -40,7 +40,7 @@ export function prefixIndexPattern(config, indexPattern, ccs, monitoringIndicesO if (isFunction(config.get)) { ccsEnabled = config.get('monitoring.ui.ccs.enabled'); } else { - ccsEnabled = get(config, 'monitoring.ui.ccs.enabled'); + ccsEnabled = get(config, 'ui.ccs.enabled'); } if (!ccsEnabled || !ccs) {