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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

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

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...