# Bug on logstash input for gz files

**URL:** https://discuss.elastic.co/t/bug-on-logstash-input-for-gz-files/288547
**Category:** Logstash
**Created:** [November 6, 2021, 7:05pm UTC](https://discuss.elastic.co/t/bug-on-logstash-input-for-gz-files/288547 "2021-11-06T19:05:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)
#### Post date: [November 6, 2021, 7:05pm UTC](https://discuss.elastic.co/t/bug-on-logstash-input-for-gz-files/288547/1 "2021-11-06T19:05:42Z")

</div>

Hi  
I've observed that logstash with input plugin doesn't proceed in the correct way gz files in sincedb. I saw that logstash doesn't put all logs info to sincedb but only the header without names. If I have restarted logstash, with start\_position as default "end", he has tried to load the same one files. This mechanize does not handle gz files properly.

```auto

163608150 0 64768 81110 1636221592.0603979
163608151 0 64768 81065 1636221893.71823
163608152 0 64768 81873 1636222180.329762
163608153 0 64768 82369 1636222482.08232
163608154 0 64768 78231 1636222783.6071432
163608155 0 64768 81220 1636223085.255198
163608156 0 64768 81498 1636223386.67437
163608157 0 64768 79493 1636223688.707528
163608158 0 64768 79944 1636223990.350085
163608159 0 64768 77930 1636224291.921298
163608160 0 64768 78709 1636224593.708726
163608161 0 64768 82001 1636224880.2693172
163608162 0 64768 77149 1636225181.658348

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 4, 2021, 7:05pm UTC](https://discuss.elastic.co/t/bug-on-logstash-input-for-gz-files/288547/2 "2021-12-04T19:05:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
