Dashboards & Visualizations

drilldown to the same window, and focus on the active panel

wheriyanto
Engager

hi,
I have a drill-down behavior that I can't figure out how to do it, but probably you can help me.

There are multiple panels + rows (including hidden panel) in my current dashboard, hence there are some panels that off from the viewing window.

When I click on the field from the top panel, it does drill down or display the hidden panel at the location that it is configured. However, to view it, since it is off from the viewing screen, I have to manually scroll down to the destination/expected panel.

Similar behavior in HTML, using the following:
&lta href="#target_panel"&gt
&lt name="target_panel"&gt

Is there a way that I can redirect the page to show the drilled down panel (auto focus) in Splunk? If it is, how can I do it.

Thank you

rahul_jasrotia
Path Finder

@wheriyanto - Did you get this to work? Looking for something similar?

0 Karma

DmitryC
Engager

Your panel: div id='tries'...

In your JS function that calls setToken (something.on("click", function(e)) add:
window.location.hash = '#tries';

This will scroll to the element in question, essentially "focusing" it.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...