Dashboards & Visualizations

Execute a Unix script on server A from Splunk Dashboard

nishantmishra21
Engager

I need a info whether there is a way to achieve this.

I forward all the monitoring details for processes from a unix server A, to splunk. The events/data is used to create a dashboard.

To see details, the dashboard servers the purpose. Suppose in the dashboard a process is showing as STOPPED. Can I add a button to again restart the process.
Currently when the process is down , I restart using a unix script, I wish to call the same script from a dash board button.

ANy suggestion if there is something in splunk to support this, or may be any other alternative?

Tags (2)
0 Karma

micahkemp
Champion

You could make use of the REST API to have a cron job on each server search your Splunk instance for its own status, and perform the restart if necessary.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...