# Output not working

**URL:** <https://discuss.elastic.co/t/output-not-working/60261>\
**Category:** Logstash\
**Created:** [September 12, 2016, 8:07am UTC](https://discuss.elastic.co/t/output-not-working/60261 "2016-09-12T08:07:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lorenzo\_Mainardi](https://avatars.discourse-cdn.com/v4/letter/l/fbc32d/32.png) [@Lorenzo\_Mainardi](https://discuss.elastic.co/u/Lorenzo_Mainardi)\
**Post date:** [September 12, 2016, 8:07am UTC](https://discuss.elastic.co/t/output-not-working/60261/1 "2016-09-12T08:07:49Z")

</div>

Hello to all,  
I'm configuring logstash for parsing a custom log with logstash and sending it to Elasticsearch.

This is my output session:

output {  
stdout { codec =\> rubydebug }  
elasticsearch { hosts =\> ["10.255.200.66:9200"] }  
}

and everything works fine.

If I remove the line "stdout { codec =\> rubydebug }", the elasticsearch sending is not working anymore.

Where I'm doing 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:** [September 13, 2016, 5:52am UTC](https://discuss.elastic.co/t/output-not-working/60261/2 "2016-09-13T05:52:31Z")

</div>

That doesn't sound reasonable. Start by checking your logs. You may have to bump the logging verbosity to get additional details.

---

<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 6, 2017, 4:38am UTC](https://discuss.elastic.co/t/output-not-working/60261/3 "2017-07-06T04:38:49Z")

</div>


