Convert Field Data to UTF8 or ISO-8859-1

Hi Everyone,

I would like to convert a field called "subject" to UTF-8 but I wasn't able to do it.

I have configured logstash using charset ISO-8859-1and UTF-8 but Is not working. Here is an example of the data from the field: (notice that it is not readable)

subject:	=?utf-8?Q?1859=2C=20your=20support=20means=20everything=20to=20us?=

The following lines are the config that I have tested but they didn't work:

With ISO-8859-1:

    input {
      udp { 
        port => xxx
        type => xxx
        codec => plain { charset => "ISO-8859-1" }
      }
    }

With UTF-8:

    input {
      udp { 
        port => xxx
        type => xxx
        codec => plain { charset => "UTF-8" }
      }

Help would be greatly appreciated as i'm still a newbie when it comes to logstash, elasticssearch, and kibana, Thanks in advance.

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