Module codecs::gelf

source ·
Expand description

Contains common definitions for GELF codec support

Modules§

Statics§

  • Regex for matching valid field names in the encoder. According to the original spec by graylog, must contain only word chars, periods and dashes. Additional field names must also be prefixed with an _ , however that is intentionally omitted from this regex to be checked separately to create a specific error message. As Graylog itself will produce GELF with any existing field names on the Graylog GELF Output, vector is more lenient, too, at least allowing the additional @ character.