Dashboards & Visualizations

Brain-Storming: Custom command with use of table based checkboxes

MHibbin
Influencer

Hi,

I was wondering if anyone done something similar to the following:

Currently as part of our solution... I have created a custom command which will, based on the user input on a form, run a custom command/script on the server which modifies a value in CSV lookup (e.g. switches from "Off" to "On", and vice versa). This lookup is then used in the view as a visualisation. This means that users can easily control a specific field on a specific row in a CSV without having to access the CLI (as this is a requirement for this part).

What I wanted to do to enhance this is to have a check box per row of the table (showing the CSV), and then the script will run the custom command for each of the selected rows (i.e. for rows x,y and z change field#5 to "off"/"on"). I can do the script side of it (I think, as I can modify what I already have), however I am not sure where to start in having a check box for each row enabling users to have a more intuatative interface.

Any ideas welcome,

Thanks,

MHibbin

0 Karma

katelynengel
Explorer

Did you ever figure out how to do this? I would be very interested in hearing about your solution.

0 Karma
Get Updates on the Splunk Community!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...