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.
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...