I want to track some client side interactions using splunk. I want to know whether it is possible using JavaScript to send some information (logs) to splunk cloud directly ?
Google analytic does the same .
We actually have a Splunk SDK for JavaScript that you can use, and some documentation on dev.splunk.com. You'll want to use service.log() which you can pass a string or JS object, see our example here.
Please let me know if you need further guidance
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With