Dashboards & Visualizations

passing values to prebuilt panels

chiliconbeano
Path Finder

Is there a way to pass a variable value, say a background color value, to a prebuilt panel?  I want to have these panels flexible so that when they are used in various dashboards the color schemes can be consistent within each dashboard.

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Build your prebuilt panels using tokens for the attributes you want to be flexible. Then, in an init block at the start of each dashboard you are adding the panels to, define the token to be the value of the attribute you want.

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Build your prebuilt panels using tokens for the attributes you want to be flexible. Then, in an init block at the start of each dashboard you are adding the panels to, define the token to be the value of the attribute you want.

0 Karma

chiliconbeano
Path Finder

Worked like a charm!!!  Thanks a milllion.

 

0 Karma
Get Updates on the Splunk Community!

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 ...

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 ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...