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!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...