# Logstash kafka input

**URL:** <https://discuss.elastic.co/t/logstash-kafka-input/54424>\
**Category:** Logstash\
**Created:** [June 30, 2016, 3:19pm UTC](https://discuss.elastic.co/t/logstash-kafka-input/54424 "2016-06-30T15:19:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![somu1276](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@somu1276](https://discuss.elastic.co/u/somu1276)\
**Post date:** [June 30, 2016, 3:19pm UTC](https://discuss.elastic.co/t/logstash-kafka-input/54424/1 "2016-06-30T15:19:34Z")

</div>

I am trying logstash kafka input. generally all plugins wrap the message in "message", but kafka input showing without message field.

{"msg" =\> "validationStatus : S","hostName" =\> "xxxxccrc-val","level" =\> "INFO","logger" =\> "Log","methodName" =\> "validate","thread" =\> "http-bio-8080-exec-3","version" =\> nil,"Line" =\>183,"requestId" =\> "1467299356596","batchNumber" =\> "0","@version" =\> "1","@timestamp" =\>"2016-06-30T15:09:16.777Z"}

but I am looking the message like other plugins give. with message field included.

{"message": {"msg" =\> "validationStatus : S","hostName" =\> "xxxxccrc-val","level" =\> "INFO","logger" =\> "Log","methodName" =\> "validate","thread" =\> "http-bio-8080-exec-3","version" =\> nil,"Line" =\>183,"requestId" =\> "1467299356596","batchNumber" =\> "0"}","@version" =\> "1","@timestamp" =\>"2016-06-30T15:09:16.777Z"}

---

<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:50am UTC](https://discuss.elastic.co/t/logstash-kafka-input/54424/2 "2017-07-06T04:50:07Z")

</div>


