# No outputs are defined error is shown

**URL:** <https://discuss.elastic.co/t/no-outputs-are-defined-error-is-shown/45772>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 30, 2016, 9:27am UTC](https://discuss.elastic.co/t/no-outputs-are-defined-error-is-shown/45772 "2016-03-30T09:27:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roshan\_r](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roshan_r/32/9760_2.png) [@Roshan\_r](https://discuss.elastic.co/u/Roshan_r)\
**Post date:** [March 30, 2016, 9:27am UTC](https://discuss.elastic.co/t/no-outputs-are-defined-error-is-shown/45772/1 "2016-03-30T09:27:56Z")

</div>

I am using filebeat for the first time and i could see an error while starting the filebeat.

Error is as follows  
**[root@astropdl filebeat]# service filebeat start**  
**Starting filebeat: Error Initialising publisher: No outputs are defined. Please define one under the output section.**  
**2016/03/30 09:24:05.689672 beat.go:140: CRIT No outputs are defined. Please define one under the output section.**

But i have commented out the output for elasticsearch and enabled it for logstash as mentioned below.

logstash:  
# The Logstash hosts  
hosts: ["10.209.26.147:5044"]

---

<div class="post-metadata">

**Author:** ![Roshan\_r](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roshan_r/32/9760_2.png) [@Roshan\_r](https://discuss.elastic.co/u/Roshan_r)\
**Post date:** [March 30, 2016, 9:47am UTC](https://discuss.elastic.co/t/no-outputs-are-defined-error-is-shown/45772/2 "2016-03-30T09:47:27Z")

</div>

I found the error and fixed it.

---

<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:** [July 5, 2017, 9:54pm UTC](https://discuss.elastic.co/t/no-outputs-are-defined-error-is-shown/45772/3 "2017-07-05T21:54:04Z")

</div>


