# Logstash.outputs.elasticsearch\] UNEXPECTED POOL ERROR {:e=\>#\<LogStash::Outputs::ElasticSearch::HttpClient::Pool::NoConnectionAvailableError: No Available connections\>}

**URL:** <https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364>\
**Category:** Logstash\
**Created:** [July 26, 2019, 6:18am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364 "2019-07-26T06:18:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![divyadaka](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@divyadaka](https://discuss.elastic.co/u/divyadaka)\
**Post date:** [July 26, 2019, 6:18am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/1 "2019-07-26T06:18:34Z")

</div>

I am new to ELK stack and also to td-agent. purpose of this installation is to store application logs...i had installed elasticsearch(9200),kibana(5601),logastash (5044)and td-agent(8888)....

But elasticsearch ,kibana is working where as logstash and td-agent no with the port numbers...i checked ports are listening.

Also i am not sure how to check my ELK is working or not.

please help me ASAP

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [July 26, 2019, 6:32am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/2 "2019-07-26T06:32:42Z")

</div>

HI @divyadaka,

Could you pls share the elasticsearch and logstash logs for more understanding.

> ES Log: /var/log/elasticsearch/.log  
> Ls Log: /var/log/logstah/.log

Also, share the YML file for both.

> ES conf file: /etc/elasticsearch/elasticsearch.yml  
> Ls pipeline file: /etc/logsatsh/.yml

Regards,  
Harsh Bajaj

---

<div class="post-metadata">

**Author:** ![divyadaka](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@divyadaka](https://discuss.elastic.co/u/divyadaka)\
**Post date:** [July 26, 2019, 6:39am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/3 "2019-07-26T06:39:16Z")

</div>

As i see there are many .log files in elasticsearch, logstash, please let me what exactly you want to look at...

Also in yml file...so that i can check and confirm us..

Note:security reasons to share the entire files

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [July 26, 2019, 6:50am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/4 "2019-07-26T06:50:16Z")

</div>

Hi @divyadaka,

FOr elasticserch and logstash logs you can check the date and time and share accordingly when the problem is arise.

For Yml file i mentioned above i.e. elasticsearch.yml file and in logstash pipeline file where you mentioned input plugins.filter plugins and o/p plugins.

I can understand about security concern and please don't share information related to you organization/business.

Regards,  
Harsh Bajaj

---

<div class="post-metadata">

**Author:** ![divyadaka](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@divyadaka](https://discuss.elastic.co/u/divyadaka)\
**Post date:** [July 26, 2019, 6:59am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/5 "2019-07-26T06:59:17Z")

</div>

now in elasticsearch.log i dont see any error or warning..it contains only info

in Logstash LOG file i had 2 errors...u can see below..I think proble with input file of logstash

A)[2019-07-26T12:26:38,349][**ERROR**][logstash.inputs.file] Unknown setting 'ssl' for file

[2019-07-26T12:26:38,349][**ERROR**][logstash.inputs.file] Unknown setting 'ssl\_certificate' for file

[2019-07-26T12:26:38,349][**ERROR**][logstash.inputs.file] Unknown setting 'ssl\_key' for file

[2019-07-26T12:26:38,355][**ERROR**][logstash.agent] Cannot create pipeline {:reason=\>"Something is wrong with your configuration."}

[2019-07-26T12:26:46,539][**ERROR**][logstash.inputs.file] Unknown setting 'port' for file

[2019-07-26T12:26:46,540][**ERROR**][logstash.inputs.file] Unknown setting 'ssl' for file

[2019-07-26T12:26:46,540][**ERROR**][logstash.inputs.file] Unknown setting 'ssl\_certificate' for file

[2019-07-26T12:26:46,540][**ERROR**][logstash.inputs.file] Unknown setting 'ssl\_key' for file

[2019-07-26T12:26:46,545][**ERROR**][logstash.agent] Cannot create pipeline {:reason=\>"Something is wrong with your configuration."}

B0 [2019-07-26T09:33:16,230][WARN][logstash.outputs.elasticsearch] UNEXPECTED POOL **ERROR** {:e=\>#\<LogStash::Outputs::ElasticSearch::HttpClient::Pool::NoConnectionAvailableError: No Available connections\>}

---

<div class="post-metadata">

**Author:** ![divyadaka](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@divyadaka](https://discuss.elastic.co/u/divyadaka)\
**Post date:** [July 26, 2019, 7:00am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/6 "2019-07-26T07:00:48Z")

</div>

Please let me know in YML file of elasticsearch and logstash what fileds you would like me to share

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [July 26, 2019, 8:05am UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/7 "2019-07-26T08:05:14Z")

</div>

Hi @divyadaka,

I need you logstash pipeline and pls hide your IP and port or other information related to your organization

> [@](#):
>
> [2019-07-26T12:26:38,355][**ERROR**][logstash.agent] Cannot create pipeline {:reason=\>"Something is wrong with your configuration."}

Regards,  
Harsh Bajaj

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 26, 2019, 12:38pm UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/8 "2019-07-26T12:38:08Z")

</div>

> [@divyadaka](#):
>
> [2019-07-26T12:26:46,539][**ERROR**][logstash.inputs.file] Unknown setting 'port' for file  
> [2019-07-26T12:26:46,540][**ERROR**][logstash.inputs.file] Unknown setting 'ssl' for file  
> [2019-07-26T12:26:46,540][**ERROR**][logstash.inputs.file] Unknown setting 'ssl\_certificate' for file  
> [2019-07-26T12:26:46,540][**ERROR**][logstash.inputs.file] Unknown setting 'ssl\_key' for file

In your logstash configuration you have add TLS related setting to a file input. The file input does not support TLS, so you need to remove them.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 23, 2019, 12:38pm UTC](https://discuss.elastic.co/t/logstash-outputs-elasticsearch-unexpected-pool-error-e-logstash-no-available-connections/192364/9 "2019-08-23T12:38:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
