UCS-2LE encoding not harvested

Hi,

I have a log file with with ucs-2 little endian encoding.
For some reason these log file are not harversted by Filebeat if no encoding is configured.
When I have tried to configure the follwoing encoding entries none seem to work:
encoding: UCS-2LE
encoding: UCS-2BE

I get the following error on startup: Exiting: error loading states for prospector 2817249587859242041: unknown encoding('UCS-2BE')

Regards benny

Try utf16 instead of UCS-2. I'm not sure the decoding libs do define UCS-2, but UTF-16 is definitely supported.

1 Like

Hi Steffen,

Thanks for the reply.
That seems to work as well.

Regards benny

This topic was automatically closed after 21 days. New replies are no longer allowed.