Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Setup JsonFormatter to use logingstash format #190

@Timelessprod

Description

@Timelessprod

Hello,

I'm using your library and would need to set it up to output logs in the logstash format so they get parsed correctly by third party services using logstash. for example the current asctime and levelname don't get recognized.

I was tempted to use https://github.com/mbarrientos/logstash-python-formatter but it's not maintained for too long now and this may cause security problems.

I read the README and its section about adding extra fields but it seems to be outdated as I can'T see this fields in the class builder of JsonFormatter. Could you please guide me on what to do to change to rename fields and add new ones ?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions