# ERR Connecting error publishing events

**URL:** https://discuss.elastic.co/t/err-connecting-error-publishing-events/79419
**Category:** Beats
**Tags:** winlogbeat
**Created:** [March 21, 2017, 1:06pm UTC](https://discuss.elastic.co/t/err-connecting-error-publishing-events/79419 "2017-03-21T13:06:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wmcgilvery](https://avatars.discourse-cdn.com/v4/letter/w/eb8c5e/32.png) [@wmcgilvery](https://discuss.elastic.co/u/wmcgilvery)
#### Post date: [March 21, 2017, 1:06pm UTC](https://discuss.elastic.co/t/err-connecting-error-publishing-events/79419/1 "2017-03-21T13:06:30Z")

</div>

Hello:

I am brand new to this and I have installed the ELK server based on this - [https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04](https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04)

It appears to working fine.

I installed the winlogbeat on a Windows 2008 r2 server and I am attempting to send the event logs to the elk server - here is my config.

```auto
winlogbeat.event_logs:
  - name: Application
    ignore_older: 72h
  - name: Security
  - name: System

#----------------------------- Logstash output --------------------------------
#output.logstash:
  # The Logstash hosts
    hosts: ["10.91.50.100: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"

#================================ Logging =====================================

# Sets log level. The default log level is info.
# Available log levels are: critical, error, warning, info, debug
#logging.level: debug

```

The error I am getting is -  
2017-03-20T12:21:44-04:00 ERR Connecting error publishing events (retrying): Get [http://10.91.50.100:5044](http://10.91.50.100:5044): EOF

I am not using SSL.

The beat file config is.

```auto
input {
  beats {
    port => 5044
  }
}

```

Any suggestions?

thanks

Wil

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [March 21, 2017, 2:32pm UTC](https://discuss.elastic.co/t/err-connecting-error-publishing-events/79419/2 "2017-03-21T14:32:50Z")

</div>

The beat is trying to use the elasticsearch output and not the logstash output.

Make sure that you have commented out or removed the elasticsearch configuration block. Then you need to uncomment the logstash output. You still have `#output.logstash:` in your config file which comments out the logstash config.

---

<div class="post-metadata">

### Author: ![wmcgilvery](https://avatars.discourse-cdn.com/v4/letter/w/eb8c5e/32.png) [@wmcgilvery](https://discuss.elastic.co/u/wmcgilvery)
#### Post date: [March 21, 2017, 3:09pm UTC](https://discuss.elastic.co/t/err-connecting-error-publishing-events/79419/3 "2017-03-21T15:09:16Z")

</div>

Awesome - working now - I missed that thanks.

---

<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: [April 18, 2017, 3:09pm UTC](https://discuss.elastic.co/t/err-connecting-error-publishing-events/79419/4 "2017-04-18T15:09:17Z")

</div>

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