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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...