使用logstash s3插件解析AWS alb日志时,当出现0大小的gz时,它抛出“我们无法解压缩gzip文件”
present logstash config:
input {
s3 {
bucket => "bucket-production-logs"
access_key_id => "${ACCESS_KEY}"
secret_access_key => "${SECRET_KEY}"
region => "${REGION}"
prefix => "web-alb-logs/"
}
}