Splunk Search

Activating Hyperlinks in a table based on the fields of the table (Dashboard Studio)

leenaut
Loves-to-Learn

Hello, 

 

I have a table with a column recording the ID, I want to make each ID in the table a Hyperlink and click on it to take me to a different page. I want each provided ID in the table to be concatenated with the begining of the hyperlink that I want to provide as static. 

I tried to use drilldown option in my table and the below code is what I used but it is not working. 

 

 "eventHandlers": [

        {
            "type": "drilldown.setToken",
            "options": {
                "tokens": [
                    {
                        "token": "selection_tok",
                        "key": "click.value"
                    }
                ]
            }
        },
        {
            "type": "drilldown.customUrl",
            "options": {
                "url": "https://(the main part of my url)/$selection_tok$",
                "newTab": true
            }
        }
 
 
I already tried to replace $selection_tok$ with direclty calling $click.value$ and also tried $click.value2$ I tried multiple approaches but it is not pickining out the ID from the table. 
 
 
 
Labels (2)
0 Karma
Get Updates on the Splunk Community!

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...

Want to Reduce Costs, Mitigate Risk, Improve Performance, or Increase Efficiencies? ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...