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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...