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!

Index This | Divide 100 by half. What do you get?

November 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...

Splunk and Fraud

Watch Now!Watch an insightful webinar where we delve into the innovative approaches to solving fraud using the ...