Hi All,
Please help me how to define a watcher in Elasticsearch for the following issue:
It should fire an email in case of there are no new records in index_a, but there are more than zero new records in index_b in the last hour.
Thanks.
Hi All,
Please help me how to define a watcher in Elasticsearch for the following issue:
It should fire an email in case of there are no new records in index_a, but there are more than zero new records in index_b in the last hour.
Thanks.
Hey,
you can use the chained
input two execute two search
inputs and then have a script
condition that checks the hit count for both.
Hope this helps!
--Alex
Thanks.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.