I am using logstash udp input and in elasticsearch field event.original have true values. but in a document field.DeviceCapabilities value is "�" and for field.PoleCapabilities is empty.
Does this happen for the Entire message or just a couple of fields in some messages? if it is just a couple of fields in some messages, then this does not seem to be a Logstash issue, your source that is sending the data with a different encoding on those fields.
An encoding issue would affect the entire message.
By the way, I have used several UTF-16 decoders but couldn't convert the DeviceCapabilities field. Not sure should DeviceCapabilities be a number, string or special characters.
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.