Dashboards & Visualizations

How to set drilldown each column on dashboard studio?

bkhwang
Explorer
"eventHandlers": [
                {
                    "type""drilldown.customUrl",
                    "options": {
                        "colId""dstip",
                        "url""https://example.com/$row.dstip.value$",
                        "condition""return event.columnId === 'dstip' && event.rawDataRow[event.columnId];",
                        "newTab"true
                    }
                },
                {
                    "type""drilldown.customUrl",
                    "options": {
                        "colId""dst_hostname",
                        "url""https://example.com?query=$row.dst_hostname.value$",
                        "condition""return event.columnId === 'dst_hostname' && event.rawDataRow[event.columnId];",
                        "newTab"true
                    }
                }
            ]

I am using drilldown in the table graph of Dashboard studio, and when there is a row in the table, I want to make the drilldown corresponding to the column only occur when I click the value of the column. How do I do that?

Drilldown of dst_hostname occurs even when the value of dstip is clicked, and drilldown occurs even when the value of a column that is not set is clicked.
Labels (2)
0 Karma

tscroggins
Influencer

Hi,

How did you arrive at the colId and condition options? The only options I see in the Splunk Enterprise Dashboard Studio implementation of drilldown.customUrl are url and newTab. Which version of Splunk are you using?

0 Karma

bkhwang
Explorer

I am currently using the 9.0.2 version and I tried JS's event handlers method.

May I know if there is another way?

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...