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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...