# Increase .gz compression in file output (s3 output is better)?

**URL:** <https://discuss.elastic.co/t/increase-gz-compression-in-file-output-s3-output-is-better/120994>\
**Category:** Logstash\
**Created:** [February 22, 2018, 7:00am UTC](https://discuss.elastic.co/t/increase-gz-compression-in-file-output-s3-output-is-better/120994 "2018-02-22T07:00:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [February 22, 2018, 7:00am UTC](https://discuss.elastic.co/t/increase-gz-compression-in-file-output-s3-output-is-better/120994/1 "2018-02-22T07:00:41Z")

</div>

Hi,

Is it possible to increase the compression ratio for .gz files in the file output plugin? I noticed the s3 output plugin can get up three times smaller file sizes with the exact same data, it would be great if the same level of compression was possible with the file output plugin.

---

<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:** [March 22, 2018, 7:01am UTC](https://discuss.elastic.co/t/increase-gz-compression-in-file-output-s3-output-is-better/120994/2 "2018-03-22T07:01:18Z")

</div>

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