Dashboards & Visualizations

Can the number of multiselect inputs display different dashboard panels?

shreyasathavale
Communicator

If I have selected 1 option in multiselect box, then it should display 1 panel. If i have 2 values selected in multiselect box as input, then it should display 2 panels. Is there any way to achieve it ?
Queries remain the same

0 Karma

jkat54
SplunkTrust
SplunkTrust

You changed your question :-P. So now the answer is no but yes maybe.

You could make it display 2 panels all the time but only populate the 2nd if more than one was selected. Would be tricky though...

0 Karma

jkat54
SplunkTrust
SplunkTrust

Panel 2 search

 ...| eval panel2bool=if(match($token$,".*(OR|AND).*"),"1","0") | search pane2bool=1| ...

If your token had OR or AND (as typical multi select tokens should) then panel 2 could populate. Otherwise, panel 2 wouldn't populate.

0 Karma

shreyasathavale
Communicator

Thanks for the reply

0 Karma

jkat54
SplunkTrust
SplunkTrust

Yes.

Use token1 for multi select 1 and token2 for multi select 2. Then use $token1$ in panel 1 and $token2$ in panel 2.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...