# Logstash failed to send ping to zen unicast

**URL:** <https://discuss.elastic.co/t/logstash-failed-to-send-ping-to-zen-unicast/42474>\
**Category:** Logstash\
**Created:** [February 23, 2016, 9:04am UTC](https://discuss.elastic.co/t/logstash-failed-to-send-ping-to-zen-unicast/42474 "2016-02-23T09:04:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sameer\_Dharur](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Sameer\_Dharur](https://discuss.elastic.co/u/Sameer_Dharur)\
**Post date:** [February 23, 2016, 9:04am UTC](https://discuss.elastic.co/t/logstash-failed-to-send-ping-to-zen-unicast/42474/1 "2016-02-23T09:04:47Z")

</div>

Hi,

I've used ELK successfully before but now I get the problem of failing to send ping to zen unicast.

Here's my config file -

input {  
file {  
path =\> "C:\logstash-1.5.4\slt.log"  
type =\> "sample"  
start\_position =\> "beginning"

}  
}

filter {  
grok {  
match =\> { "message" =\> "%{DATESTAMP\_RFC2822:time} %{NUMBER:temp} %{NUMBER:light} %{USERNAME:node}"}  
}  
}

output {  
elasticsearch {  
protocol =\> "http"  
}

elasticsearch {  
host =\> ["localhost:9300"]  
}

stdout {}

}

Could someone please tell me how I can rectify this?

Thanks!

---

<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:** [February 23, 2016, 2:56pm UTC](https://discuss.elastic.co/t/logstash-failed-to-send-ping-to-zen-unicast/42474/2 "2016-02-23T14:56:09Z")

</div>

I suggest you drop the second elasticsearch output and only use the HTTP one. That will avoid the particular error you have.

---

<div class="post-metadata">

**Author:** ![Sameer\_Dharur](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Sameer\_Dharur](https://discuss.elastic.co/u/Sameer_Dharur)\
**Post date:** [February 23, 2016, 3:23pm UTC](https://discuss.elastic.co/t/logstash-failed-to-send-ping-to-zen-unicast/42474/3 "2016-02-23T15:23:07Z")

</div>

Your solution worked. Thanks a lot Magnus!

---

<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:** [July 6, 2017, 5:10am UTC](https://discuss.elastic.co/t/logstash-failed-to-send-ping-to-zen-unicast/42474/4 "2017-07-06T05:10:06Z")

</div>


