Troubleshoot React Native instrumentation

Follow these steps to fix instrumentation problems.

When you instrument a React Native application using the Splunk RUM React Native agent and you don't see your data in Splunk Observability Cloud, follow these troubleshooting steps.

Activate debug logging

Activating debug logging can help you to troubleshoot instrumentation issues. To activate debug logging, set enableDebugLogging to true in AgentConfiguration:

JAVA
await SplunkRum.install({
  endpoint: {
    realm: 'your-splunk-realm',
    rumAccessToken: 'your-splunk-access-token',
  },
  appName: 'your-application-name',
  deploymentEnvironment: 'your-environment-name',
  enableDebugLogging: true,
});
Note: Activate debug logging only when needed. Debug mode requires more resources.

If you are a Splunk Observability Cloud customer and are not able to see your data in Splunk Observability Cloud, you can get help in the following ways.

Available to Splunk Observability Cloud customers

Available to prospective customers and free trial users

  • Ask a question and get answers through community support at Splunk Answers.

  • Join the Splunk community #observability Slack channel to communicate with customers, partners, and Splunk employees worldwide.