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.
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.
DATETIME_CONFIG = NONE
View solution in original post
Thank you that worked perfectly.