# Filebeat syslog input on windows

**URL:** <https://discuss.elastic.co/t/filebeat-syslog-input-on-windows/177523>\
**Category:** Beats\
**Created:** [April 18, 2019, 6:01pm UTC](https://discuss.elastic.co/t/filebeat-syslog-input-on-windows/177523 "2019-04-18T18:01:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmcgee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jmcgee/32/44355_2.png) [@jmcgee](https://discuss.elastic.co/u/jmcgee)\
**Post date:** [April 18, 2019, 6:01pm UTC](https://discuss.elastic.co/t/filebeat-syslog-input-on-windows/177523/1 "2019-04-18T18:01:47Z")

</div>

Has anyone successfully used the syslog input on windows?  
I have tried several incantations of configuration so far, and I get no results. Historically we have used nxlog to take syslog input and spool to a file on a windows device, then use filebeat to ship up to our elastic instance. This works, however if disable nxlog, and enable the config below, and I do not seem to get any errors that appear relavant to the syslog input until I stop the filebeat service.

This is currently on filebeat 6.4.1  
below is my config  
filebeat.inputs:

- type: syslog  
protocol.udp:  
host: "localhost:9200"

INFO [udp] udp/server.go:66 Started listening for UDP connection {"address": ":9200"}

| 2019-04-18T12:29:14.987-0400 | INFO | pipeline/output.go:95 | Connecting to backoff(async(tcp://redacted:5044)) |
| --- | --- | --- | --- |
| 2019-04-18T12:29:15.242-0400 | INFO | pipeline/output.go:105 | Connection to backoff(async(tcp://redacted:5044)) established |

2019-04-18T12:30:18.864-0400 INFO beater/filebeat.go:437 Stopping filebeat  
2019-04-18T12:30:18.864-0400 INFO crawler/crawler.go:139 Stopping Crawler  
2019-04-18T12:30:18.864-0400 INFO crawler/crawler.go:149 Stopping 2 inputs  
2019-04-18T12:30:18.865-0400 INFO cfgfile/reload.go:199 Dynamic config reloader stopped  
2019-04-18T12:30:18.865-0400 INFO input/input.go:149 input ticker stopped  
2019-04-18T12:30:18.865-0400 INFO input/input.go:149 input ticker stopped  
2019-04-18T12:30:18.865-0400 INFO input/input.go:167 Stopping Input: 5412875198630408736  
2019-04-18T12:30:18.865-0400 INFO input/input.go:167 Stopping Input: 5363834309349341485  
2019-04-18T12:30:18.865-0400 INFO [syslog] syslog/input.go:188 Stopping Syslog input  
2019-04-18T12:30:18.865-0400 INFO [udp] udp/server.go:117 Stopping UDP server {"address": ":9200"}  
2019-04-18T12:30:18.865-0400 ERROR [udp] udp/server.go:99 Error reading from the socket {"address": ":9200", "error": "read udp 0.0.0.0:9200: use of closed network connection"}  
2019-04-18T12:30:18.865-0400 INFO [udp] udp/server.go:121 UDP server stopped {"address": ":9200"}

---

<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:** [May 16, 2019, 8:04pm UTC](https://discuss.elastic.co/t/filebeat-syslog-input-on-windows/177523/2 "2019-05-16T20:04:22Z")

</div>

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