You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Received line {:path=>"/test.sql", :text=>"\xFF\xFEU\x00S\x00E\x00 \x00[\x00B\x00i\x00g\x00D\x00a\x00t\x00a\x00]\x00"}
config LogStash::Codecs::Plain/@charset = "UTF-16LE"
config LogStash::Codecs::Plain/@id = "f0a2ff23-f6f4-4a06-bf48-4e5cd4e3f1a1"
config LogStash::Codecs::Plain/@enable_metric = true
inputs/LogStash::Inputs::File: adding tag {"tag"=>"test"}
Received line {:path=>"/test.sql", :text=>"\x00G\x00O\x00"}
inputs/LogStash::Inputs::File: adding tag {"tag"=>"test"}
Received line {:path=>"/test.sql", :text=>"\x00/\x00*\x00*\x00*\x00*\x00*\x00*\x00 \x00O\x00b\x00j\x00e\x00c\x00t\x00:\x00 \x00 \x00T\
inputs/LogStash::Inputs::File: adding tag {"tag"=>"test"}
Received line {:path=>"/test.sql", :text=>"\x00S\x00E\x00T\x00 \x00A\x00N\x00S\x00I\x00_\x00N\x00U\x00L\x00L\x00S\x00 \x00O\x00N\x00"}
I've noticed that the charset configuration(Codecs::Plain/@charset = "UTF-16LE") doesn't output until after the first row of data,
this reason cause garbled , or is there a problem with config
The text was updated successfully, but these errors were encountered:
Logstash information:
OS version : windows11
input file:
test.sql: text/plain; charset=utf-16le
this file encode UTF-16LE, With this config, the output is garbled.
config
debug log
I've noticed that the charset configuration(
Codecs::Plain/@charset = "UTF-16LE"
) doesn't output until after the first row of data,this reason cause garbled , or is there a problem with config
The text was updated successfully, but these errors were encountered: