# Logstash grok filter for mailbox.log zimbra

**URL:** <https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra/81459>\
**Category:** Kibana\
**Created:** [April 6, 2017, 12:17pm UTC](https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra/81459 "2017-04-06T12:17:30Z")\
**Posts on this page:** 4\
**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:17pm UTC](https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra/81459/1 "2017-04-06T12:17:30Z")

</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: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:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [April 6, 2017, 9:02pm UTC](https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra/81459/2 "2017-04-06T21:02:47Z")

</div>

I don't know if there's many grok experts in this neck of the woods. You might get more help by posting over in [the logstash section](https://discuss.elastic.co/c/logstash).

---

<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, 9:10pm UTC](https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra/81459/3 "2017-04-06T21:10:37Z")

</div>

ok think you 🙂

---

<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, 9:11pm UTC](https://discuss.elastic.co/t/logstash-grok-filter-for-mailbox-log-zimbra/81459/4 "2017-05-04T21:11:05Z")

</div>

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