I have created a runtime field (categorical field) in the Datafeed of ml job to use it as an influencer for the anomalies. I am able to find the field in the influencer section but after that when I tried to finish the job, getting the below errors one after another --
[request body.datafeedConfig.fields]: definition for this key is missing
{
"statusCode": 400,
"error": "Bad Request",
"message": "illegal_argument_exception",
"attributes": {
"body": {
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "[Bucket max] cardinality estimate required for [influencers] [response_time_cat] but not supplied"
}
],
"type": "illegal_argument_exception",
"reason": "[Bucket max] cardinality estimate required for [influencers] [response_time_cat] but not supplied"
},
"status": 400
}
}
}
For your use case, I would expect you would get better results by analysing the average response_time ..
The analysis you are doing now will detect low event rate of docs (low_count) - although I do not know the shape of your data, it seems more likely that the value of response_time is an indicator of slow responses, rather than the event rate of documents. Just a thought.
Putting that aside, it appears that the adv wizard is failing at the validation step. Unfortunately this maybe a bug in the UI as you are using quite an old version.
To workaround the UI validations (without upgrading) I recommend that you create the job using Dev Tools. The following creates the job without errors in 8.4 but may need adjusting for 7.11.1
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.