# Problem with filebeat.yml

**URL:** <https://discuss.elastic.co/t/problem-with-filebeat-yml/134144>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 1, 2018, 6:09am UTC](https://discuss.elastic.co/t/problem-with-filebeat-yml/134144 "2018-06-01T06:09:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [June 1, 2018, 7:00am UTC](https://discuss.elastic.co/t/problem-with-filebeat-yml/134144/4 "2018-06-01T07:00:22Z")

</div>

I get a different error for this snippet you provided:

```auto
 Exiting: error initializing publisher: No outputs are defined. Please define one under the output section.

```

This could be eliminated with the following:

```auto
output.logstash:
  # The Logstash hosts
 hosts: ["localhost:5044"]

```

However, I still need to see your full configuration. If it contains sensitive data, just change it to `x` or something else.

---

_[View the full topic](https://discuss.elastic.co/t/problem-with-filebeat-yml/134144)._
