Tokenization
Tokenization refers to the use of tokens within a dashboard. A token is a placeholder for a value within a dashboard. These placeholders can be dynamically updated within the dashboard. Searches and other objects can access these values using a special syntax. The basic syntax is to surround the token variable name with $
. So, for example, if you defined a TextInputView earlier, and assigned it the token name myText
, then you would reference the value as $myText$
.
There are a few different ways to generate token values within a dashboard. These generally include ways to do the following:
- Define tokens to capture input values for forms.
- Define tokens to specify conditional actions based on the value of the token.
- Define tokens within a ...
Get Splunk Developer's Guide - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.