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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...