I am try to do the calculate of the condition part in watcher.
But I have no idea how to do it .
For logstash monitoring index, there have a doc.logstash_stats.events.in and doc.logstash_stats.events.out.
How could I do subtraction between this to value and that is the value is less than 1000 or something, then return true?
There have two field named "logstash_stats.events.in" and "logstash_stats.events.out" in the .monitoring-logstash index.
I would like to calculate the gap of in and out to make there have no data missing.
But actually I tried to do the subtraction in the condition, but still cannot get it done.
So I try to use script field, also cannot get it.
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.