# Log parse pattern for Kafka & ZooKeeper

**URL:** <https://discuss.elastic.co/t/log-parse-pattern-for-kafka-zookeeper/28442>\
**Category:** Logstash\
**Created:** [September 1, 2015, 2:09pm UTC](https://discuss.elastic.co/t/log-parse-pattern-for-kafka-zookeeper/28442 "2015-09-01T14:09:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anirban\_Mukherjee](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@Anirban\_Mukherjee](https://discuss.elastic.co/u/Anirban_Mukherjee)\
**Post date:** [September 1, 2015, 2:09pm UTC](https://discuss.elastic.co/t/log-parse-pattern-for-kafka-zookeeper/28442/1 "2015-09-01T14:09:42Z")

</div>

Hi ,

Currently I am using a cluster of Zookeeper and Kafka .  
I would like to parse these logs through logstash .

Is there any available pattern for these two types logs parsing ?

Thanks,  
AM

---

<div class="post-metadata">

**Author:** ![Joe\_Lawson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_lawson/32/3390_2.png) [@Joe\_Lawson](https://discuss.elastic.co/u/Joe_Lawson)\
**Post date:** [September 12, 2015, 6:53pm UTC](https://discuss.elastic.co/t/log-parse-pattern-for-kafka-zookeeper/28442/2 "2015-09-12T18:53:48Z")

</div>

I believe those systems use slf4j which you can configure to use a logstash  
appender and then ingest those into the pipeline easily.

> **[logstash/log4j-jsonevent-layout](https://github.com/logstash/log4j-jsonevent-layout)**
>
> log4j-jsonevent-layout - A prefab PatternLayout for log4j that generates logstash json\_event formatted data

---

<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, 5:29am UTC](https://discuss.elastic.co/t/log-parse-pattern-for-kafka-zookeeper/28442/3 "2017-07-06T05:29:18Z")

</div>

Closed on July 6, 2017, 5:29am UTC


