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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...