# Logstash not listening

**URL:** <https://discuss.elastic.co/t/logstash-not-listening/249325>\
**Category:** Logstash\
**Created:** [September 21, 2020, 9:10am UTC](https://discuss.elastic.co/t/logstash-not-listening/249325 "2020-09-21T09:10:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chandana\_Koppal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandana_koppal/32/74456_2.png) [@Chandana\_Koppal](https://discuss.elastic.co/u/Chandana_Koppal)\
**Post date:** [September 21, 2020, 9:10am UTC](https://discuss.elastic.co/t/logstash-not-listening/249325/1 "2020-09-21T09:10:47Z")

</div>

2020-09-21T11:01:30.174+0530 INFO cfgfile/reload.go:224 Loading of config files completed.  
2020-09-21T11:01:31.181+0530 INFO [publisher\_pipeline\_output] pipeline/output.go:143 Connecting to backoff(async(tcp://localhost:5044))  
2020-09-21T11:01:31.181+0530 INFO [publisher] pipeline/retry.go:219 retryer: send unwait signal to consumer  
2020-09-21T11:01:31.183+0530 INFO [publisher] pipeline/retry.go:223 done  
2020-09-21T11:01:36.598+0530 ERROR [publisher\_pipeline\_output] pipeline/output.go:154 Failed to connect to backoff(async(tcp://localhost:5044)): dial tcp [::1]:5044: connectex: No connection could be made because the target machine actively refused it.  
2020-09-21T11:01:36.598+0530 INFO [publisher\_pipeline\_output] pipeline/output.go:145 Attempting to reconnect to backoff(async(tcp://localhost:5044)) with 1 reconnect attempt(s)

Logstash is not listening.

filebeat.yml

# ============================== Filebeat inputs ===============================

filebeat.inputs:

# Each - is an input. Most options can be set at the input level, so

# you can use different inputs for various configurations.

# Below are the input specific configurations.

- type: log

# ------------------------------ Logstash Output -------------------------------

output.logstash:

# The Logstash hosts

hosts: ["localhost:5044"]

# Optional SSL. By default is off.

# List of root certificates for HTTPS server verifications

#ssl.certificate\_authorities: ["/etc/pki/root/ca.pem"]

# Certificate for SSL client authentication

#ssl.certificate: "/etc/pki/client/cert.pem"

# Client Certificate Key

#ssl.key: "/etc/pki/client/cert.key"

logstash.yml

input {  
beats {  
port =\> 5044  
}  
}

output {  
elasticsearch {  
hosts =\> ["[http://localhost:9200](http://localhost:9200)"]  
index =\> "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"  
#user =\> "elastic"  
#password =\> "changeme"  
}  
}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 22, 2020, 10:27pm UTC](https://discuss.elastic.co/t/logstash-not-listening/249325/2 "2020-09-22T22:27:16Z")

</div>

Please format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

<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:** [October 20, 2020, 10:27pm UTC](https://discuss.elastic.co/t/logstash-not-listening/249325/3 "2020-10-20T22:27:16Z")

</div>

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