Our client needs to monitor a log, where the only thing he needs is to know if the log was written or not, among 5 minutes. If the log didn't receive any input in 5 minutes, Dynatrace should alert or show a number (probably 0) in red in a dashboard.
I was wondering if somobody could help me with this request, please.
At this moment the log is already ingesting in Grail.
Solved! Go to Solution.
Maybe it is not the perfect and clean solution but I thnik it can be use in Managed and Saas also.
I would create log meteic like this: Count the log lines with the dimension of log.source. About this metric you could create a table dashboar tile split by log.source. You can set a 5 mins filter to the table and you can colorized the thresholds...
And If you want an problem notification aslo then you shouls create a metric event from log.line.count like this:
I have not tried it, it is an idea. Could you please check it? Please consider the DDU consumption of the log metric.
I hope it helps.