{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/12"},{"label":"Logging","url":"https://skillfed.io/packages/category/system-logging"}],"enrichment":{"capability":"Provides Python logging handlers that send log messages to Graylog servers using the GELF (Graylog Extended Log Format) protocol over TCP, UDP, TLS, HTTP, or HTTPS.","skillfed_tags":["graylog-integration","structured-logging"],"use_cases":["Centralize logs from a Python application to a Graylog instance for aggregated monitoring and analysis.","Send application logs over encrypted TLS to a remote Graylog server in a secure network environment.","Add structured metadata (app name, request ID, user context) to each log entry for better searchability in Graylog.","Route exception stack traces and debug information to Graylog for post-mortem analysis.","Integrate logging into a Flask or Django application configuration file to send logs via HTTP to Graylog."],"what_it_does":"pygelf is a Python logging library that bridges the standard logging module to Graylog servers by providing handlers that format and transmit logs in GELF format. It supports five transport protocols\u2014TCP, UDP, TLS (encrypted TCP), HTTP, and HTTPS\u2014allowing you to choose based on your network and security requirements. The library handles the GELF message structure automatically, including mandatory fields like version, timestamp, syslog-compliant log level, hostname, and optional stack traces for exceptions.\n\nYou integrate it by adding one or more handlers to your logger, specifying the target server's host and port. The package supports optional features like debug mode (which adds file, line, module, and function metadata), static and dynamic custom fields, environment variable injection, message compression, and TLS certificate validation. It has no external runtime dependencies, making it lightweight to add to existing Python projects.","worth_installing":"Yes, if you are already using Graylog and need Python logging integration. The package is stable, has no dependencies, and supports modern Python versions. However, maintenance is aging (last release 426 days ago), so verify that it works with your specific Graylog version and Python release before committing to production. No known security vulnerabilities."},"id":"pygelf","links":{"html":"https://skillfed.io/packages/pygelf","md":"https://skillfed.io/packages/pygelf.md","pypi":"https://pypi.org/project/pygelf/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-06-14","license_spdx":null,"license_treatment":"permissive","name":"pygelf","python_support":"unspecified","summary":"Logging handlers with GELF support"},"popularity":{"monthly_downloads":388303,"position":7036,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.3"}
