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!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...