I wants logstash to read logs from AWS S3 bucket but my log path directory is keep rotating on month basis and am not understand how to handle it. please suggest.
Presuming the 20220201-20220301 part is what rotates it should work by specifying the prefix as org_2022/ourorg/; It will retrieve all files below it I believe.
Hi, Yes. "20220201-20220301" is that directory and change on every month basis, under this directory logs are written. like below :
"org_2022/ourorg/20220201-20220301/ourorg.logs".
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.