Building for the Splunk Platform

Running a script on the Search Head initiated from browser


I have a htmn POST I would like to make from the search head when a user clicks on a button in their browser.

Currently, I am creating a search that runs a custom command.  Due to the nature of the issue, a user can generate 200 events in a few seconds.  As you would expect, I am hitting limits all over the place.

I have a .js that builds the Splunk command to call a custom command that does an HTML POST.  I would like to skip Splunk as I can.  The problem I have is the javascript runs on the local web browser and the POST needs to be on the private network that Splunk is on.  I am taking advantage of Splunk's authentication to run the search, so I would like to do the same with a script.

I am presuming this is either built-in and I missed it, or really hard.  Does anyone have any ideas?

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

Devesh Logendran, Splunk, and the Singapore Cyber Conquest

At this year’s Splunk University, I had the privilege of chatting with Devesh Logendran, one of the winners in ...

There's No Place Like Chrome and the Splunk Platform

WATCH NOW!Malware. Risky Extensions. Data Exfiltration. End-users are increasingly reliant on browsers to ...

Customer Experience | Join the Customer Advisory Board!

Are you ready to take your Splunk journey to the next level? 🚀 We invite you to join our elite squad ...