Dashboards & Visualizations

Splunk Dashboard Studio Table Hyperlink on ONE column only

perfeng
Engager

I have a Splunk Dashboard table with data. 

This is the JSON below:

 

 

 

 

 

 

{
    "type": "splunk.table",
    "dataSources": {
        "primary": "ds_zn4Nlcdc"
    },
    "title": "Some title",
    "options": {
        "columnFormat": {
            "name": {
                "width": 109
            },
            "team": {
                "width": 60
            }
        },
        "headerVisibility": "fixed"
    },
    "description": "Some description.",
    "eventHandlers": [
        {
            "type": "drilldown.customUrl",
            "options": {
                "url": "$row.url.value$",
                "newTab": true
            }
        }
    ],
    "context": {},
    "containerOptions": {},
    "showProgressBar": false,
    "showLastUpdated": false
}

 

 

 

 

 

 
I have Event Handlers to reroute to the correct URL when drilling down. BUT the hyperlink is applied to the whole row. I want the hyperlink to be applied to only a specific column so I can have multiple hyperlinks for one row. 

At the moment, I can click any value on the row and I will be routed to $row.url.value$ but I want to click on a specific column and then be routed to that hyperlink specific to that column 

 

Labels (1)
0 Karma

perfeng
Engager

Thank you for the responses. None of the above worked. I think this feature is not available in Splunk Dashboard Studio

0 Karma

Praz_123
Communicator

@perfeng 

Try this 

{
"type": "splunk.table",
"dataSources": {
"primary": "ds_zn4Nlcdc"
},
"title": "Some title",
"options": {
"columnFormat": {
"name": {
"width": 109
},
"team": {
"width": 60
},
"url": {
"drilldown": "customUrl",
"url": "$row.url.value$",
"newTab": true
}
},
"headerVisibility": "fixed"
},
"description": "Some description.",
"eventHandlers": [
{
"type": "drilldown.customUrl",
"options": {
"url": "$row.url.value$",
"newTab": true
}
}
],
"context": {},
"containerOptions": {},
"showProgressBar": false,
"showLastUpdated": false
}

0 Karma

dural_yyz
Motivator
$row.<column-field-name>.value$

Since the token referenced the column field name that is as specific as it gets.  I understand that you want to have multiple columns with unique URL for a reference.  All the documentation at this time points very specifically that you are limited to only one URL per row.

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...