Alerting within Kibana - ES 7.7

Hi Elastic Community!

I am testing out Alerting from Kibana within Elasticsearch 7.7 (feature currently in Beta).

Does anyone know if it is possible to pull specific field information from an Index when an alert, setup in Kibana, is triggered?

The only fields I can access are the following:


I believe this is done using mustache ( but I can't seem to find out what context/template Kibana has available to it to populate the above.

I would like to setup an alert based on metricbeat data:

INDEX metricbeat*
WHEN average()
OF system.filesystem.used.pct
OVER all documents
FOR THE LAST 60 seconds

Send an email of:

Alert {{alertName}}!

Server {{}} has used {{context.value}} percent of storage!



Kind Regards,

Kind Regards,

Hi @Sinnott,

I believe you are correct and that the list of fields you can access is all there is available in the mustache template for a Metric Threshold. I would recommend opening an enhancement request in the Kibana repository to have access to more context attributes from your Metric Threshold alert.


Thanks @mikecote for getting back so quickly! Logged that as an enhancement request in GitHub so fingers crossed.
Really like the direction the platform is going btw and understand alerting in Kibana is in phase 1 of 3 so fingers crossed it gets included in future versions.


1 Like

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