You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elasticsearch introduced braking change by:
- removing RequestsHttpConnection
- removing use_ssl from Elasticsearch class
SSL is not set as 'scheme' string (http/https) in host dict.
Custom authorization need to set node_class to requests.
@@ -95,17 +95,18 @@ Kibana on top of elasticsearch
95
95
Initialisation parameters
96
96
=========================
97
97
The constructors takes the following parameters:
98
-
- hosts: The list of hosts that elasticsearch clients will connect, multiple hosts are allowed, for example ::
98
+
- hosts: The list of hosts that elasticsearch clients will connect, multiple hosts are allowed.
99
+
Use ```'scheme'``` to determinate if use SSL (`use_ssl` is deprecated). To use SSL set ```'scheme': 'https'```, or if you don't need SSL Sset ```'scheme': 'http'```.
- auth_type: The authentication currently support CMRESHandler.AuthType = NO_AUTH, BASIC_AUTH, KERBEROS_AUTH
104
106
- auth_details: When CMRESHandler.AuthType.BASIC_AUTH is used this argument must contain a tuple of string with the user and password that will be used to authenticate against the Elasticsearch servers, for example ('User','Password')
105
107
- aws_access_key: When ``CMRESHandler.AuthType.AWS_SIGNED_AUTH`` is used this argument must contain the AWS key id of the the AWS IAM user
106
108
- aws_secret_key: When ``CMRESHandler.AuthType.AWS_SIGNED_AUTH`` is used this argument must contain the AWS secret key of the the AWS IAM user
107
109
- aws_region: When ``CMRESHandler.AuthType.AWS_SIGNED_AUTH`` is used this argument must contain the AWS region of the the AWS Elasticsearch servers, for example ``'us-east'``
108
-
- use_ssl: A boolean that defines if the communications should use SSL encrypted communication
109
110
- verify_ssl: A boolean that defines if the SSL certificates are validated or not
110
111
- buffer_size: An int, Once this size is reached on the internal buffer results are flushed into ES
111
112
- flush_frequency_in_sec: A float representing how often and when the buffer will be flushed
@@ -139,7 +140,7 @@ they can be plotted on Kibana, or the SQL statements that Django executed. ::
0 commit comments