Operators in Watcher Input


(piyush) #1

Hi Team,
i am trying to configure alert where fs.used_p > 60 but it seems "gt" and "gte" conditions is not supported, PFB error.

i tested with fs.used_p = 0, please suggest if we can build such conditions in watcher and how?

nested: QueryParsingException[[match] query does not support [gt]]; }


(Alexander Reelsen) #2


the exception explains that the query type you specified is not suitable for such a query. Please check the range query and its options. Also this is not really a watcher specific question, as it is about writing queries. Many more folks (as it is far more active!) will be able to help you in the elasticsearch forum with such questions.


(system) #3