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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...