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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...