schurd
(Dietmar Schurr)
May 15, 2018, 9:09am
1
Hello,
can I use the content alert condition on a float field, like time_request ?
I want to get an alert if time_request is greater than 60 (seconds).
Right now it does not work:
Field: time_request
Value: >60
Thanks in advance,
Dietmar
Graylog 2.4.4
jochen
(Jochen)
May 15, 2018, 9:33am
2
The alert conditions in Graylog are evaluated in a specific interval for a given time range.
This means, that they don’t work on single messages, but on all messages in that time range.
You could probably build a Field Aggregation Alert condition which checks the maximum value of the “time_request” field over a given time range:
schurd
(Dietmar Schurr)
May 15, 2018, 11:10am
3
Hello,
thanks for the hint. I will check it out and let you know what’s the result.
Dietmar
schurd
(Dietmar Schurr)
May 15, 2018, 11:58am
4
Hello Jochen,
great, it works!
Next question:
How can I add the exact message that triggered the alert into the resulting alert mail?
Wiht backlog I got some mails which are too late, that is, the actual triggering message is not in the backlog.
Thanks in advance,
Dietmar
jochen
(Jochen)
May 15, 2018, 12:33pm
5
As I mentioned before, there are always multiple messages in an alert.
system
(system)
Closed
May 29, 2018, 12:34pm
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.