Dashboards & Visualizations

How to make a Drill Down with the Status Indicator Icons?

danielgp89
Path Finder

Hello!

I'm son desperate about how to make drill down with the status indicator icons! I already read in another links about a temporally fix of this, but its not working for me. It suppose that I need to create a JAVASCRIPT in the
$SPLUNK_HOME/etc/apps/app_name/appserver/static/

And then in the XML of my dashboard call the Script.
dashboard script="filename.js"

Then in the panel name
panel id="something"

Then just put this SCRIPT in the path above

// Components to require

var components = [
"splunkjs/mvc/simplexml/ready!",
"jquery"
]; require(components, function(
mvc,
ignored,
$
) {
$('#something').click(function() {
window.open(
'acciones_por_producto',
'_blank' // <- This is what makes it open in a new window.
);
});
});

Does anyone has an idea how to make a drill down with the status indicator, explain it step by step?

Tags (2)
0 Karma
1 Solution

lguinn2
Legend

Have you downloaded the app Splunk 6.x Dashboard Examples? This app provides a number of examples, including the code and tutorial information for each one.

I would start there, as it probably has exactly what you need...

View solution in original post

0 Karma

lguinn2
Legend

Have you downloaded the app Splunk 6.x Dashboard Examples? This app provides a number of examples, including the code and tutorial information for each one.

I would start there, as it probably has exactly what you need...

0 Karma

danielgp89
Path Finder

Hello Iguinn!

I haven't download it!

Thanks for the tip. I will dive in to it.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...