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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...