All Apps and Add-ons

How to create a pulldown menu with fields that launch a new page with dashboards and charts?

hyahmadi
Explorer

hello,
I need to launch a new page which contains dashboards and charts from a pull down selection. How can I do that exactly and how can I assign a new view for each field on the pulldown menu?
I asking also if there is a way to construct pull down imbricated like :
section 1---section 1.1
---section 1.2
section 2---section 2.1
---section 2.2
thanks in advance.

0 Karma

sideview
SplunkTrust
SplunkTrust

You can have $foo$ tokens in the "url" param of the Redirector module. So if the values of the Pulldown options are themselves url's, then this is easily done.

As to getting two levels of hierarchy into a single Pulldown. It can be done but it's often better to break these apart as two pulldowns floated alongside eachother.

If you want to do it anyway, I think you can get the labels right just be fiddling with space chars and/or hyphens. As to how you get two values and two $foo$ tokens coming out at the end, there's a docs page in the Sideview Utils app itself dedicated to this topic. Navigate to

Module Documentation > Form element modules > The Pulldown Module > Pulldown - setting more than one value. You basically pick a separator char, glue the 2+ values together on that separator, and then you use a single ValueSetter downstream. the ValueSetter's "delim" param will break apart the big token for you.

0 Karma
Get Updates on the Splunk Community!

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...