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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...