# Elasticsearch python log handler (github)

**URL:** <https://discuss.elastic.co/t/elasticsearch-python-log-handler-github/43320>\
**Category:** Elastic Community and Ecosystem\
**Created:** [March 3, 2016, 12:05am UTC](https://discuss.elastic.co/t/elasticsearch-python-log-handler-github/43320 "2016-03-03T00:05:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmanaha](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@cmanaha](https://discuss.elastic.co/u/cmanaha)\
**Post date:** [March 3, 2016, 12:05am UTC](https://discuss.elastic.co/t/elasticsearch-python-log-handler-github/43320/1 "2016-03-03T00:05:16Z")

</div>

Hi All,

I just released a couple of days ago a python log handler extension that allows storing LogRecords and instrumentation coming directly from Python standard logging framework. The handler is also easy to integrate with DJango and it provides all extra instrumentation such as connection with DB backends.

Project is released under Apache 2 license with releases available from [https://pypi.python.org/pypi/CMRESHandler](https://pypi.python.org/pypi/CMRESHandler) . Source and project, for anyone who is interested to make contributions (or just use it !!) at [https://github.com/cmanaha/python-elasticsearch-logger](https://github.com/cmanaha/python-elasticsearch-logger).

---

<div class="post-metadata">

**Author:** ![palik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/palik/32/42120_2.png) [@palik](https://discuss.elastic.co/u/palik)\
**Post date:** [April 22, 2016, 7:22am UTC](https://discuss.elastic.co/t/elasticsearch-python-log-handler-github/43320/2 "2016-04-22T07:22:25Z")

</div>

Fine,  
I'm going to use it in my next project.  
BTW I did similar in Perl [https://metacpan.org/pod/Log::Log4perl::Appender::Elasticsearch](https://metacpan.org/pod/Log::Log4perl::Appender::Elasticsearch)

BR,  
Alexei

---

<div class="post-metadata">

**Author:** ![barravi](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@barravi](https://discuss.elastic.co/u/barravi)\
**Post date:** [June 3, 2016, 4:30pm UTC](https://discuss.elastic.co/t/elasticsearch-python-log-handler-github/43320/3 "2016-06-03T16:30:43Z")

</div>

I was checking your repository to fork it in order to implement extra field to store instrumentation information in the logs.

then I saw you've done it already. You sir are a gentleman and a scholar 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:44pm UTC](https://discuss.elastic.co/t/elasticsearch-python-log-handler-github/43320/4 "2017-07-06T13:44:13Z")

</div>


