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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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