Logstash Reading all ELB logs from s3 not just current

121 Views Asked by At

Logstash is reading all ELB logs files stored on the s3 bucket but I want it read-only current logs not all.

1

There are 1 best solutions below

0
On

Logstash faces a performance issue with a large set of files. So the best practice to move the previous file into the backup s3 bucket and set in logstash to delete the file after reading and copy to the backup bucket so it only reads new files.