severb/graypy — pull request #4 by janoberst (2012-01-13 15:02:10+00:00)
Title: Chunked messages for GELF 1.0

Somehow my Graylog2 server didn't want to accept chunked messages with the error message ```Invalid GELF header in message: Could not extract sequence number```.

A little bid of digging revealed, that that message headers aren't set according to the most current specification I could find: https://github.com/Graylog2/graylog2-docs/wiki/GELF

After changing the sequence length and sequence numbers to single bytes and the message ID to 8 bytes the server accepts the mesages again.