I have upgraded ELK from 6.0 to 6.2.1 and im trying to setup my first watcher. How ever it fails. following is the error.
"{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [.watches] as the final mapping would have more than 1 type: [watch, doc]"
}
],
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [.watches] as the final mapping would have more than 1 type: [watch, doc]"
},
"status": 400
}"
Can you share the output of (one of them should return something on 6.0)
GET _template?filter_path=**.template
GET _template?filter_path=**. index_patterns
I am especially interested if there is a watches index template. if that is the case you could try to delete that one together with the triggered_watches template. If you then delete your .watches index, you should be able to put a watch again.
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.