Getting Data In

Date_Time Stamp from when the file was created or modified

Melstrathdee
Path Finder

Hi Guys,
I have a CSV file that is created periodically that I have been asked to bring into Splunk.

The events in this file don't have a time stamp on them.

Is it possible to get the datetime from the "date modified" file properties.

At present it is resorting to the time the file is ingested.

Thanks
Mel

0 Karma
1 Solution

FrankVl
Ultra Champion

Set DATETIME_CONFIG = NONE in props.conf for this source or sourcetype. Then (assuming you use a monitor or batch input) it will take the file modified time.

View solution in original post

FrankVl
Ultra Champion

Set DATETIME_CONFIG = NONE in props.conf for this source or sourcetype. Then (assuming you use a monitor or batch input) it will take the file modified time.

Melstrathdee
Path Finder

Thank you that worked perfectly.

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...