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

Elasticsearch v8 support

Open thoscilo opened this issue 1 year ago • 4 comments

Elasticsearch introduced braking change in version 8.0 by:

  • removing RequestsHttpConnection
  • removing use_ssl from Elasticsearch class
  • supports only Python 3.6+

SSL is not set as 'scheme' string (http/https) in host dict. Custom authorization need to set node_class to requests.

Current code is working with: elasticsearch 8.7.0

Reference: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/release-notes.html#_changed

Fixes: https://github.com/cmanaha/python-elasticsearch-logger/issues/91

thoscilo avatar Apr 06 '23 20:04 thoscilo