From fef6b057e173ce0b8d1c34ba1f798b9f3ff0b71e Mon Sep 17 00:00:00 2001 From: Kerry Gallagher Date: Mon, 30 Sep 2019 14:34:07 +0100 Subject: [PATCH] [Logs UI / ML] Add partitioning to log entry rate job (#46690) (#46915) * Add partitioning to log rate job --- .../modules/logs_ui_analysis/ml/log_entry_rate.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json index b59042ce2053f..5279b18fb03b3 100644 --- a/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json +++ b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json @@ -8,10 +8,11 @@ { "detector_description": "count", "function": "count", - "detector_index": 0 + "partition_field_name": "event.dataset", + "use_null": true } ], - "influencers": [] + "influencers": ["event.dataset"] }, "analysis_limits": { "model_memory_limit": "10mb" @@ -25,6 +26,6 @@ }, "custom_settings": { "created_by": "ml-module-logs-ui-analysis", - "job_revision": 1 + "job_revision": 2 } }