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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...