# Problem witch characters "ãˆ°ãˆ±â´±ãˆ­ã„¶ã„¶ã„°" in field Message

**URL:** <https://discuss.elastic.co/t/problem-witch-characters-a-a-a-a-a-a-a-in-field-message/292214>\
**Category:** Logstash\
**Created:** [December 16, 2021, 7:28pm UTC](https://discuss.elastic.co/t/problem-witch-characters-a-a-a-a-a-a-a-in-field-message/292214 "2021-12-16T19:28:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adixon\_Diaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adixon_diaz/32/91182_2.png) [@Adixon\_Diaz](https://discuss.elastic.co/u/Adixon_Diaz)\
**Post date:** [December 16, 2021, 7:28pm UTC](https://discuss.elastic.co/t/problem-witch-characters-a-a-a-a-a-a-a-in-field-message/292214/1 "2021-12-16T19:28:02Z")

</div>

Hi Elastic team,

I have problem with some insertion in my logstash. I recieve a lot of row by second and some event give me "\_dateparsefailure" i could see in debug mode that this issue es when the field message come the next data:

```auto
[2] "_dateparsefailure"
    ],
       "timestampepoch" => 1639682110703,
          "fechafinsub" => "",
              "Message" => "ãˆ°ãˆ±â´±ãˆ­ã„¶ã„¶ã„°ã€¸ãŒ±ã€°ãˆµã„±ã�´å�†ä¥“ä•’å��å‘’äŒµã„°â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â��â€ â€ ã€°ã€±ã€°ã€°ã„°å•“å•�å‰‰ä¼±â€ â€ ã€°ãŒ¹ã€°ã€°â€ â€ â€ â€ ãˆ°ãˆ±â´±ãˆ­ã„¶ãˆ°ãˆ±â´±ãˆ­ã„¶â€ â€ â€ å�†ä¥“ä•’åŒ â€ â�ƒä±…ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€°ã€ â€ â€ ä¥“ä•’ã�³ãŒ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€°ã€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€°ã€°ã€°ã€°ã€°ã€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ ã€°ã…“â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€ â€°ã€°ã„ åŒ°ã€±â��å‰�å� ä�’ä” å�’ä½”â�ƒå‰…ä�‰â€²ã€±ã„­ã€´â´±ã¤ ãˆ±ã€°â´°ã„­ã€±â�“â€²ã€±ã„­ã€´â´±ã¤­ã„µâ¸²ã”®ãˆ³â¸°ã”µã”²ãŒ¯â�“ã€°ãˆ ä™�äµ‰ä±‰ä„ â�†ä…�ä¥Œä¥�â€ â€ ãˆ°ã„±â´°ã�­ã„¹â€²ã„°ã€­ã€±â´°ã„ åŒ ãˆ°ã„±â´°ã�­ã„¹â´±ã”®ãŒ²â¸³ãˆ®ã€µã”¹ã”²â¼ åŒ°ã€³â�†å‰�å•„ä” â€ ä™’ä…•ä‘…â€ â€ â€²ã€±ã„­ã€´â´±ã¤ ãˆ±ã€°â´°ã„­ã€±â�“â€²ã€±ã„­ã€´â´±ã¤­ã„µâ¸³ã�®ã€³â¸°ã”¶ã€´ãŒ¯â�“ã€°ã� ä™•ä±Œâ€ â€ â�†å•Œä° â€ â€ â€ ãˆ°ã„±â´°ã�­ã„¹â€²ã„°ã€­ã€±â´°ã„ åŒ ãˆ°ã„±â´°ã�­ã„¹â´±ã”®ãŒµâ¸²ã¤®ã€µã˜±ãˆ¹â¼ åŒ°ã€µâ�”ä±�ä¬ ã„ â€ å‘Œäµ‹â€±â€ â€ â€²ã€±ã„­ã€´â´±ã¤ ãˆ±ã€°â´°ã„­ã€±â�“â€²ã€±ã„­ã€´â´±ã¤­ã„µâ¸³ãœ®ã„¸â¸°ã”¶ãˆ³ã ¯â�“ã€°ã˜ å‘Œäµ‹â€²â€ â�”ä±�ä¬ ãˆ â€ â€ ãˆ°ã„±â´°ã�­ã„¹â€²ã„°ã€­ã€±â´°ã„ åŒ ãˆ°ã„±â´°ã�­ã„¹â´±ã”®ãŒ¸â¸²ã ®ã€µã˜³ã€¸â¼ åŒ°ã€·â�”ä±�ä¬ ãŒ â€ å‘Œäµ‹â€³â€ â€ â€²ã€±ã„­ã€´â´±ã¤ ãˆ±ã€°â´°ã„­ã€±â�“â€²ã€±ã„­ã€´â´±ã¤­ã„µâ

```

I don't understand why happen this, because in the source log i don't see this characters , so i think that could be something in comunication label.

i have tried with the next input format:

```auto
input {

  tcp {
    codec => json_lines { charset => CP1252 }
    port => 5061
    tags => ["tcpjson"]
    # host => "nxlog"
  }
}

```

And my output is:

```auto
output {

  stdout { codec => rubydebug }
}

```

I apreciate your helps.

---

<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:** [December 16, 2021, 8:11pm UTC](https://discuss.elastic.co/t/problem-witch-characters-a-a-a-a-a-a-a-in-field-message/292214/3 "2021-12-16T20:11:09Z")

</div>

JSON is, by specification, Unicode. If you have CP1252-encoded strings, the charset converter will certainly do its best to transcode them into Unicode before the JSON parser in the codec kicks in, but you are by definition in unspecified behaviour territory. The characters outside the normal lower Unicode plane seem to indicate issues with character conversions.

That said, the `_dateparsefailure` comes from a `date` filter. Somewhere in your pipeline you have one configured to read a field, interpret its contents, and produce a timestamp. It puts this failure tag when the value in the field does not match any of the provided formats. This could be caused by the previously-mentioned encoding issues, or could be something else entirely.

---

<div class="post-metadata">

**Author:** ![Adixon\_Diaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adixon_diaz/32/91182_2.png) [@Adixon\_Diaz](https://discuss.elastic.co/u/Adixon_Diaz)\
**Post date:** [December 16, 2021, 8:17pm UTC](https://discuss.elastic.co/t/problem-witch-characters-a-a-a-a-a-a-a-in-field-message/292214/4 "2021-12-16T20:17:45Z")

</div>

Yes is exactly the codification issue, i understand that \_dateparsefailure is generate for this codification issue, actually if i comment my code in date conversion my code works.

How can i solved this situation?

---

<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:** [January 13, 2022, 8:18pm UTC](https://discuss.elastic.co/t/problem-witch-characters-a-a-a-a-a-a-a-in-field-message/292214/5 "2022-01-13T20:18:21Z")

</div>

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