Dashboards & Visualizations

Populate Dashboard name from a token value of a drop down

nagar57
Communicator

I have a dropdown which have team names. Now I want to populate the Dashboard name with the selected team names from the dropdown. I have already tried putting token name of the dropdown in Dashboard name but it was not working.
Is it possible to do so?

0 Karma

niketn
Legend

@nagar57 refer to this workaround which may be used to

1) Hide Title in your dashboard provided by Splunk
2) Create first row with html panel containing your dashboard title
3) Use token in the html panel

https://answers.splunk.com/answers/712013/how-do-you-display-the-date-in-a-dashboard-title.html

Please try out and confirm!

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

nareshinsvu
Builder

If I am not wrong, Dashboard name comes first and then you select your dropdown values. right? Based on the selected dropdown value, it's not easy to change the dashboard name.

Rather, you can assign that select value to a token (say selected_dropdown) and use it in the underlying table/panel title. Something like this?

 <row>
    <panel>
      <title>Dropdown value is $selected_dropdown$ </title>
0 Karma

nagar57
Communicator

Thanks for looking into this. But this is not what I wanted.
Just like we can populate the panel title with a token value I want to populate the Dashboard name i.e. <label>$token_value My Dashboard</label> Something like this.

0 Karma

nareshinsvu
Builder

Did you check this post of @niketnilay . if it helps, upvote his original post buddy 🙂

https://answers.splunk.com/answers/712013/how-do-you-display-the-date-in-a-dashboard-title.html

nagar57
Communicator

I tried this but while hiding the default label I am not able to see Edit and Export options.

0 Karma

nareshinsvu
Builder

Because that is part of the title. You can anyways edit the source/panels under Dashboards -> Actions (of your dashboard) -> Edit

Did your dashboard name populated from a token value? - which is your actual requirement

0 Karma

nagar57
Communicator
0 Karma

niketn
Legend

@nagar57 please add more details to your issue for the community to assist you better. What is the source of data for Team name, Dashboard Name? and what is the correlation? Can you add some data for the two?

Also what is the SPL you have tried? What do you mean by not working? Are you getting no data or error?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

nagar57
Communicator

@niketnilay Just like we can populate the panel title with a token value I want to populate the Dashboard name i.e. <label>$token_value My Dashboard</label> Something like this.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...