All Apps and Add-ons

Is it possible to dynamically remove/add input modules on a dashboard?

aputz
Path Finder

Hello,

I currently have a dashboard (utilizing Sideview Utils)that has inputs laid out in the following format:

[pulldown] [textfield]

[or/and] [pulldown] [textfield]

[or/and] [pulldown] [textfield]

[timerangepicker] [submit button]

What I would like to do is add an option to toggle the subsequent "[or/and] [pulldown] [textfield]" lines in or out of the display. So the user can make the additional lines appear as needed. Maybe it could look similar to this:

[pulldown] [textfield] [+/-]

[or/and] [pulldown] [textfield]

The second line above would only appear after the [+/-] is toggled on or off.

I'm not sure if there was a way to use modules already in splunk or in sideview utils that could help add this functionality.

Thank you very much for any feedback regarding this capability!

0 Karma

sideview
SplunkTrust
SplunkTrust

Certainly it's possible but it would require writing a fairly delicate customBehavior. Among the Splunk core modules, there are some modules dedicated to the 'report builder', and you'll see in that interface there is a way to create timecharts with multiple series -- essentially that code is doing this same thing -- inserting and subtracting modules from the hierarchy at runtime.

I don't know of any app yet that's done this with Sideview Utils but send me an email and I'll make some time to add an example of such a customBehavior into the Utils documentation.

0 Karma
Get Updates on the Splunk Community!

Index This | Divide 100 by half. What do you get?

November 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...

Splunk and Fraud

Watch Now!Watch an insightful webinar where we delve into the innovative approaches to solving fraud using the ...