# Where can I find rubydebug output

**URL:** <https://discuss.elastic.co/t/where-can-i-find-rubydebug-output/94905>\
**Category:** Logstash\
**Created:** [July 28, 2017, 6:11am UTC](https://discuss.elastic.co/t/where-can-i-find-rubydebug-output/94905 "2017-07-28T06:11:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Post date:** [July 28, 2017, 6:11am UTC](https://discuss.elastic.co/t/where-can-i-find-rubydebug-output/94905/1 "2017-07-28T06:11:11Z")

</div>

```
stdout {
 codec =&gt; rubydebug
 }

```

TIA

---

<div class="post-metadata">

**Author:** ![lnm](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@lnm](https://discuss.elastic.co/u/lnm)\
**Post date:** [July 28, 2017, 12:57pm UTC](https://discuss.elastic.co/t/where-can-i-find-rubydebug-output/94905/2 "2017-07-28T12:57:53Z")

</div>

Your description is a bit basic, so I'm not sure if this is your config. Assuming you have a valid

input and filter config part, your output should look something like this:

```
output {
  stdout { codec => rubydebug }
}

```

The above example will give you a ruby debug output on your console.

If you would rather write it to file you can do it like this:

```
output {
 file {
   path => /tmp/my_output_text_file
   codec => rubydebug
 }
}
```

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [July 29, 2017, 4:11pm UTC](https://discuss.elastic.co/t/where-can-i-find-rubydebug-output/94905/3 "2017-07-29T16:11:37Z")

</div>

If you start your config with service logstash start your output might end up in /var/log/upstart/

---

<div class="post-metadata">

**Author:** ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Post date:** [July 29, 2017, 7:25pm UTC](https://discuss.elastic.co/t/where-can-i-find-rubydebug-output/94905/4 "2017-07-29T19:25:07Z")

</div>

Thanks for your input. But when I run, there's no console. Maybe I should look on the log of the logstash.

---

<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, 2017, 7:25pm UTC](https://discuss.elastic.co/t/where-can-i-find-rubydebug-output/94905/5 "2017-08-26T19:25:25Z")

</div>

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