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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...