Hi, unfortunately there is no easy way to do this today. We're working on being able to provide this functionality though, hopefully in the short term.
Thank you for your answer. I got around the problem by using an external monitoring tool (nagios plug-in).
Via a request on the API, I get the last events with my two events as filter (the OK and the NOK). If the last event is the 4202 I put the check in "critical", if it is the 4204 I put it in "OK".
on the supervision tool I can refine the check delays, and the triggering of the critical state.
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.