# CRIT No outputs are defined

**URL:** <https://discuss.elastic.co/t/crit-no-outputs-are-defined/38561>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 7, 2016, 1:29am UTC](https://discuss.elastic.co/t/crit-no-outputs-are-defined/38561 "2016-01-07T01:29:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharon.c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharon.c/32/16076_2.png) [@sharon.c](https://discuss.elastic.co/u/sharon.c)\
**Post date:** [January 7, 2016, 1:29am UTC](https://discuss.elastic.co/t/crit-no-outputs-are-defined/38561/1 "2016-01-07T01:29:51Z")

</div>

I am new with logstash, I am using logstash 1.5.4, and I am using filebeats to read files  
and foward to logstash pipeline  
I already installed filebeat input plugin, and started filebeat using systemctl.  
and I started the filebeat process using filebeat -c /etc/filebeat/filebeat\_test.yml  
In the filebeat configuration yml file, I put logstash output section like this:  
output:  
logstash:  
hosts: ["dev-elkstack2:5044"]  
index: filebeat

I also wrote the logstash configuration file like the following, and the pipleline

input {  
beats {  
port =\> 5044  
}  
}  
output {  
stdout { codec =\> rubydebug }  
}

but when I start the filebeats by  
filebeat -c /etc/filebeat/filebeat\_test.yml  
it says:

beat.go:97: CRIT No outputs are defined. Please define one under the output section.

Could you tell me which part is wrong?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 7, 2016, 6:51am UTC](https://discuss.elastic.co/t/crit-no-outputs-are-defined/38561/2 "2016-01-07T06:51:40Z")

</div>

YAML is picky about the indentation of lines. Have you indented them properly according to the examples in the documentation? We can't tell from what you've posted about since leading spaces are stripped unless you format the text block as code (which you always should do for configuration file snippets).

---

<div class="post-metadata">

**Author:** ![sharon.c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharon.c/32/16076_2.png) [@sharon.c](https://discuss.elastic.co/u/sharon.c)\
**Post date:** [January 7, 2016, 6:51pm UTC](https://discuss.elastic.co/t/crit-no-outputs-are-defined/38561/3 "2016-01-07T18:51:16Z")

</div>

Yes, you are right, I didn't pay attention to the indentations.

---

<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:56pm UTC](https://discuss.elastic.co/t/crit-no-outputs-are-defined/38561/4 "2017-07-05T21:56:56Z")

</div>


