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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...