Dashboards & Visualizations

How to show and hide the rows in a panel based on multiselect drop-down

aditsss
Motivator

Hi Everyone,

I have one requirement

I have multiple dashboards so I have created one multiselect drop-down with hardcoded values:

<fieldset submitButton="false" autoRun="true">
<input type="multiselect" token="OrgName" searchWhenChanged="true">
<label>DashboardName</label>
<choice value="All">All </choice>
<choice value="events">events</choice>
<choice value="abc">abc</choice>
<choice value="marketingforce">marketingforce</choice>
<prefix>(</prefix>
<valuePrefix>DashboardName ="</valuePrefix>
<valueSuffix>"</valueSuffix>
<delimiter> OR </delimiter>
<suffix>)</suffix>
<initialValue>All</initialValue>
<default>All</default>
</input>
</fieldset>

 

My second panel is in tabular form(Statics table)

which consists of multiple rows for different dashboards. I want when I select events from drop-down then only events rows showed appear in that panel and rest rows should hide .

How can I achieve that.

Please let me know if any other information is needed.

Thanks in advance.

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

One can use the depends option to selectively hide rows (of a dashboard), panels, and visualizations, but it cannot be used to hide individual rows/results in a table.  You would need to incorporate the tokens into the search to selectively filter the results.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...