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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...