# Supported compression algorithms?

**URL:** <https://discuss.elastic.co/t/supported-compression-algorithms/291157>\
**Category:** Logstash\
**Created:** [December 7, 2021, 7:34pm UTC](https://discuss.elastic.co/t/supported-compression-algorithms/291157 "2021-12-07T19:34:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tofubeats](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tofubeats](https://discuss.elastic.co/u/tofubeats)\
**Post date:** [December 7, 2021, 7:34pm UTC](https://discuss.elastic.co/t/supported-compression-algorithms/291157/1 "2021-12-07T19:34:48Z")

</div>

Hello,  
I would like to know what compression algorithms logstash pipelines can work with? For example, if i have a pipeline polling a webserver that sends compressed data, will the logstash pipeline only automatically decompress the data if it's been compressed with LZ4 or gzip?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [December 7, 2021, 8:16pm UTC](https://discuss.elastic.co/t/supported-compression-algorithms/291157/2 "2021-12-07T20:16:21Z")

</div>

The http\_poller and http filter are built upon the http\_client mixin, which [uses](https://github.com/logstash-plugins/logstash-mixin-http_client/blob/671005ce0f7769938bbf2f5a417f7212f4c7209e/lib/logstash/plugin_mixins/http_client.rb#L178) the Manticore HTTP client, which is a wrapper of the Apache Commons library. Manticore [says](https://github.com/cheald/manticore#major-features) it supports gzip and deflate.

---

<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:** [January 4, 2022, 8:16pm UTC](https://discuss.elastic.co/t/supported-compression-algorithms/291157/3 "2022-01-04T20:16:42Z")

</div>

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