I'm monitoring a log file for outcome of an operation. Let's call the outcomes A vs B. I parse the A or B from the log entry.
I would like to alert if the ratio of A vs B over a period of time goes above a threshold.
For example over a 15 minute period of time, I get 100 log messages. 60 of them are A outcomes and 40 of them are B outcomes. This would be a 6 to 4 (1.5 decimal) ratio of A to B. I would like to alert if this ratio was to get above 9 to 3 (3.0 decimal).
Please sign in to leave a comment.