I'm wondering if I can get at log data in files that only have a time stamp (no date) for each line in the file. The file name contains the date that the file was created but only the day number. The file is overwritten every month on the day that it is written.
So my question is - is there a way I can combine the time stamp of the line in the file with the date stamp of the file I'm reading? I don't want to use the name of the file because it only contains the day number, not the month and not the year.
Is there a way of getting at the properties (over and above the path and name) of the file being read so that I can use a "date created" or "date written" value to build my @timestamp field?
Any tips gratefully received.