3 ms·
also if you can, set up your logging to output JSON/GELF.
by pvillano 5y ago
also if you can, set up your logging to output JSON/GELF.
- moreati 5y agoFor anyone else unfamiliar """ Greylog Extended Log Format (GELF) is a log format that avoids the shortcomings of classic plain syslog: * Limited to length of 1024 bytes – Not much space for payloads like backtraces * No data types in structured syslog. You don’t know what is a number and what is a string. * The RFCs are strict enough but there are so many syslog dialects out there that you cannot possibly parse all of them. * No compression """ -- https://docs.graylog.org/en/4.0/pages/gelf.html https://docs.graylog.org/en/4.0/pages/gelf.html It can be sent over UDP or TCP. Looks like each log entry is a JSON object, with standardised field names/formats.