Japanese field name garbled


#1

When I use Japanese as the filed name, the filed name garbled at the output phase in Logstash.

Elastic Stack(Logstash, Elasticsearch, Kibana) version: 5.6.5 and 6.1.3

expect: (dummy data)

{
"性別" => "男性",
"address" => "神奈川県川崎市幸区",
"mail" => "ringusualflat@tall",
"年齢" => 28,
"職業­" => "歌手",
"message" => "{"timestamp":"2017-11-10 01:19:48 +0000 UTC","mail":"ringusualflat@tall","性別":"男性","年齢":28,"address":"神奈川県川崎市幸区","職業":"歌手","既婚":false,"course":"A01","option":[false,true,true]}",
"æ\u0097¢å©\u009A" => false,
"@timestamp" => 2017-11-10T01:19:48.000Z,
"@version" => "1",
"course" => "A01",
"timestamp" => "2017-11-10 01:19:48 +0000 UTC",
"option" => [
[0] false,
[1] true,
[2] true
]
}

actual:

{
"æ\u0080§å\u0088¥" => "男性",
"address" => "神奈川県川崎市幸区",
"mail" => "ringusualflat@tall",
"å¹´é½¢" => 28,
"è\u0081·æ¥­" => "歌手",
"message" => "{"timestamp":"2017-11-10 01:19:48 +0000 UTC","mail":"ringusualflat@tall","性別":"男性","年齢":28,"address":"神奈川県川崎市幸区","職業":"歌手","既婚":false,"course":"A01","option":[false,true,true]}",
"æ\u0097¢å©\u009A" => false,
"@timestamp" => 2017-11-10T01:19:48.000Z,
"@version" => "1",
"course" => "A01",
"timestamp" => "2017-11-10 01:19:48 +0000 UTC",
"option" => [
[0] false,
[1] true,
[2] true
]
}

There was no problem in Logstash 5.5.3.

Are there any changes in the settings from Logstash 5.6.x later?

regards


(system) #2

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