Comparison
loki-logger-handler vs pylogbeat vs python-logging-loki vs python-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-handlerSimple, incomplete implementation of the Beats protocol used by Elastic Beats and Logstash.
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pylogbeatPython 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 4 years ago).
pip install python-logstashIn short
- python-logging-loki looks abandoned: avoid it for new projects.
- python-logstash looks abandoned: avoid it for new projects.
- pylogbeat is the most used: 380.4K downloads a month.
- loki-logger-handler is better maintained: Pythie’s Index 31 against 21.
- loki-logger-handler is growing fastest: downloads +26% over the last month.
Side by side
| Metric | loki-logger-handler | pylogbeat | python-logging-loki | python-logstash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 31 | Pythie’s Index: 21 | Pythie’s Index: 14 | Pythie’s Index: 20 |
| Verdict | Low maintenance activity | Low maintenance activity | Likely abandoned | Likely abandoned |
| Downloads / month | 207.5K | 380.4K | 722.9K | 820.8K |
| Downloads, month over month | +26% | +2% | -10% | +15% |
| GitHub stars | 57 | 17 | 172 | 461 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 3 | 43 | 32 |
| Last release | May 26, 2025 | Nov 23, 2025 | Nov 28, 2019 | Mar 30, 2022 |
| Releases, 12 months | 0 | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 13 | 1 | 3 | 18 |
| First release | Oct 2023 | Dec 2018 | Feb 2019 | May 2013 |
| Python versions | 3.6 – 3.12 | – | 3.6 – 3.8 | – |
| License | MIT | Apache-2.0 | 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.
Related comparisons
- loki-logger-handler vs loggly-python-handler
- loki-logger-handler vs logging-azure-rest
- loki-logger-handler vs splunk-hec-handler
- python-logging-loki vs splunk-handler
- python-logging-loki vs logzio-python-handler
- python-logging-loki vs python3-logstash
- python-logstash vs python-logstash-async
- python-logstash vs logtail-python