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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...