hynek / structlog

Simple, powerful, and fast logging for Python.
https://www.structlog.org/
Other
3.48k stars 220 forks source link

structlog+graylog #617

Closed ghazalmohseni7 closed 5 months ago

ghazalmohseni7 commented 5 months ago

hi there , im using structlog for logging my project and now I want to add a log reviewer. can structlog be integrated with graylog ? or elk? i didn't find anything useful on internet . thank you

hynek commented 5 months ago

We integrate structlog with ELK as documented in https://www.structlog.org/en/stable/logging-best-practices.html#centralized-logging.

You should be able to do the same thing with Graylog and there's been tighter integrations like https://github.com/magenta-aps/structlog-gelf but I don't use Graylog so I can't speak to their merit.