I have one configuration file with multiple file inputs. Since deploy we have parsed hundreds of files, I now want to re parse everything but I want to re parse them ordered by creation time.
Could you tell me if and how this can be accomplished?
There's nothing built into Logstash for this. My best suggestion would be to rename the files according to the creation time and add them, in order, to a single file input's path parameter. Note that you don't have to touch the original files since you can use links (either soft or hard).
The directory traversal order is not configurable in Logstash. I can't think of a reasonable workaround except what I said earlier or having an external program that concatenates the files in the right order into a single file that Logstash is configured to read.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.