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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...