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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...