Dashboards & Visualizations

How to produce a dynamic number of panels in a dashboard based on a form input?

monanimihir
Explorer

I want to create a dashboard which has 'n' number of panels. Value of 'n' will be dependent on form input.

Suppose I want Panels only for "Host 1,2,4,7,9", not all 100 hosts. I want to simply click those hosts to only get 5 panels instead of 100 panels.

I looked at these questions:

https://answers.splunk.com/answers/233458/is-it-possible-to-dynamically-create-multiple-pane.html?ut...

https://answers.splunk.com/answers/11813/how-to-dynamically-generate-a-dashboard-in-which-the-of-pan...

s2_splunk
Splunk Employee
Splunk Employee

You can have panels only show up when a specific token (=Variable) is set, but you would have to predefine the panels that COULD display.
Examples of how to do those depends-on-token visualizations are contained in our Dashboard Examples App

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...