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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...