Dashboards & Visualizations

How to add a splunk field to the end of a clickable customer url

Millowster
New Member

Hello all, 

 

I have a dashboard with a field "id" that I want to add to the end of a custom URL that I have defined in the "interactions" on click section.

My Goal is to have this field data added to the end of my custom url and when clicked will load the exact page I need with that value at the end in the browser.

This is what I have tried. I tried to add the "$click.value$" then also tried "=$click.value$" I also tried to put just "$id$" at the end. No results it just loads the URL with my addition as text (does not pull the actual value)

            "eventHandlers": [
                {
                    "type": "drilldown.customUrl",
                    "options": {
                        "url": "https://myURL.com/abcd/=$click.value$",
                        "newTab": true
Labels (4)
0 Karma

Millowster
New Member

OK we got this to work in the Classic dashboard however this drilldown does not work in the new dashboard studio. 

What we use now is the below, with $row.id|n$ filling in the data from the field we want. However in dashboard studio it does not execute $row.id|n$ instead it just thinks it's part of the URL and never inserts the ID#.
{ hxxps://mySplunkcloud/en-US/app/missioncontrol/mc_incident_review#/$row.id|n$ }

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Millowster ,

this (and many others) is the reason because I don't use Dashboad Studio: not all the functions of Classic Dashboard are still implemented.

Ciao.

Giuseppe

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Millowster,

yu have to create a drilldown.

Follow the documentation at https://docs.splunk.com/Documentation/Splunk/9.2.0/Viz/DrilldownIntro .

It's also useful the Splunk Dashboard Examples App (https://splunkbase.splunk.com/app/1603) to understand how to do this.

Ciao.

Giuseppe

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