Dashboards & Visualizations

Using Tokens in Reports

Bizzaro_Shake
Explorer

I am trying to include several tokens in a report, specifically in the Trigger Action 'Send Email'. This report runs every Monday at 8am and looks at logs from the last 7 days (a weeks worth of logs).

In the message section, I would like to include the time frame in which the report captures data. Sample text of this would be the following:

"The Report has run for the dates of <time.earliest> - <time.latest>".

Does anyone have a good resource that lists what tokens can be used in a report? I have tried several "$time.X$" tokens with no luck. 

 The options in the 'Edit Schedule' option of the report have the time frame as 'Time Range'.

Please let me know what other information you need!

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Have you tried $job.earliestTime$ and $job.latestTime$?

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Have you tried $job.earliestTime$ and $job.latestTime$?

---
If this reply helps you, Karma would be appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...