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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...