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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...