[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.
This commit is contained in:
Walter Rafelsberger 2018-07-26 16:32:44 +02:00 committed by GitHub
parent a99140dad4
commit a121550791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",