python-elasticsearch-logger
python-elasticsearch-logger copied to clipboard
Elasticsearch v8 support
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