Dashboards & Visualizations

Shell script via button click

splunkn
Communicator

Is it possible to call a shell script from dashboard button click.

maurelio79
Communicator

Hi, you need to put the script in bin directory of your app and via javascript get the clicked event and run a splunk search like

| your_script.sh

Maybe you need to cenvert your dashboard in html dashboard.

Have a look also here
https://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Search/Writeasearchcommand

Regards.

0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...