cmanaha/python-elasticsearch-logger

Specifying types in bulk requests is deprecated

luke-han opened this issue · 5 comments

I am using CMRESHandler with ES 7.5.1.

From ES 7, type is deprecated

When CMRESHandler sends logs with bulk operation, [types removal] Specifying types in bulk requests is deprecated. warning is printed.

Forcing to set es_doc_type is cause of this issue.

This line may need to be deleted.

Maybe, we could solve this problem by passing a None value to type field es_doc_type
just like this:
CMRESHandler(xxx=xxx, es_doc_type=None)

Hi @everyone !

Hey @mkhadher

I would like to meet and talk about the python-elasticsearch-logger that we all use. I think we can merge all of the best features and update PyPi. I work at AWS and talked with Carlos about this.

Python maintainer,

Adrian Drummond
adrian.drummond@gmail.com
adrian@adriandrummond.com

Hi.
please, could you provide a solution for the issue?

I should have done this by now but I switched jobs and I am going to prioritize this in 2023