{"categories":[{"label":"Logging","url":"https://skillfed.io/packages/category/system-logging"}],"enrichment":{"capability":"Sends structured event logs from Python applications to Fluentd or Fluent Bit for centralized collection and analysis.","skillfed_tags":["log-aggregation","fluentd-integration","event-streaming"],"use_cases":["Send application events (logins, purchases, user actions) to Fluentd for real-time analysis and dashboarding.","Integrate Python logging output with Fluentd using the standard logging.Handler interface for structured log aggregation.","Implement custom event buffering and overflow handling when Fluentd is temporarily unavailable.","Collect nanosecond-precision timestamped events from Python services for high-resolution timing analysis.","Forward application metrics and events to Fluent Bit on edge devices or resource-constrained environments."],"what_it_does":"fluent-logger is a Python client library that sends structured event logs to Fluentd or Fluent Bit, which then handle reliable buffering, log forwarding, and centralized collection. It provides three interfaces: a direct FluentSender API for explicit event emission, an event-based wrapper for global sender setup, and a Python logging.Handler integration for use with the standard logging module. The library serializes events using msgpack and communicates over TCP to a Fluentd/Fluent Bit daemon, supporting both second and nanosecond timestamp precision.\n\nThe package is designed for applications generating high volumes of event logs (login, logout, purchase, follow events, etc.) where centralized analysis is valuable. It handles connection failures gracefully with optional buffer overflow handlers, allows custom log formatting, and supports asynchronous communication. The library requires Python 3.7 or later and depends only on msgpack for serialization.","worth_installing":"Yes, if you are already running Fluentd or Fluent Bit and need a straightforward Python client to send structured events. The package is stable, has low install friction, and integrates cleanly with Python's logging module. The dormant maintenance status is not a blocker for stable use, but verify compatibility with your Fluentd/Fluent Bit version and monitor the repository for security updates."},"id":"fluent-logger","links":{"html":"https://skillfed.io/packages/fluent-logger","md":"https://skillfed.io/packages/fluent-logger.md","pypi":"https://pypi.org/project/fluent-logger/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-06-06","license_spdx":null,"license_treatment":"unclear","name":"fluent-logger","python_support":"supports_current","summary":"A Python logging handler for Fluentd event collector"},"popularity":{"monthly_downloads":2255102,"position":3186,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.11.1"}
