Dashboards & Visualizations

How to troubleshoot why I am unable to pass a token from the URL when drilling down to an HTML dashboard?

Guitaraholis
Explorer

hay all,

Trying to do a drill down to an html dashboard....I've been unable to get a token value working if its in the html i.e

<h4>Video Drilldown : $foo$ </h4> where the URL has ?foo=bar does NOT set the value....
I've looked at the example here and it doesn't seem to suggest anything extra to make tokens work in the HTML.... http://dev.splunk.com/view/SP-CAAAEVW ... I also found this Splunk Answers post that's specific to Splunk 6.1 ... I'm on 6.5 and seeing this issue with the token not being substituted....
https://answers.splunk.com/answers/112509/simple-xml-token-not-substituted-within-href-attribute.htm...

Also to note, every other search on the dashboard (which was a Simple XML > HTML converted dashboard) is populated with a token from the URL and it works fine....

Even looked at the example here http://dev.splunk.com/view/SP-CAAAEVW & previous questions on a bug with Splunk 6.1 here https://answers.splunk.com/answers/112509/simple-xml-token-not-substituted-within-href-attribute.htm...

Essentially, no matter where I put the token in the html, it is not converted to its string that is contained in the URL bar.

0 Karma
1 Solution

Guitaraholis
Explorer

Changed back to a form view with embedded HTML section & set the tokens in the dashboard using conditional evals from the drilldown base search

View solution in original post

0 Karma

Guitaraholis
Explorer

Changed back to a form view with embedded HTML section & set the tokens in the dashboard using conditional evals from the drilldown base search

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...