Debugging frontend errors
How to use Splunk software for this use case
1. Open Splunk RUM's summary screen to view overall client side performance. You’ll notice Frontend Errors by ErrorID in the left side panel. This provides you with the top ten errors by stack trace over a given time period, environment, and application. In this example, you can see the last 15 minutes within all the applications in the pmrum-shop environment. You can see error frequency, with additional context about error type and specific error messages being returned.
2. Click an error. This gives you additional context on total error count and how the error is trending, plus all stack traces collected each time this error has occurred. In the example shown below, ErrorID 8ee768f2 has been selected. You can see that the error has an undefined function, and has occurred 134 times.
3. Click anywhere in the error overview to open Tag Spotlight. This helps you understand common criteria of this error. ErrorID 8ee768f2 occurs on several URLs across your user funnel, but only on Safari version 96.0.4664.45. You can also understand error frequency by country and region to scope the error’s geographical impact.
4. Click Example Sessions. Here you can view the entire transaction across the user session. Splunk Real User Monitoring connects automatically with Splunk APM and throughout the observability suite, so you have end-to-end visibility and context into where the frontend error occurs alongside relevant APM traces from backend services.
5. Click a session ID to view the full transaction. This can help you understand how errors impact customer experience and system performance. Here you can see see ErrorID 8ee768f2 in context of the entire transaction, alongside all trace data.
The content in this guide comes from a previously published blog, one of the thousands of Splunk resources available to help users succeed. In addition, these Splunk resources might help you understand and implement this use case:
- Learning Path: Getting Started with Splunk Real User Monitoring
- Blog: Introducing Splunk Real User Monitoring (RUM)
Still need help with this use case? Most customers have OnDemand Services per their license support plan. Engage the ODS team at OnDemand-Inquires@splunk.