lib/fluent/plugin/out_elasticsearch_dynamic.rb in fluent-plugin-elasticsearch-1.13.3 vs lib/fluent/plugin/out_elasticsearch_dynamic.rb in fluent-plugin-elasticsearch-1.13.4
- old
+ new
@@ -50,9 +50,13 @@
logger: @transport_logger,
transport_options: {
headers: { 'Content-Type' => 'application/json' },
request: { timeout: @request_timeout },
ssl: { verify: @ssl_verify, ca_file: @ca_file }
+ },
+ http: {
+ user: @user,
+ password: @password
}
}), &adapter_conf)
es = Elasticsearch::Client.new transport: transport
begin