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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...