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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...