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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...