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
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...