# HOW TO HAVE A CLEAN OUTPUT WITH RUBY DEBUG?

**URL:** <https://discuss.elastic.co/t/how-to-have-a-clean-output-with-ruby-debug/192707>\
**Category:** Logstash\
**Created:** [July 29, 2019, 1:30pm UTC](https://discuss.elastic.co/t/how-to-have-a-clean-output-with-ruby-debug/192707 "2019-07-29T13:30:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![science162](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/science162/32/52601_2.png) [@science162](https://discuss.elastic.co/u/science162)\
**Post date:** [July 29, 2019, 1:30pm UTC](https://discuss.elastic.co/t/how-to-have-a-clean-output-with-ruby-debug/192707/1 "2019-07-29T13:30:20Z")

</div>

Hello, after configuring my simple logstash.conf with input stdin and output stdout, I always get a duty output with

input :  
dhschggdsgg

output :  
{  
"host"←[0;37m =\> ←[0m←[0;33m"hostname"←[0m,  
"message"←[0;37m =\> ←[0m←[0;33m"dhschggdsgg \r"←[0m,  
"@version"←[0;37m =\> ←[0m←[0;33m"1"←[0m,  
"@timestamp"←[0;37m =\> ←[0m2019-07-29T13:14:51.086Z  
}

logstash.conf

input {  
stdin {  
}  
}

output {  
stdout{  
codec =\> rubydebug  
}  
}

I just want to have something as output clean without [0;37m .. everywhere

can someone help me please ?

---

<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:** [August 26, 2019, 1:32pm UTC](https://discuss.elastic.co/t/how-to-have-a-clean-output-with-ruby-debug/192707/2 "2019-08-26T13:32:13Z")

</div>

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