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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...