Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
RAW TCP input loses the data after the last 0x0a #4105
Setting up a RAW TCP input, Graylog uses all lines that are written to the input.
Raw TCP input reads a message in whenever there is a newline (0x0a) coming from the input. The characters between the last 0x0a and closing the TCP connection are discarded. If a sender opens a separate connection for each log line and does not terminate the connections with a 0x0a, Graylog will not process the log lines.
The total byte count on the inputs page shows the incoming bytes, but they are not processed as messages.
When connection closes, read the remaining bytes and process them normally.
Steps to Reproduce (for bugs)
Tried to send log lines from Windows with Powershell.
@jtkkex Thanks for reporting this!
The Raw/Plaintext TCP input expects messages to end with the configured delimiter (
We'll see if we can change that with little effort.