# Detect logstash output failure

**URL:** https://discuss.elastic.co/t/detect-logstash-output-failure/72725
**Category:** Logstash
**Created:** [January 25, 2017, 5:09am UTC](https://discuss.elastic.co/t/detect-logstash-output-failure/72725 "2017-01-25T05:09:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rubpa](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@rubpa](https://discuss.elastic.co/u/rubpa)
#### Post date: [January 25, 2017, 5:09am UTC](https://discuss.elastic.co/t/detect-logstash-output-failure/72725/1 "2017-01-25T05:09:39Z")

</div>

I realised that logstash does not log any error/warning if the output is gelf like below and the server a.b.c.d is down.

`gelf { host => "a.b.c.d" }`

The [code](https://github.com/logstash-plugins/logstash-output-gelf/blob/master/lib/logstash/outputs/gelf.rb#L194) seems to have a warning but I don't get any.

Any tips?

---

<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 22, 2017, 5:09am UTC](https://discuss.elastic.co/t/detect-logstash-output-failure/72725/2 "2017-02-22T05:09:40Z")

</div>

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