Original Post: How to fix TooLongFrameException
It closed on me, while I was writing my reply:
this error messages comes from a component that splits the incoming data into messages by seeking to a delimiter character. For some input formats this is a \n (new line) for other its a \0 (null byte).
This error message is indicative for a incorrect delimiter used by this component. Its unable to finde the border between messages and reads until it reaches its set limit.
For GELF with TCP the \0 is used as delimiter, check in your input settings that you have activated the option “Null frame delimiter”.
For reference see: https://docs.graylog.org/en/3.2/pages/gelf.html#gelf-via-tcp