Dashboards & Visualizations

running a custom command via a button

zubairaizatron
Explorer

hi guys

i want to run a custom splunk command via a button i can put on the dashboard. i want to do it via a visualization and not editing the xml. I want it work like a panel that can be added via the add panel option on the dashboard. i know it should be done via the visualizaions.js file in a custom visualization but i would like some help on how to write the visualization_source.js file for it.

 

So the logic is 

button - visualization.js - custom command 

im assuming the command will have to be run via REST

 

any help is appreciated

Labels (2)
0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...