# Error in Logstash

**URL:** <https://discuss.elastic.co/t/error-in-logstash/116646>\
**Category:** Logstash\
**Created:** [January 23, 2018, 10:29am UTC](https://discuss.elastic.co/t/error-in-logstash/116646 "2018-01-23T10:29:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krunal\_kalaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krunal_kalaria/32/23862_2.png) [@Krunal\_kalaria](https://discuss.elastic.co/u/Krunal_kalaria)\
**Post date:** [January 23, 2018, 10:29am UTC](https://discuss.elastic.co/t/error-in-logstash/116646/1 "2018-01-23T10:29:09Z")

</div>

Hello Everyone,

I am trying to integrate ELK Stack 5.6.4 in RHEL 7 with ArcSight smartconnector with this link:  
[https://www.elastic.co/guide/en/logstash/5.6/arcsight-module.html#arcsight-instructions-smartconnector](https://www.elastic.co/guide/en/logstash/5.6/arcsight-module.html#arcsight-instructions-smartconnector)

After completion of integration we are getting this:

[2018-01-23T15:39:30,142][WARN][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>"[http://logstash\_system:xxxxxx@localhost:9200/](http://logstash_system:xxxxxx@localhost:9200/)", :error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[http://logstash\_system:xxxxxx@localhost:9200/](http://logstash_system:xxxxxx@localhost:9200/)][Manticore::SocketException] Connection refused (Connection refused)"}

[2018-01-23T15:39:30,732][WARN][logstash.licensechecker.licensereader] Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>"[http://logstash\_system:xxxxxx@localhost:9200/](http://logstash_system:xxxxxx@localhost:9200/)", :error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[http://logstash\_system:xxxxxx@localhost:9200/](http://logstash_system:xxxxxx@localhost:9200/)][Manticore::SocketException] Connection refused (Connection refused)"}

I have installed x-pack in elasticsearch, logstasha and kibana.

Thnks & Regards,  
Krunal.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 25, 2018, 9:01pm UTC](https://discuss.elastic.co/t/error-in-logstash/116646/2 "2018-01-25T21:01:02Z")

</div>

Logstash is trying to connect to localhost:9200. Is that where you're running ES?

---

<div class="post-metadata">

**Author:** ![Krunal\_kalaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krunal_kalaria/32/23862_2.png) [@Krunal\_kalaria](https://discuss.elastic.co/u/Krunal_kalaria)\
**Post date:** [January 29, 2018, 5:17am UTC](https://discuss.elastic.co/t/error-in-logstash/116646/3 "2018-01-29T05:17:41Z")

</div>

i have an ip of elasticsearch and kibana its running on same ip address 192.168.151.134:9200 & 5601

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 29, 2018, 6:56am UTC](https://discuss.elastic.co/t/error-in-logstash/116646/4 "2018-01-29T06:56:59Z")

</div>

That doesn't really answer my question, but make sure all aspects of Logstash (all elasticsearch outputs and the X-Pack monitoring configuration in logstash.yml) is configured to connect to wherever ES is running.

---

<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:** [February 26, 2018, 6:57am UTC](https://discuss.elastic.co/t/error-in-logstash/116646/5 "2018-02-26T06:57:21Z")

</div>

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