From 6f1ecd38f22d909a57f291972ba6f7118ed7fb67 Mon Sep 17 00:00:00 2001 From: shahzad Date: Fri, 24 Apr 2020 08:22:47 +0200 Subject: [PATCH] fixed issue --- x-pack/legacy/plugins/uptime/public/state/api/ml_anomaly.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/uptime/public/state/api/ml_anomaly.ts b/x-pack/legacy/plugins/uptime/public/state/api/ml_anomaly.ts index 3ca783f7dacfc..2dc8323fd65a0 100644 --- a/x-pack/legacy/plugins/uptime/public/state/api/ml_anomaly.ts +++ b/x-pack/legacy/plugins/uptime/public/state/api/ml_anomaly.ts @@ -61,7 +61,7 @@ export const createMLJob = async ({ query: { bool: { filter: [ - { term: { 'monitor.id': lowerCaseMonitorId } }, + { term: { 'monitor.id': monitorId } }, { range: { 'monitor.duration.us': { gt: 0 } } }, ], },