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!

.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 ...