Dashboards & Visualizations

In-page drilldown from tag cloud

wanling
Path Finder

Based on the example given in the Splunk 6 Dashboard Example app, a click at the text displayed by Tag Cloud will direct the user to the Search page. How to make the click an in-page drilldown to another chart instead?

Tags (2)
0 Karma

jamesg1
New Member

You would probably have to modify tagcloud.js to customise the drilldown action. See the relevant but yet-to-be-modified code snippet below.
http://dev.splunk.com/view/SP-CAAAEME explains what preventDefault() does. Can't find much on the parameters for handleDrillDown().

    events: {
        'click a': function(e) {
            e.preventDefault();
            // Perform automatic drilldown on click on a tag
            Drilldown.handleDrilldown({
                name: this.settings.get('labelField'),
                value: $.trim($(e.target).text())
            }, 'row', this.manager);
        }
    },
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...