Junk characters!

(sreeram) #1

I'm using ELK for centralized logging, in kibanna I'm seeing junk characters (for first 2 hits) as shown in image

Log file encoding format is UCS-2

How to avoid this junk characters?!

(Magnus B├Ąck) #2

Either the log files aren't actually UCS-2 or you haven't configured Logstash to assume UCS-2 or there's a bug in Logstash. Have you configured the plain codec to use UCS-2BE (or whatever matches your input) as the character set?

(sreeram) #3

I tried,

file {
path => ["D:/platformDev/CenLogAnalysis/logpath/**/*.txt"]
codec => plain { charset => "UCS-2BE" }
sincedb_path => ["D:/platformDev/CenLogAnalysis/since.db"]
start_position => "beginning"

Still facing the same issue..

(system) #4