# Winlogbeat does not send logs to Logstash

**URL:** <https://discuss.elastic.co/t/winlogbeat-does-not-send-logs-to-logstash/131128>\
**Category:** Beats\
**Created:** [May 9, 2018, 8:30am UTC](https://discuss.elastic.co/t/winlogbeat-does-not-send-logs-to-logstash/131128 "2018-05-09T08:30:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![student](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@student](https://discuss.elastic.co/u/student)\
**Post date:** [May 9, 2018, 8:30am UTC](https://discuss.elastic.co/t/winlogbeat-does-not-send-logs-to-logstash/131128/1 "2018-05-09T08:30:24Z")

</div>

Hi

I've recently been trying to make it so Winlogbeat sends it's logs to Logstash but nothing is happening. Then I tried to send logs directly to Elasticsearch and it works. I don't know what the problem is.  
I've checked my firewall and there is nothing blocking it.

Logstash configuration:

input {  
tcp {  
port =\> 5001  
}  
}

filter {  
grok {  
match =\> ['TimeCreated', "Date(%{NUMBER:timestamp})"]  
}  
date {  
match =\> ['timestamp', 'UNIX\_MS']  
}  
}  
output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
index =\> ["winlogbeat"]  
}  
}

Logstash says in the logs that it's listening on port 5001 for tcp. I've also changed the Winlogbeat output to send with tcp to port 5001.  
I also tried to use beats instead of tcp but nothing differed, it still didn't get any input.  
To simplify I have not used any SSL, user authentication or anything else that might bother the connection.

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [May 9, 2018, 10:26am UTC](https://discuss.elastic.co/t/winlogbeat-does-not-send-logs-to-logstash/131128/2 "2018-05-09T10:26:15Z")

</div>

Hi @student,

If there is an error you will probably see it in Winlogbeat logs, did you have a look to them?

Best regards

---

<div class="post-metadata">

**Author:** ![student](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@student](https://discuss.elastic.co/u/student)\
**Post date:** [May 9, 2018, 11:56am UTC](https://discuss.elastic.co/t/winlogbeat-does-not-send-logs-to-logstash/131128/3 "2018-05-09T11:56:18Z")

</div>

Hi

Thank you I didn't know that you have to specify that you want logs from winlogbeat.  
Is there a way to make winlogbeat send using UDP?

---

<div class="post-metadata">

**Author:** ![student](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@student](https://discuss.elastic.co/u/student)\
**Post date:** [May 10, 2018, 7:42am UTC](https://discuss.elastic.co/t/winlogbeat-does-not-send-logs-to-logstash/131128/4 "2018-05-10T07:42:57Z")

</div>

I've resolved it, the firewall wasn't opend for my subnet.

---

<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:** [June 7, 2018, 9:43am UTC](https://discuss.elastic.co/t/winlogbeat-does-not-send-logs-to-logstash/131128/5 "2018-06-07T09:43:02Z")

</div>

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