Docs » Scenarios for monitoring applications and services using Splunk RUM » Scenario: Kai finds the root cause of a user reported error in Splunk RUM for Mobile

Scenario: Kai finds the root cause of a user reported error in Splunk RUM for Mobile πŸ”—

The following scenario features Buttercup Industries, a fictitious e-commerce company.

About this scenario πŸ”—

Buttercup Industries recently launched a mobile application. Kai, a site reliability engineer at Buttercup Industries, uses Splunk RUM for Mobile to monitor releases, find root causes of user reported issues, and measure important metrics. In this scenario, you can learn about how Kai leverages Splunk RUM for Mobile to monitor and improve the experience of the Buttercup Mobile app.

Find the root cause of a user reported error πŸ”—

Sometimes, users report an issue in the app that requires a lot of digging to find the root cause. For example, if a user says the app isn’t working, it can be tricky to find where to start troubleshooting. With Splunk RUM for Mobile, Kai can search for a the specific user session.

Splunk RUM Mobile captures:

  • every screen transition

  • app lifecycle events (app in foreground, background, app start times)

  • network requests

  • app errors and crashes

  • ability to Create custom events

Search for a specific session to identify a user reported error πŸ”—

A user reported that the Buttercup Industries mobile app crashed during the checkout workflow. Kai uses Splunk RUM to trace the user session all the way back to app launch so that they can advise the developers on how to reproduce the issue and fix the root cause.

Kai follows these steps to find a root cause of an error:

  1. Kai opens RUM. From the left navigation panel, they select RUM then Mobile as the source. The following image shows the application summary dashboard which lists key metrics about the health of their application like:

    • App launches, errors, and crashes

    • Network requests and errors

    • App startup time

    • Detectors

    This image shows the Overview page of Splunk RUM for Mobile.
  2. Kai selects See all ButtercupMobile metrics to open the Overview dashboard. The overview page shows a summary of aggregate metrics. From the overview page, Kai can click on any link to open Tag Spotlight.

  3. Kai searches for sessions associated with the custom event userID by applying a filter like in the following image. To learn more, see Create custom events.

  4. Kai finds that there is an issue with an error on the ShoppingCart screen and opens an User session to see more sessions related to the crash. To learn more about User sessions, see User sessions.

  5. Kai reports the error to the development team and outlines the steps to reproduce the crash and components are affected.

Summary πŸ”—

In this scenario, Kai searched for a specific session using filters and reviewed a collection of sessions in Tag Spotlight and User sessions.

To learn more about how you can optimize your experience with Splunk Observability Cloud, see:



Video tutorials and blog articles

Splunk RUM Documentation