Dashboards & Visualizations

How to call web services or open shell by Splunk?

New Member

Hi everyone,

I would like to call a web service from a splunk dashboard to a unix machine.

Inside my dashboard I create an XML string that I copy and paste onto the unix machine.

How can I optimize this process?

The purpose is the one that once generated the XML string can send it to my unix machine.

Thank you

0 Karma

Esteemed Legend

You need the HTTP Alert Action app:
https://splunkbase.splunk.com/app/4585/

0 Karma

Esteemed Legend

There are examples like this in the Splunk Dashboard Examples app:
https://splunkbase.splunk.com/app/1603/

0 Karma

New Member

I'm sorry, but I can't find anything there that I can use to resolve my problem.
Please, could you send me something more specific?

0 Karma

Esteemed Legend

The description of what you need is very unclear. Be as specific as possible and we might be able to help.

0 Karma

New Member

I'm so sorry if I wasn't so clear.
I made an xml string and it has to be sent to the vm unix which it has to call the web service.
As you can see from the attached file, I suppose that's the better way to do this process but I'm not able to do the customscript.
Could you be able to explain to me how to solve my problem?

https://ibb.co/HP9qBk2

0 Karma