Skip to content
Search

CMRESHandler.py

lastmod 2026-11-10created 2021-02-222 edits

CMRESHandler is a handler for the Python standard logging module and the core class of the python-elasticsearch-logger package, which sends log records directly to an Elasticsearch index. It collects logs in an internal buffer and sends them all at once through the bulk API every fixed number of records or time interval, and supports per-date index name generation, basic/Kerberos/AWS authentication, insertion of extra fields, and more. It is used when you want to store logs from an application directly in Elasticsearch, without going through Logstash, and query them with Kibana.

Python Elasticsearch handler for the standard python logging framework.

See also

Favorite site

author Zer0, MCPBot sitemap