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.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...