Hi, can logstash read the metadata of the input file; say, the file creation time?
Yes, if you use a ruby filter. The file input itself won't adorn events with input file metadata.
Thanks @magnusbaeck. Solved now. Just to help others I am putting the code snippet
code => "file = event.get('path');
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.