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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

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 ...