# Logstash not receiving data

**URL:** <https://discuss.elastic.co/t/logstash-not-receiving-data/151865>\
**Category:** Logstash\
**Created:** [October 10, 2018, 2:35pm UTC](https://discuss.elastic.co/t/logstash-not-receiving-data/151865 "2018-10-10T14:35:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mancharagopan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mancharagopan/32/60266_2.png) [@mancharagopan](https://discuss.elastic.co/u/mancharagopan)\
**Post date:** [October 10, 2018, 2:35pm UTC](https://discuss.elastic.co/t/logstash-not-receiving-data/151865/1 "2018-10-10T14:35:14Z")

</div>

Can somebody please help me setup logstash? I am trying to send the event logs from windows server to logstash and then to elasticsearch. I installed Elasticsearch and Kibana successfully. Then i installed logstash and created a.conf file to receive event logs via port 5044 and send it to elastic search. But winlogbeat log file showing it sends datato logstash but in logstash side nothing happening.

My .conf file,  
input {  
beats {  
port =\> 5044  
}  
}

filter {

}

output {  
elasticsearch {  
hosts =\> ["172.20.11.19:9200"]  
sniffing =\> true  
manage\_template =\> true  
index =\> "%{[@metadata][beat]}-%{+YYYY.MM.dd}"  
document\_type =\> "%{[@metadata][type]}"  
}  
stdout { codec =\> rubydebug }  
}

I didn't change anything in logstash.yml

---

<div class="post-metadata">

**Author:** ![mancharagopan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mancharagopan/32/60266_2.png) [@mancharagopan](https://discuss.elastic.co/u/mancharagopan)\
**Post date:** [October 10, 2018, 2:48pm UTC](https://discuss.elastic.co/t/logstash-not-receiving-data/151865/2 "2018-10-10T14:48:08Z")

</div>

I allowed 5044 and 9600 port in the firewall. Now i am receiving events.

---

<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:** [November 7, 2018, 3:02pm UTC](https://discuss.elastic.co/t/logstash-not-receiving-data/151865/3 "2018-11-07T15:02:11Z")

</div>

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