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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...