python-elasticsearch-logger icon indicating copy to clipboard operation
python-elasticsearch-logger copied to clipboard

Python Elasticsearch handler for the standard python logging framework

Results 47 python-elasticsearch-logger issues
Sort by recently updated
recently updated
newest added

I am using CMRESHandler with ES 7.5.1. From ES 7, [type is deprecated](https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html) When CMRESHandler sends logs with bulk operation, `[types removal] Specifying types in bulk requests is deprecated.` warning...

This is resolve #76 (Specifying types in bulk requests is deprecated) which results in the following warning. ElasticsearchDeprecationWarning: [types removal] Specifying types in bulk requests is deprecated.

Would it be possible to just use the index I pointed the tool to? I don't really want any rotation neither switching indices. `YEARLY` is somehow good, but still not...

Hi, Thanks for great module !! Would appreciate your help - I think (but not 100% sure) that it's not possible to use BASIC_AUTH in yaml/json configuration as the current...

https://github.com/IMInterne/python-elasticsearch-ecs-logger The biggest change is we follow ECS for fields names and values.

- format with black - disabled_fields param created, to skip those fields to send to elasticsearch

Timer inherits from threading.Thread . Ref : python/cpython#25174 https://github.com/cmanaha/python-elasticsearch-logger/blob/27ee809b4eba309d198a8909d9c559754e257197/cmreslogging/handlers.py#L208 ``` /root/checked_repos/python-elasticsearch-logger/cmreslogging/handlers.py:208: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self._timer.setDaemon(True) ```

Adding a new method for versions of elasticsearch that the _type function is no longer used. Passing the parameter `es_active_doc_type`

With the previous readme it wasn't clear to me wether I had to include the `-` or not