Reporting

Include date on a Splunk report

butzowj
Path Finder

Hello Splunkers -

I'd like to include the time/date range of a search in my report. If I have a report that runs at midnight showing all the results for yesterday, I'd like to be able to see the actual date on the report, not just the word "yesterday".

Is there any way this can be done?

Thanks.

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

Yes, you can use now like this:

... | eval runDate=now()

Then you can reference it with $results.runDate$.

View solution in original post

woodcock
Esteemed Legend

Yes, you can use now like this:

... | eval runDate=now()

Then you can reference it with $results.runDate$.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...