# Grok failes due to ÅÄÖ in syslog

**URL:** <https://discuss.elastic.co/t/grok-failes-due-to-aao-in-syslog/126876>\
**Category:** Logstash\
**Created:** [April 5, 2018, 8:17am UTC](https://discuss.elastic.co/t/grok-failes-due-to-aao-in-syslog/126876 "2018-04-05T08:17:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshiegy](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@joshiegy](https://discuss.elastic.co/u/joshiegy)\
**Post date:** [April 5, 2018, 8:17am UTC](https://discuss.elastic.co/t/grok-failes-due-to-aao-in-syslog/126876/1 "2018-04-05T08:17:09Z")

</div>

G'day!

So I'm trying to parse our syslog at my company. Most lines work but any line with the Swedish/nordic characters Å Ä Ö failes and the log says

> Grok regexp threw exception {:exception=\>"incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)"

I've tried to add "encoding: utf-8" on both filebeat and logstash but it still fails.  
Any clues?

---

<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 3, 2018, 8:17am UTC](https://discuss.elastic.co/t/grok-failes-due-to-aao-in-syslog/126876/2 "2018-05-03T08:17:15Z")

</div>

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