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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...