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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...