# Messing with "Umlaute" and how to manage Ö = Ã¶ Ü = Ã¼ Ä = Ã¤ á & ó = Ã¡ é = Ã©

**URL:** <https://discuss.elastic.co/t/messing-with-umlaute-and-how-to-manage-o-a-u-a-a-a-a-o-a-e-a/165790>\
**Category:** Logstash\
**Created:** [January 25, 2019, 2:07pm UTC](https://discuss.elastic.co/t/messing-with-umlaute-and-how-to-manage-o-a-u-a-a-a-a-o-a-e-a/165790 "2019-01-25T14:07:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)\
**Post date:** [January 25, 2019, 2:07pm UTC](https://discuss.elastic.co/t/messing-with-umlaute-and-how-to-manage-o-a-u-a-a-a-a-o-a-e-a/165790/1 "2019-01-25T14:07:30Z")

</div>

Hi there,

I have some issues with Ö Ü Ä ö ü ä á ó é etc.

Codec plain is installed!  
log = csv by log4j2 standard charset ISO-8859-1

My Config:

Filebeat:

```
- type: log
  encoding: ISO-8859-1

```

Logstash:

```
input {
	beats {
	port => "5044"
	codec => plain {charset => "ISO-8859-1"}
	}
}

```

My results are:

Ö = Ã¶  
Ü = Ã¼  
Ä = Ã¤  
á & ó = Ã¡  
é = Ã©

I tried also with CP1252 and many other charsets!

What I did as a workaround I replace the chars manualy because logstash ignore them:

```
mutate{
        gsub => [
		"Name", "Ã¤", "ae",
            "Name", "Ã¶", "oe",
            "Name", "Ã¼", "ue",
			"Name", "Ã©", "e"
        ]
    }

```

But what, that should not be the common way to handle this.

I want "Umlaute"

What should I do to get my expected results?

Thanks in advance  
Regards

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [January 26, 2019, 7:37am UTC](https://discuss.elastic.co/t/messing-with-umlaute-and-how-to-manage-o-a-u-a-a-a-a-o-a-e-a/165790/2 "2019-01-26T07:37:11Z")

</div>

By telling Filebeat that the source document is in `ISO-8859-1`, you are enabling Filebeat convert it into a normalised representation (UTF-8), which is then used for transmitting the events to Logstash -- you should not need to configure Logstash to know about the on-disk encoding, because the bytes sent from Filebeat to Logstash should already be in UTF-8.

---

<div class="post-metadata">

**Author:** ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)\
**Post date:** [January 26, 2019, 1:14pm UTC](https://discuss.elastic.co/t/messing-with-umlaute-and-how-to-manage-o-a-u-a-a-a-a-o-a-e-a/165790/3 "2019-01-26T13:14:24Z")

</div>

Hi,  
oh yes It works!  
I thougt I already tried this way but obviously not!  
Lot of things left to learn...  
Thanks for your reply.

---

<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:** [February 23, 2019, 1:14pm UTC](https://discuss.elastic.co/t/messing-with-umlaute-and-how-to-manage-o-a-u-a-a-a-a-o-a-e-a/165790/4 "2019-02-23T13:14:24Z")

</div>

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