Alert on Splunk RUM data 🔗
Splunk RUM leverages the Infrastructure Monitoring platform to create detectors and alerts. Configure detectors to alert on your Splunk RUM metrics so that you can monitor and take timely action on alerts associated with your application.
How alerts work in Splunk RUM 🔗
In Splunk RUM for Browser, alerts are triggered on aggregate metrics for the entire application. If you want to create an alert for a page level metric, first create a custom event for the metric, then create an alert for the custom event. To learn more, see Create custom events. If you are new to alerts and detectors, see Introduction to alerts and detectors in Splunk Observability Cloud.
Web vitals have a standard range that denotes good performance. For example, a Largest Contentful Paint (LCP) metric of more than 2.5 seconds might lead to bad user experience on your application. With Splunk RUM, you can create an alert to notify you when your aggregated LCP is more than 2.5 seconds, send a Slack notification to your team, and link to the runbook with the steps on how to remedy the slow LCP.
You can use the following methods and integrations to receive alerts from Splunk RUM:
You can also add a link in your message such as a link to a run book or other troubleshooting information in your organization.
Types of metrics you can alert on 🔗
You can create alerts on the following kind of metrics. For a comprehensive list of all Splunk RUM metrics, see Splunk RUM metrics reference. To learn more about web vitals, see https://web.dev/vitals/ in the Google developer documentation.
Alert trigger conditions 🔗
RUM alert conditions are designed to reduce noise and provide clear, actionable insights on your data. You can configure the sensitivity of the alert to suit your needs.
Configuration example 🔗
The following image shows an example configuration for the fictitious Buttercup Industries that sends an alert if 50% of the data points in a five minute window are longer than 200 ms.
Increase the sensitivity of your alerts 🔗
If you want an alert that is more sensitive to smaller changes, you can reduce the percentage. For example, if you set your sensitivity to 10%, then you’d be alerted when only 10% of the data in the given time frame crosses the threshold you set.
Create a detector 🔗
You can create a detector from either the RUM overview page or from Tag Spotlight.
Follow these steps to create a detector in RUM:
In Splunk RUM, select a metric that is of interest to you to open Tag Spotlight.
Select Create New Detector.
Configure your detector:
Name your detector
Select the metric that is of interest to you and the type of data
Set the static threshold for your alert
Select the scope of your alert
Select the severity of the alert
Share your alert with others by integrating with the tool your team uses to communicate and adding a link to your runbook.
Create dashboards for your RUM alerts 🔗
You can create dashboards for both web and mobile metrics. To see a list of the metrics available in Splunk RUM, see Splunk RUM metrics reference.
To create charts and dashboard for your RUM alerts and detectors, see: