Hi ,
i have created a scripted field called "duration" which will return in number. and i confirm this scripted field value is showing in Kibana when query.
If i want to show this scripted field value by using watcher, how do do that because i tried many method below, the field value still showing null when send in email:
if it is a scripted field, then the query you are executing in watcher also needs to create such a scripted field. Can you share the query you are running in your watch and if it is querying for such a scripted field as well?
Hi Alex,
below is my scripted field name with "value":
doc['A'].value - doc['B'].value
and below is my watcher, i would like to compare if ctx.payload.hits.total > value then trigger to send email, how i can put this scripted field "value" in watcher .. ?
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.