I am facing issues when I try to use the Elastic alarm option. I basically want to monitor 1 specific event and once it happens I want contents of the event to be inserted into the new index .
Email works fine for me.
Currently I see a new document is added into a new index but without any payload/specific information.
your script does not work as expected. it must ctx.payload.hits.total. Also please share the output of the Execute Watch API
one last tidbit: Please take the time to format your code samples properly. This forum supports markdown and using it will make your posts infinitely more readable. Thanks!
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.