Dashboards & Visualizations

Passing values to different urls on drilldown

jaimerader
Engager

I have a table that i want to pass values to a url on drilldown. Problem i'm encountering is that the values need to link out to different URLs. Table column contains:

PP12345
AA12345
AA87654
PP87654
AA00098
PP00098

When passing the value the url would need to go to either http://blah/product/PP12345 or http://blah/application/AA12345 depending on the which type it is. Is there a way to make the url dynamic based on the column value??

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Use eval to produce a hidden field called _type with either application or product in it and use http://blah/$row._type$/$row.foo$ in your drilldown.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Use eval to produce a hidden field called _type with either application or product in it and use http://blah/$row._type$/$row.foo$ in your drilldown.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...