{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/8"},{"label":"Logging","url":"https://skillfed.io/packages/category/system-logging"},{"label":"Log Analysis","url":"https://skillfed.io/packages/category/internet-log-analysis"}],"enrichment":{"capability":"Provides a Python logging handler that sends log records directly to OpenSearch, formatting them according to the Elastic Common Schema (ECS) standard without requiring middleware.","skillfed_tags":["opensearch","ecs-logging","log-handler"],"use_cases":["Centralize application logs from Python services directly into OpenSearch for real-time search and analysis without separate log aggregation infrastructure.","Index structured log records with custom fields via the extra parameter to make application metrics searchable and aggregatable in OpenSearch.","Configure logging via Django settings or logging.config to send application logs to OpenSearch alongside file or console handlers.","Authenticate to AWS OpenSearch domains using IAM credentials or connect to Kerberos-protected OpenSearch clusters without proxy layers.","Use data streams for log indexing to let OpenSearch manage index rollover automatically, simplifying operational overhead for high-volume logging."],"what_it_does":"opensearch-logger is a Python logging handler that integrates directly with OpenSearch, bypassing the need for log aggregation middleware like Fluentd or Logstash. It formats all log records according to the Elastic Common Schema (ECS) standard, making logs searchable and aggregatable in OpenSearch. The handler buffers log records and flushes them in batches, with configurable buffer size and flush frequency to balance throughput and latency.\n\nThe library has been in production use since OpenSearch 1.0 and supports modern Python versions (3.9 through 3.13). It integrates with Python's standard logging module, allowing you to add it as a handler to any logger and configure it via logging.config or Django settings. It supports multiple authentication methods including basic auth, AWS IAM, and Kerberos, and can index into either traditional indices with date-based rotation or OpenSearch data streams.","worth_installing":"Yes. The package is production-stable (marked as such since 2021), has no known vulnerabilities, low install friction, and solves a clear problem\u2014direct Python-to-OpenSearch logging without middleware. The aging maintenance status (366 days since release) is mitigated by a recent repository commit on 2025-08-13. Install it if you need to send Python logs to OpenSearch and want to avoid Fluentd or Logstash."},"id":"opensearch-logger","links":{"html":"https://skillfed.io/packages/opensearch-logger","md":"https://skillfed.io/packages/opensearch-logger.md","pypi":"https://pypi.org/project/opensearch-logger/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-08-13","license_spdx":null,"license_treatment":"permissive","name":"opensearch-logger","python_support":"supports_current","summary":"OpenSearch logging handler"},"popularity":{"monthly_downloads":154558,"position":10850,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3.1"}
