The logstash configuration language does not provide a way to specify UTF-8 characters. You will need to use a ruby filter to do the gsub
ruby { code => 'event.set("message", event.get("message").gsub(/\|/, "\0001".encode("utf-8")))' }
The logstash configuration language does not provide a way to specify UTF-8 characters. You will need to use a ruby filter to do the gsub
ruby { code => 'event.set("message", event.get("message").gsub(/\|/, "\0001".encode("utf-8")))' }
© 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.