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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...