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.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...