Dashboards & Visualizations

token usage in dashboards - setting both earliest.tok and latest.tok in one dropdown choice value

beataficek
Engager

Hi, 

This configuration is working well for me, but I am wondering if it is possible to set both earliest and latest value - e.g. to set up "Yesterday" as a choice, I would need earliest=-1d@d latest=@d, but the config below only allows to set up $earliest.tok$ with latest=now. 

beataficek_0-1613684350996.png

snippet from "Conditional operations with form inputs"

 https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/tokens

Many thanks,

Bea

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Under each condition, you can also set latest_tok to be the corresponding value simply by including an additional set element.

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Under each condition, you can also set latest_tok to be the corresponding value simply by including an additional set element.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...