Structlog extensions are a set of structlog processors and utility functions to add new logging options to structlog. The primary purpose is to supply tools to convert existing structlog logging output into Elastic Common Schema json output so users can easily plug their application output into centralised logging solutions such as ELK stack.
At present the extensions consist of a
CombinedLogParser (which for example can be used to convert gunicorn access log
output into ECS fields), and the
NestedDictJSONRenderer, which can be used to convert the output of the CombinedLogParser
into ECS json format output.