Error monitoring in Splunk RUM 🔗
The JavaScript Errors metric in RUM show the JavaScript errors (by error ID) which occur most often in your applications. The error ID is created by hashing the associated stack trace, error message, and error type. When you drill into an error, you can see the error type, the error message, associated stack trace, and the trend of the error frequency.
How errors are aggregated 🔗
Errors are aggregated based on the stack trace. The error stack trace contains the error type and error message in the body of the stack trace. The following table outlines the different ways errors are grouped together depending on the situation.
Situation |
How errors are grouped together |
---|---|
Errors have a stack trace |
Errors are grouped by the hash ID of the stack trace |
Errors don’t have a stack trace |
Errors are grouped by the hash ID of the message and error type |
Errors don’t have an error message |
Errors are grouped by the hash ID of the error type |
The error ID can represent:
hash ID of a stack trace
hash ID of a message
hash ID of the error type
Find the top JavaScript errors across your applications in Tag Spotlight 🔗
In Splunk RUM, the JavaScript errors view shows the JavaScript errors sorted by page, whereas the metric JavaScript Errors (by error ID) shows the top ten JavaScript errors across your entire application. In the metric Frontend Errors by ErrorID the information is displayed by error type, error ID, then error message.
Open RUM. From the left navigation panel, select RUM and Browser as the source and the application you wan to monitor.
To open Tag Spotlight from either the Application Summary Dashboard, or Overview pages click on any metric.
For example, select See All in the metric JavaScript Errors(by error ID) to explore all of the JavaScript errors in Tag Spotlight.
Learn more 🔗
For more examples on how you can use Tag Spotlight, see Find the root cause of an error using Tag Spotlight.
To learn more about monitoring errors in Splunk RUM for browser, see the use case Identify errors in browser spans.