logstash-plugins / logstash-output-elasticsearch

https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html
Apache License 2.0
216 stars 306 forks source link

Add http compression level #1148

Closed kaisecheng closed 10 months ago

kaisecheng commented 10 months ago

This commit deprecated http_compression in favor of compression_level. http_compression false mapped to compression_level 0, and true mapped to 1. The default setting has changed from disabling compression to enabling compression at level 1 (best speed)

Fix: https://github.com/elastic/ingest-dev/issues/2217

kaisecheng commented 10 months ago

The unit tests fail with 8.10.0-SNAPSHOT BC5 in main branch. rspec passed all tests but the docker doesn't exit. The issue cannot reproduce locally

strawgate commented 9 months ago

Can we backport the compression changes to latest 7.x?

kaisecheng commented 9 months ago

@strawgate we won't pin the minor update in 7.17, but you can install it by bin/logstash-plugin update logstash-output-elasticsearch