Alerting based on Geographic region

Hi Team,
Can you please help out if its possible to group alerts for a service based on the Geographic region. As we are getting metrics based on Geographic regions, due to business use cases we would like to set alerts for important Geographic regions.

Hi @Arpan_Mondal,

if the geographic region is represented as an aggregatable field in all the documents (e.g. in the labels) then you should be able to use that field as a grouping criterion. Which alert type are you looking at specifically?

Hi @weltenwort ,
Thanks for the quick reply. So here is our scenario, we are running elastic/rumjs in our nextJs application and in the user experience dashboard we get a dashboard for page load distribution by region.
We have alert set on average latency of page loads but we find that due to some outliers our data on focus might be wrong.

Our Goal is to group these alerts based on the Geographical location

I just looked at the data behind the user experience dashboard and it seems that geolocation fields are included. So you could use the field client.geo.country_iso_code or client.geo.region_name as "group by" criterion in a "Custom threshold" rule. That provides a lot of flexibility, but requires slightly more knowledge of the particular metric fields.