-
I have a rule that is running every minute. I noticed that the logs show this:
The rule runs correctly between 16:53 and 16:54. But i why does it show hits from 16:54 to 16:54? Then it seems that the rule only count the hits from 16:54 to 16:54... Can someone please explain to me why this happens? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The query hits value in the last log line is misleading. It's only representing the most recent query, even though this rule run consisted of multiple queries (broken into time segments). The log line could show cumulative hits, but for whatever reason the author chose to show the most recent queries hits. Regardless, the number of matches is the important metric in that log line. It's saying that neither of the two queries for this rule run found a match. It would depend on the rule type and rule parameters to determine what constitutes a match. Terminology: Hits are the number of records the query found. Example: Suppose you have a rule that only triggers an alert when a record's field value is over 7.0. Result: Hits = 3000 |
Beta Was this translation helpful? Give feedback.
The query hits value in the last log line is misleading. It's only representing the most recent query, even though this rule run consisted of multiple queries (broken into time segments). The log line could show cumulative hits, but for whatever reason the author chose to show the most recent queries hits.
Regardless, the number of matches is the important metric in that log line. It's saying that neither of the two queries for this rule run found a match. It would depend on the rule type and rule parameters to determine what constitutes a match.
Terminology:
Hits are the number of records the query found.
Matches are the number of times the query records exceeded the threshold for the ru…