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!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...