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?!
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?!
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?
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..
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.