Hello to all, i want to use the watcher advanced but i am struggling with the syntax.
For example i want to see if there is any traffic on a specific port from a specific host.
The syntax itself should be right, but i do not get what i want...
The interval time is 5m, but i see in the visualization the last 15 minutes is no traffic.
Does anybody know more how to configure my behaviour ?
Hi, try this. Hope it helps Set your interval to be whatever you want the trigger period to be. And set the window_period to be the over what period of time you want to look for it.
without seeing the output of a watch execution, debugging this will be super hard, so we need the output of the execute watch api.
Also, in order to simplify debugging, I highly encourage you to take a look at this blogpost, which shows what you can do to simplify debugging of watches.
One last thing: The should query you are using actually becomes an OR query, you might want to use a filter part instead like Jason showed.
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.