# Rubydebug not working when swtiching over to kafka input

**URL:** <https://discuss.elastic.co/t/rubydebug-not-working-when-swtiching-over-to-kafka-input/151518>\
**Category:** Logstash\
**Created:** [October 8, 2018, 8:34pm UTC](https://discuss.elastic.co/t/rubydebug-not-working-when-swtiching-over-to-kafka-input/151518 "2018-10-08T20:34:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramzey1981](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@ramzey1981](https://discuss.elastic.co/u/ramzey1981)\
**Post date:** [October 8, 2018, 8:34pm UTC](https://discuss.elastic.co/t/rubydebug-not-working-when-swtiching-over-to-kafka-input/151518/1 "2018-10-08T20:34:38Z")

</div>

when i had the following input in logstash with the following specified, stdout { codec =\> rubydebug { metadata =\> true } } i would be able to see all the logs that logstash was processing.

input {  
redis {  
host =\> "localhost"  
data\_type =\> "list"  
key =\> "filebeat"  
}  
}

I switched my input to this and now im not able to see the logs that are getting processed by logstash,

input {  
kafka {  
bootstrap\_servers =\> "localhost:9092"  
codec =\> "json"  
topics =\> "logstash"  
auto\_offset\_reset =\> "earliest"  
decorate\_events =\> true  
}  
}

the logs are making it to elasticsearch because i see them in kibana and I am using the following logstash version, logstash-6.3.0-1

---

<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:** [November 5, 2018, 8:47pm UTC](https://discuss.elastic.co/t/rubydebug-not-working-when-swtiching-over-to-kafka-input/151518/2 "2018-11-05T20:47:54Z")

</div>

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