Elasitcsearch-ruby raises "Cannot get new connection from pool" error

Yes, you are right Robert!. Thank you so much.

With fluent-plugin-elasticsearch 1.2.0 plus reload_connections set to false and AWS elasticsearch service everything works perfect!.

My conf looks like this

type copy type elasticsearch host {{ config['es']['nginx']['endpoint'] }} port {{ config['es']['nginx']['port'] }} include_tag_key true tag_key @log_name logstash_format true **reload_connections false** flush_interval 10s

....

Great stuff!

1 Like