Skip to content

broken gzip file produced sometimes. #79

@TomonoriSoejima

Description

@TomonoriSoejima
  • Version: Logstash 6.4.0

  • Steps to Reproduce:

  1. Simply create a conf with file output plugin with gzip enabled as below.
output { 
    file { 
        path => "/Users/surfer/elastic/labs/logstash/logstash.config/output/a-%{+YYYYMMddHHmm}.json.gz" 
        codec => "json_lines" 
        gzip => "true" 
    }
}
  1. ingest document

  2. Notice that when you verify the file, it comes back with messages below.

$ gzip -tv test*

test.json.gz:

gzip: test.json.gz: decompression OK, trailing garbage ignored

 OK


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions