Custom messages using monitors in Kibana

Good afternoon :smiley:
I need some help.

I have an active monitor alert that works perfectly, but when the trigger is set, we get a simple email message from Kibana.

I assume that message can be customed using something called “moustache” but to be honest, I don’t know how to do it.

This is my message right now:

Monitor {{ctx.monitor.name}} just entered alert status.
A KPI error in PRO has just arrived. Please check the dashboard in “Operations” tenant called “Dashboard_all_kpi”

  • Trigger: {{ctx.trigger.name}}
  • Severity: {{ctx.trigger.severity}}
  • Period start: {{ctx.periodStart}}
  • Period end: {{ctx.periodEnd}}

But I would love to customize it a little bit. For example, in my logs I have lots of fields and it would be really helpful if I can add them to the message. For example, the trigger jumps when a filed called “ds_state” result is “failed” more than 3 times per hour. I would like to the sending message to tell me how many times I got that result.

Or from what index pattern, or even include other fields that exist in the logs.

Any ideas?

Thanks!!!

Hello? Any ideas please?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.