File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,10 @@ Another way to configure the URL(s) is to export the `ELASTICSEARCH_URL` variabl
106106The client will automatically round-robin across the hosts
107107(unless you select or implement a different [ connection selector] ( #connection-selector ) ).
108108
109+ ### Default port
110+
111+ The default port is ` 9200 ` . Please specify a port for your host(s) if they differ from this default.
112+
109113### Connect using an Elastic Cloud ID
110114
111115If you are using [ Elastic Cloud] ( https://www.elastic.co/cloud ) , you can provide your cloud id to the client.
@@ -155,7 +159,7 @@ You can customize the default logger or tracer:
155159 client.transport.logger.formatter = proc { |s, d, p, m| "#{s}: #{m}\n" }
156160 client.transport.logger.level = Logger::INFO
157161
158- Or, you can use a custom { ::Logger} instance:
162+ Or, you can use a custom ` ::Logger ` instance:
159163
160164 Elasticsearch::Client.new logger: Logger.new(STDERR)
161165
You can’t perform that action at this time.
0 commit comments