python-elasticsearch-logger
python-elasticsearch-logger copied to clipboard
Specifying types in bulk requests is deprecated
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.
This's fixed in fork https://github.com/mkhadher/python-elasticsearch-logger
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 [email protected] [email protected]
Hi. please, could you provide a solution for the issue?