# Logstash grok filter for mailbox.log zimbra server

**URL:** <https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra-server/81461>\
**Category:** Elasticsearch\
**Created:** [April 6, 2017, 12:19pm UTC](https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra-server/81461 "2017-04-06T12:19:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aziz\_007](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@aziz\_007](https://discuss.elastic.co/u/aziz_007)\
**Post date:** [April 6, 2017, 12:19pm UTC](https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra-server/81461/1 "2017-04-06T12:19:38Z")

</div>

hi i am triying to build a pattern fro this log line in mailbox.log for zimbra

2017-04-03 20:31:09,256 INFO [LmtpServer-3] [ip=192.168.1.102;] lmtp - Delivering message: size=1517 bytes, nrcpts=1, [sender=admin@server.tn](mailto:sender=admin@server.tn), [msgid=20170403183049.4581C40F490F@zimbra.server.tn](mailto:msgid=20170403183049.4581C40F490F@zimbra.server.tn)

this is how far i got in making the pattern  
ZIMBRA\_MAILBOXLOG %{YEAR:year}-%{MONTHNUM:month}-%{MONTHDAY:day} %{TIME:time},(?[d]\*) %{WORD:loglevel} [%{DATA:class}] [%{IP:client}]

any help please to complete it thanks 🙂

---

<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:** [May 4, 2017, 12:19pm UTC](https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra-server/81461/2 "2017-05-04T12:19:47Z")

</div>

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