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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...