{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/6"},{"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 Elasticsearch, integrating with the standard logging library to store structured logs in Elasticsearch indices.","skillfed_tags":["elasticsearch","logging","django-integration"],"use_cases":["Centralize application logs from multiple Python services into a single Elasticsearch cluster for unified search and analysis.","Instrument Django applications to log database query times and SQL statements alongside application events for performance monitoring.","Add custom fields to logs on a per-message basis to enable rich filtering and aggregation in Elasticsearch.","Replace file-based logging with Elasticsearch to avoid log rotation and disk management overhead in containerized environments.","Combine Elasticsearch logging with other handlers to send critical errors to files while routing all logs to Elasticsearch for analysis."],"what_it_does":"CMRESHandler is a logging handler that bridges Python's standard logging library and Elasticsearch, allowing you to send log records directly to Elasticsearch indices instead of (or in addition to) files or stdout. It wraps log entries as JSON documents and buffers them before flushing to Elasticsearch, supporting optional authentication (basic, Kerberos, AWS IAM) and SSL encryption.\n\nThe handler integrates with Django logging configuration and lets you attach custom fields to individual log records for instrumentation\u2014for example, timing metrics or request IDs\u2014which then become queryable fields in Elasticsearch. It preserves standard logging metadata like exception tracebacks, method names, and line numbers, making it useful for centralized log aggregation and analysis.","worth_installing":"Yes, if you are already running Elasticsearch and need a lightweight Python logging handler to send logs directly to it. No, if you require active maintenance or support for modern Elasticsearch versions\u2014the package is dormant since 2017-10-08 and has not been updated to verify compatibility with current Elasticsearch releases. Consider it a stable but unsupported tool; test thoroughly with your Elasticsearch version before production use."},"id":"cmreshandler","links":{"html":"https://skillfed.io/packages/cmreshandler","md":"https://skillfed.io/packages/cmreshandler.md","pypi":"https://pypi.org/project/cmreshandler/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2017-10-08","license_spdx":null,"license_treatment":"permissive","name":"CMRESHandler","python_support":"unspecified","summary":"Elasticsearch Log handler for the logging library"},"popularity":{"monthly_downloads":313416,"position":7715,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
