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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...