Dashboards & Visualizations

Can I change the dashboard label dynamically by passing tokens?

renuka
Path Finder

Hello

"Good Day"

I wish to change the dashboard label name dynamically by using tokens.How can we acheive it please help me out with this 

Example

<form>
<label>R COVERAGE &D2-R COVERAGE</label>

i want to pass token results in the label

so when result=TC_result  label should give me R  Coverage Reports

if  result=TC_D2_results label should change to D2 R covergae Reports

 

Thank You

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @renuka,

it's not possible to dinamically change the Dashboard Title Label.

It's possible to display a token in the Panel's Title Labels and in dedicated HTML boxes.

So you could use a standard title for the dashboard and then put in the top of the dashboard an HTML box displaying the title from the token.

Ciao.

Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @renuka,

it's not possible to dinamically change the Dashboard Title Label.

It's possible to display a token in the Panel's Title Labels and in dedicated HTML boxes.

So you could use a standard title for the dashboard and then put in the top of the dashboard an HTML box displaying the title from the token.

Ciao.

Giuseppe

0 Karma

renuka
Path Finder

@gcusello  Thank you for response

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @renuka,

I'm sorry for you!

Ciao and happy splunking.

Giuseppe

P.S.: Karma Points are appreciated 😉

0 Karma
Get Updates on the Splunk Community!

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

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