Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Drill down token in JS

$
0
0
Hi, I have a dashboard with drill down that generate tokens. I am trying to send the tokens into JS, but for some reason i get the message "undefined" (on the console screen). When i try to use tokens that are not from the drill down it is working, but it canceling the drill down tokens. I also tried to replace the default token model with submitted but it didn't work. This is the part of the JS referring to the tokens: // Get the default model var defaultTokenModel = splunkjs.mvc.Components.getInstance("default"); // Get some token from there var token_def = defaultTokenModel.get("tempp"); console.log(token_def); And this is the part of the dashboard with the drill down tokens: $row.Custom$$row.temp$ Thanks very much!!

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>