Comparison
loki-logger-handler vs pygelf vs python-logging-loki vs python3-logstash
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Handler designed for transmitting logs to Grafana Loki in JSON format.
Low maintenance activity. Last release 18 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install loki-logger-handlerLogging handlers with GELF support
Low maintenance activity. Last release 18 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pygelfPython logging handler for Grafana Loki.
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install python-logging-lokiPython logging handler for Logstash.
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install python3-logstashIn short
- python-logging-loki looks abandoned: avoid it for new projects.
- python3-logstash looks abandoned: avoid it for new projects.
- pygelf is the most used: 705.3K downloads a month.
- Maintenance is comparable: loki-logger-handler 31, pygelf 23 on Pythie’s Index.
- pygelf is growing fastest: downloads +126% over the last month.
Side by side
| Metric | loki-logger-handler | pygelf | python-logging-loki | python3-logstash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 31 | Pythie’s Index: 23 | Pythie’s Index: 14 | Pythie’s Index: 20 |
| Verdict | Low maintenance activity | Low maintenance activity | Likely abandoned | Likely abandoned |
| Downloads / month | 207.5K | 705.3K | 722.9K | 591.6K |
| Downloads, month over month | +26% | +126% | -10% | +2% |
| GitHub stars | 57 | 85 | 172 | 13 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 17 | 43 | 3 |
| Last release | May 26, 2025 | Jun 14, 2025 | Nov 28, 2019 | Jul 12, 2018 |
| Releases, 12 months | 0 | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 13 | 11 | 3 | 4 |
| First release | Oct 2023 | Aug 2015 | Feb 2019 | Jan 2018 |
| Python versions | 3.6 – 3.12 | 3.9 – 3.13 | 3.6 – 3.8 | – |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.