Getting Data In

timestamp only containing time

aaronkorn
Splunk Employee
Splunk Employee

We have a rolling log for everyday and can tell which log belongs to which date based on the name. The events in the log only contain times without the day and month. Is is it possible to add the date part from the file name or is there anything else we can to get the date added to the timestamp? We have another solution but it would require a restart of a highly critical clinical application and would be the last resort.

Thanks!

0 Karma

aholzer
Motivator

See this question / answer:

http://splunk-base.splunk.com/answers/68599/get-timestamp-from-filename

This answer is fairly thorough and has a link to the documentation too.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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