# Reading .gz files with Filebeat

**URL:** <https://discuss.elastic.co/t/reading-gz-files-with-filebeat/53582>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 21, 2016, 9:40pm UTC](https://discuss.elastic.co/t/reading-gz-files-with-filebeat/53582 "2016-06-21T21:40:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nanshan](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nanshan](https://discuss.elastic.co/u/nanshan)\
**Post date:** [June 21, 2016, 9:40pm UTC](https://discuss.elastic.co/t/reading-gz-files-with-filebeat/53582/1 "2016-06-21T21:40:39Z")

</div>

My path to filebeat is /var/log/apache2

there are gz files like access.log.2016.06.12.gz

will filebeat harvest them?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 21, 2016, 10:35pm UTC](https://discuss.elastic.co/t/reading-gz-files-with-filebeat/53582/2 "2016-06-21T22:35:26Z")

</div>

No, Filebeat does not harvest gzipped files. There has been some talk about the feature but it hasn't been implemented. [https://github.com/elastic/beats/issues/637](https://github.com/elastic/beats/issues/637)

---

<div class="post-metadata">

**Author:** ![nanshan](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nanshan](https://discuss.elastic.co/u/nanshan)\
**Post date:** [June 22, 2016, 6:09pm UTC](https://discuss.elastic.co/t/reading-gz-files-with-filebeat/53582/3 "2016-06-22T18:09:10Z")

</div>

thanks for the reply.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 22, 2016, 6:37pm UTC](https://discuss.elastic.co/t/reading-gz-files-with-filebeat/53582/4 "2016-06-22T18:37:48Z")

</div>


