# \_grokparsefailure for Barracuda mailfiltering filter

**URL:** <https://discuss.elastic.co/t/-grokparsefailure-for-barracuda-mailfiltering-filter/21106>\
**Category:** Elasticsearch\
**Created:** [December 5, 2014, 2:42pm UTC](https://discuss.elastic.co/t/-grokparsefailure-for-barracuda-mailfiltering-filter/21106 "2014-12-05T14:42:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Midjich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefan_midjich/32/53429_2.png) [@Stefan\_Midjich](https://discuss.elastic.co/u/Stefan_Midjich)\
**Post date:** [December 5, 2014, 2:42pm UTC](https://discuss.elastic.co/t/-grokparsefailure-for-barracuda-mailfiltering-filter/21106/1 "2014-12-05T14:42:50Z")

</div>

I've made a couple of custom filters before as you can see in my  
filters.conf that I have attached.

But this barracuda filter refuses to parse. I keep getting  
\_grokparsefailure.

If I try the filter with this line in stdin it works.

$ sudo /opt/logstash/bin/logstash -e 'filter{ grok{match =\> [ "message",  
"%{BARRACUDAEVENT}" ] add\_field =\> ["type", "barracuda"] }}'  
\<23\>Dec 5 10:14:53 mgw04.hostname.se outbound/smtp: 127.0.0.1  
1417770891-042aaf5c1b019a0001-sxfhsE 0 0 SEND - 1 39E612187BC 250 2.6.0  
[0dd53c$eapljo@mail-gw2.someclient.com](mailto:0dd53c%24eapljo@mail-gw2.someclient.com) [InternalId=3354846] Queued mail  
for delivery #to#10.57.127.20

I have also attached the filter in question.

I get no errors in logstash logs indicating what could be wrong with my  
filter so I hope the community can help me.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/29cb9c60-ee17-42ae-8d9e-c5e5e71b67d5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/29cb9c60-ee17-42ae-8d9e-c5e5e71b67d5%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:45am UTC](https://discuss.elastic.co/t/-grokparsefailure-for-barracuda-mailfiltering-filter/21106/2 "2017-07-06T00:45:33Z")

</div>

Closed on July 6, 2017, 12:45am UTC


