Dashboards & Visualizations

How to call web services or open shell by Splunk?

broccolino
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

woodcock
Esteemed Legend

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

0 Karma

woodcock
Esteemed Legend

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

0 Karma

broccolino
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

woodcock
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

broccolino
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
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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...