Logstash配置以解析大小为0的AWS ALB日志文件

时间:2019-04-21 13:58:09

标签: amazon-s3 gzip logstash-configuration

使用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/"
  }
}

0 个答案:

没有答案