Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GZIP Compression with GelfUdpAppender #66

Closed
Stratehm opened this issue Nov 23, 2021 · 1 comment
Closed

GZIP Compression with GelfUdpAppender #66

Stratehm opened this issue Nov 23, 2021 · 1 comment
Milestone

Comments

@Stratehm
Copy link
Contributor

Problem:
We have an application that sends logs to a Logstash instance but all special characters are badly handled. It seems that Logstash has a problem when using ZLIB compression but works well with GZIP compression (tested and approved). (logstash-plugins/logstash-input-gelf#54)

Solution
We would like to be able to use GZIP compression instead of ZLIB since this compression method is also permitted in the GELF specs: https://docs.graylog.org/docs/gelf#gelf

A solution may be to add a <compressionMethod>GZIP/ZLIB</compressionMethod> configuration to the GelfUdpAppender and taken into account only if <useCompression> is true.

Alternative solution
Remove <useCompression> configuration (breaking change) and replace it with <compressionMethod>None/GZIP/ZLIB</compressionMethod>

Stratehm pushed a commit to Stratehm/logback-gelf that referenced this issue Nov 23, 2021
Stratehm pushed a commit to Stratehm/logback-gelf that referenced this issue Dec 17, 2021
Stratehm pushed a commit to Stratehm/logback-gelf that referenced this issue Jan 3, 2022
osiegmar pushed a commit that referenced this issue Jan 4, 2022
@osiegmar
Copy link
Owner

osiegmar commented Jan 4, 2022

Thanks for your contribution. The functionality will be part of the next non-patch release.

@osiegmar osiegmar added this to the 5.0.0 milestone Dec 23, 2022
osiegmar added a commit that referenced this issue Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants