# Can Logstash process archived data in the .tar.gz format?

**URL:** <https://discuss.elastic.co/t/can-logstash-process-archived-data-in-the-tar-gz-format/91029>\
**Category:** Logstash\
**Created:** [June 27, 2017, 9:58pm UTC](https://discuss.elastic.co/t/can-logstash-process-archived-data-in-the-tar-gz-format/91029 "2017-06-27T21:58:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 28, 2017, 3:38am UTC](https://discuss.elastic.co/t/can-logstash-process-archived-data-in-the-tar-gz-format/91029/2 "2017-06-28T03:38:37Z")

</div>

No, Logstash can't read files within tar.gz archives. You'll have to write a script that extracts the files into a temporary directory that Logstash can monitor.

---

_[View the full topic](https://discuss.elastic.co/t/can-logstash-process-archived-data-in-the-tar-gz-format/91029)._
