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!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...