Hi ,
I am facing an issue with Logstash to a read a file.
Original data in the file: r8Dà - contains uni-code characters.
When read the file in python with the options - (encoding='Windows-1252', errors="surrogateescape")
With these options, able to get the expected output - 'r8D\udc81\x08à€\x04\n'
But in Logstash with encoding 'Windows-1252', getting different output (23r8Dà€).
Please let us know how to apply errors="surrogateescape" along with encode "Windows-1252" in logstash to get expected output.
Thank you in advance.