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
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...