Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

remove uncompressed data magic header #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dqminh
Copy link

@dqminh dqminh commented Feb 11, 2016

default to returning uncompressed data without checking for magic header for
compliant with graylog2 server. Relevant piece for graylog2 server is at
https://github.com/Graylog2/graylog2-server/blob/edd1a66a2f9924e39b217df4c94327a86b8fecab/graylog2-server/src/main/java/org/graylog2/inputs/codecs/gelf/GELFMessage.java#L147

default to returning uncompressed data without checking for magic header for
compliant with graylog2 server. Relevant piece for graylog2 server is at
https://github.com/Graylog2/graylog2-server/blob/edd1a66a2f9924e39b217df4c94327a86b8fecab/graylog2-server/src/main/java/org/graylog2/inputs/codecs/gelf/GELFMessage.java#L147

Signed-off-by: Daniel Dao <dqminh@cloudflare.com>
@brianhartsock
Copy link

+1 on this.

The master branch of graylog server no longer uses uncompressed header bytes and this breaks certain gelf libraries, like the underlying go-gelf library for docker, which already made this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants