My csv file contains ^M character ( ^ M ) characters are introduced when you use lines of text from a windows computer to Linux or Unix machine
How should i get rid of ^M character in logstash
My csv file contains ^M character ( ^ M ) characters are introduced when you use lines of text from a windows computer to Linux or Unix machine
How should i get rid of ^M character in logstash
Use mutate
mutate { gsub => [ "message", "^M", "" ] }
Where ^M is ctrl/M, entered using ctrl/V ctrl/M.
Sir , still the problem persist.
it got resolve by below command
mutate { gsub => [ "message", "[\r]", "" ] }
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.