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
Motivator

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!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...