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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...