Dashboards & Visualizations

Value of click.name2 wrong

Fadom1013
Explorer

Hi everybody !

I have a map with points, with values : long, lat and the name of the city 🙂

When the user click of a point i open a dashboard with the name of the city ($click.name2$) clicked

But for the all points the value of click.name 2 are the same 😕 whereas when I fly over the dots, the names are quite different.

I try everything with $click.name$, $click.name2$,  or $click.value$,  $click.value2$,
I do this : 

 

 

<link target="_blank">/app/dashboard_?name=$click.name2$</link> 

 

 

With this query for the map :

 

.
.
.
.
.

| geostats latfield=latitude_dgr longfield=longitude_dgr  count by name

 

 Thanksss 🙂

Labels (3)
0 Karma

dmarling
Builder

click.name and click.value are not the appropriate tokens to use when you are using a cluster map, which is what I am assuming you are using since you are using the geostats command to generate the data for the visualization.  You can simply use $row.name$ as your drill down token since behind the visualization is just a big table and each cluster represents a row.  Now this gets complicated when you have multiple names in a single tile, but I believe it should still be functional depending on your data.

If this comment/answer was helpful, please up vote it. Thank you.

Fadom1013
Explorer

Thank a lot for your reply 🙂

But when i use $row.name$, it's not recognize like a token 😕 :

<link target="_blank">/app/dashboard?name=$row.name$</link>

  

0 Karma

dmarling
Builder

When you pop your query out of the dashboard and you are looking at the table instead of the visualization what is the name of the column that has the data you want in the token?  Also please post the full drilldown part of your xml on the panel just in case.

If this comment/answer was helpful, please up vote it. Thank you.

Fadom1013
Explorer

Thx for your answer, the columns are the name of the cities 🙂 like this :



Capture.PNG

And this is my drilldown xml : 

<drilldown>
        
            <link target="_blank">/app/dashboard?name=$click.name2$</link> 
  </drilldown>
        

So, all my link are dashboard?name=NExxxx :// a single value for all points of the map

thank you !

0 Karma

Fadom1013
Explorer

Same for $row.name_city$, not recognize

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...