Dashboards & Visualizations

How to drill down from a clicked parameter in a Django generated table to a new view with a different name and different search?

kmattern
Builder

The documentation does not address this question - at least I can't find any info on it.

I have a set of advanced XML dashboards that drill down six deep. That is the requirement and I must stick with it. How do I drill down from a Django generated table to another view with a different name and different search by passing the clicked parameter in the first view? The redirector information I can find does not address this question, or if it does it is so obfuscated that I can't understand it.

0 Karma

vganjare
Builder

Hi,

Can you please try following code:

myCustomTable.on("click", function(e) {
                e.preventDefault();
                console.log("Clicked the table:", e.data);
                window.location.href=<BASE_DASHBOARD_URL>?stream="+encodeURIComponent(e.data['row.Client ID'])+"&job="+encodeURIComponent(e.data['row.End Job Name']);
            });

Here, the e.data['row.Client ID'] is nothing but the value of the specific cell which is present in the selected row.

Thanks !!

0 Karma

vganjare
Builder

Hi,

Is this working for you?

Thanks!!

0 Karma

kmattern
Builder

I no longer work at this location so I can't test it. If I have the opportunity I'll set up something similar at home.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...