Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Splunk Developer's Guide, Second Edition

You're reading from   Splunk Developer's Guide, Second Edition Learn the A to Z of building excellent Splunk applications with the latest techniques using this comprehensive guide

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785882371
Length 190 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Kyle Smith Kyle Smith
Author Profile Icon Kyle Smith
Kyle Smith
Marco Scala Marco Scala
Author Profile Icon Marco Scala
Marco Scala
Arrow right icon
View More author details
Toc

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 search string that use values based on previously defined tokens.
  • Splunk Enterprise defines token values that you can access. Defined tokens include tokens for visualizations, time inputs, and labels and values of form inputs.

Okay, so now what? Once...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image