Elasticsearch python log handler (github)


(Cmanaha) #1

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 . Source and project, for anyone who is interested to make contributions (or just use it !!) at https://github.com/cmanaha/python-elasticsearch-logger.


(Алексей Пастухов (Palik)) #2

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

BR,
Alexei


(Barravi) #3

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 :slight_smile:


(system) #4