I assume that one of these fields is the log message as it enters graylog (message) and the other how graylog saves it after adding its own metadata.
Is this correct? Is there more to it?
The Title question is a copy of Kevin Wittek's comment here: Searching in Graylog2 full_message
Which i found while trying to research this issue.
You are correct that one of them is intended to be the entire message as it was received by Graylog before any parsing. That is the
full_messagefield. Many inputs have aStore full messageconfiguration option that will enable storing it.full_messageis an optional field on each message.The
messagefield is one of the three required fields that every message must have within Graylog (the two others beingsourceandtimestamp). It is the one that is displayed on the message table in the search page, see the blue text in the example below.Since it is the field displayed there, it is often parsed into a more human readable format of the log message to get the point across a bit more succinctly than the full message. However, if there is no special parsing done by the input itself or any pipelines then the
messagefield will end up being the full message as it was received by Graylog.Hope that clears up the difference between the two somewhat related fields!