From a121550791d76ee391b377125ef8e5319acdce4f Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Thu, 26 Jul 2018 16:32:44 +0200 Subject: [PATCH] [ML] Improved job validation messages. (#21191) Improvements to job validation messages: - Changed cardinality_over_field_low "might be less suitable" to "might not be suitable". - Fixed documentation URLs. - Extended categorization_filters_invalid message + documentation URL. --- .../ml/server/models/job_validation/messages.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/x-pack/plugins/ml/server/models/job_validation/messages.json b/x-pack/plugins/ml/server/models/job_validation/messages.json index dfb33592c84b..044ee167abc7 100644 --- a/x-pack/plugins/ml/server/models/job_validation/messages.json +++ b/x-pack/plugins/ml/server/models/job_validation/messages.json @@ -2,12 +2,12 @@ "field_not_aggregatable": { "status": "ERROR", "text": "Detector field \"{{fieldName}}\" is not an aggregatable field.", - "url": "https://www.elastic.co/guide/en/x-pack/{{version}}/ml-configuring-aggregation.html" + "url": "https://www.elastic.co/guide/en/elastic-stack-overview/{{version}}/ml-configuring-aggregation.html" }, "fields_not_aggregatable": { "status": "ERROR", "text": "One of the detector fields is not an aggregatable field.", - "url": "https://www.elastic.co/guide/en/x-pack/{{version}}/ml-configuring-aggregation.html" + "url": "https://www.elastic.co/guide/en/elastic-stack-overview/{{version}}/ml-configuring-aggregation.html" }, "cardinality_by_field": { "status": "WARNING", @@ -16,7 +16,7 @@ }, "cardinality_over_field_low": { "status": "WARNING", - "text": "Cardinality of over_field \"{{fieldName}}\" is below 10 and might be less suitable for population analysis.", + "text": "Cardinality of over_field \"{{fieldName}}\" is below 10 and might not be suitable for population analysis.", "url": "https://www.elastic.co/guide/en/kibana/{{version}}/job-tips.html#cardinality" }, "cardinality_over_field_high": { @@ -36,11 +36,12 @@ "categorization_filters_valid": { "status": "SUCCESS", "text": "Categorization filters checks passed.", - "url": "https://www.elastic.co/guide/en/x-pack/{{version}}/ml-configuring-categories.html#ml-configuring-categories" + "url": "https://www.elastic.co/guide/en/elastic-stack-overview/{{version}}/ml-configuring-categories.html" }, "categorization_filters_invalid": { "status": "ERROR", - "text": "The categorization filters are invalid." + "text": "The categorization filters configuration is invalid. Make sure filters are valid regular expressions and \"categorization_field_name\" is set.", + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/{{version}}/ml-job-resource.html#ml-analysisconfig" }, "bucket_span_empty": { "status": "ERROR", @@ -188,7 +189,7 @@ "status": "SUCCESS", "heading": "Model memory limit", "text": "Valid and within the estimated model memory limit.", - "url": "https://www.elastic.co/guide/en/x-pack/{{version}}/ml-gs-job1-manage.html#ml-gs-job1-manage" + "url": "https://www.elastic.co/guide/en/elastic-stack-overview/{{version}}/ml-gs-job1-manage.html" }, "success_time_range": { "status": "SUCCESS",