Getting Data In

Is it possible to initiate a curl command from a dashboard?

bobcatluke
Explorer

Hi all, I created a job in Rundeck that lets you select a Splunk app and a time period, then enables/disables the app and sends an email alert out. I figured out how to initiate the job using command line curl to communicate with the Rundeck rest API.

I have a dashboard in Splunk where you select the app from a drop down then type the time period into a text box. I would like to extract the token values you provide and input them into a curl command, which is then initiated when you press submit.

Does anyone know if this would be possible and if so, how I should go about doing it.

0 Karma

woodcock
Esteemed Legend

Check out this cool new app HTTP Alert Action:
https://splunkbase.splunk.com/app/4585/

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...