Splunk Dev

Limit Splunk RUM coverage to a specific JS file

Peterswallow
New Member

I need to run a small JavaScript file (main.js) across multiple websites.

These websites may or may not have Splunk RUM already running on them.

Can I package the Splunk RUM SDK into my main is, so it only collects data/stats from my main.js only, rather than collecting it from the entire HTML page?

For example I don't want it to collect all the API calls or JavaScript errors from the whole page, just my small bit.

 

Thanks

Labels (2)
Tags (3)
0 Karma
Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...