this watcher below is not working for me. Whenever I add the password field, it doesn't get saved. I thought it was only hidden, but running the watcher returns: "Watcher: [parse_exception] password is a required option".
I can send other emails with the same default account with no issues, but I can't generate reports if I can't authenticate.
To create the watch, I just used the json in my previous post in the kibana GUI. It doesn't give any syntax error. If I go back to edit the watch, the password field is gone.
the error message from what you pasted is not what you referred to before. Has anything changed? Seems like kibana is not reachable or the mail server.
Experiencing similar issue (we opened a similar ticket on v5.6.3 about 19m after this one was opened - crazy!) - watching both threads for a solution...
Simulating the watcher, before saving it, seems to trigger fine
Once I SAVE the JSON definition, the "password" element in the JSON is parsed out by the Kibana server as it is performing the save action.
Re-opening the watch and attempting to simulate then produces the error:
Watcher: [parse_exception] password is a required option
This seems to be a "feature" as reported here :
So... irritating messaging? Is there anyway to get a different, more explicit, message
indeed, this a feature from watchers GET Watch API, that removes passwords, when data is returned to kibana. In this special case, the credentials should not get removed, as otherwise storing the watch fails - what you are experiencing.
I will work with the UI team on a fix. Sorry for the inconvenience.
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.