cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Monitoring a log among 5 minutes on Grail

Raul_CL
Frequent Guest

Hi everyone,
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.

3 REPLIES 3

Mizső
DynaMight Leader
DynaMight Leader

Hi @Raul_CL,

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...

Mizs_0-1699391790284.png

And If you want an problem notification aslo then you shouls create a metric event from log.line.count like this:

Mizs_1-1699392088004.png

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.

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Great workaround @Mizső !!!!:muscle:

The true delight is in the finding out rather than in the knowing.

Raul_CL
Frequent Guest

Thank you very much Mizső.  Your idea worked perfectly.

Featured Posts