# Logstash stuck when lumberjack server is down

**URL:** <https://discuss.elastic.co/t/logstash-stuck-when-lumberjack-server-is-down/318166>\
**Category:** Logstash\
**Created:** [November 4, 2022, 7:25am UTC](https://discuss.elastic.co/t/logstash-stuck-when-lumberjack-server-is-down/318166 "2022-11-04T07:25:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferdose\_shaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ferdose_shaik/32/112813_2.png) [@ferdose\_shaik](https://discuss.elastic.co/u/ferdose_shaik)\
**Post date:** [November 4, 2022, 7:25am UTC](https://discuss.elastic.co/t/logstash-stuck-when-lumberjack-server-is-down/318166/1 "2022-11-04T07:25:23Z")

</div>

We are using Logstash 7.15.2 with following lumberjack output configured.

```auto
output {
  lumberjack {
   id => "dcae5gcprod"
   hosts => ["dcae-5gc-prod.ecomp.idns.cci.att.com"]
   codec => json
   port => 31135
   ssl_certificate => "/run/secrets/lumberjackOutput-certs/tls.crt"
  }
  
}

```

When the lumberjack server goes down or the connection is lost, we observe Logstash remains in stuck state and not re-trying to connect to the lumberjack output. The problem is recovered by restarting Logstash.  
I have tried looking in other topics, but I failed to see any that had a similar behavior.  
Could you please check and suggest.

---

<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:** [December 2, 2022, 7:26am UTC](https://discuss.elastic.co/t/logstash-stuck-when-lumberjack-server-is-down/318166/2 "2022-12-02T07:26:11Z")

</div>

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