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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...