This formatter uses a HashMap for storing the structured data attached to an event. As the default HashMap randomizes the hash, the sd parameters come out in a random order in the syslogged event. This can be annoying for an event parser, or even for the human eye.
Perhaps it would be better to sort the keys alphabetically in format_5424_structured_data ?
This formatter uses a HashMap for storing the structured data attached to an event. As the default HashMap randomizes the hash, the sd parameters come out in a random order in the syslogged event. This can be annoying for an event parser, or even for the human eye. Perhaps it would be better to sort the keys alphabetically in format_5424_structured_data ?