Hello everyone.
Please help me to read correctly file with national charset.
The file is Windows-1251 (Russia). I use encoding options in Filebeat. My Filebeat config is posted below:
filebeat:
prospectors:
-
paths:
- d:\result.txt
encoding: unicode
input_type: log
document_type: log1c
registry_file: /var/lib/filebeat/registry
output:
logstash:
hosts: ["xxx.yyy.zzz.nnn:5044"]
bulk_max_size: 1024
shipper:
logging:
files:
rotateeverybytes: 10485760 # = 10MB
In Kibana I see:
message:20161003;15:31:34;smetanin;E;$$>@<8@>20=85
BG5B0; 55AB@>:C<5=B>2:F8O;3
It's incorrect.
Could you give me the cue where I'm wrong?