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!

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