-
Notifications
You must be signed in to change notification settings - Fork 59
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
Labels
Milestone
Comments
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
Co-authored-by: Antoine BESNARD <[email protected]>
Thanks for your contribution. The functionality will be part of the next non-patch release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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>
istrue
.Alternative solution
Remove
<useCompression>
configuration (breaking change) and replace it with<compressionMethod>None/GZIP/ZLIB</compressionMethod>
The text was updated successfully, but these errors were encountered: