Back to Floor
The Dashboard Workshop • Room 2

Tokens & Drilldowns

Tokens are dynamic variables in dashboards that let users interact with the data. A time picker, dropdown, or text input sets a token value, and panels use that token in their searches.

For example, a dropdown with token name `selected_host` could filter all panels: `index=main host=$selected_host$`.

Drilldowns let users click on a chart element to navigate to another dashboard, a search, or a URL. This creates an interactive, exploratory experience.

Token usage in a search
index=main sourcetype=$selected_sourcetype$ | stats count by host

Knowledge Check

Prove your understanding to clear the room (Rewards XP)
Complete the SPL to use a token called "chosen_index" in a dashboard panel search:
index= status=error | stats count by source