Reporting

How to add the date to a report

janderja
New Member
 
Tags (2)
0 Karma

masonmorales
Influencer

Well, this...

index=* | head 1 | eval TodaysDate=strftime(now(), "%Y-%m-%d") | table TodaysDate

Would give you:

TodaysDate
2015-04-01

Are you looking to do something more specific?

somesoni2
Revered Legend

Could you provide more details on the requirement here? You want to add a date field in the result of the search/report OR you want to current date to be shown on a dashboard OR you want the date to be put on email alert of a report?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...