spring - String conversion of special character -


json parsing exception thrown logstash whenever ® encountered. need convert ® equivalent html encoded value , push es through logstash. got few articles mentioned how convert html codes equivalent symbols looking reverse case.

if pass "®" should return me ® if ® passed should not format , still should return ®

update:

below script using push data es

input{    file    {        path => ["c:/input.json"]     start_position => "beginning"     sincedb_path => "/dev/null" }}filter{ mutate {     replace => [ "message", "%{message}" ]     gsub => [ 'message','\n',''] } json { source => message } mutate{     remove_field => ["message"] }}output {    elasticsearch {             hosts => ["localhost:9200"]             index => "index"             document_type => "type"             document_id => "%{id}"    }    stdout { codec => rubydebug } 

}

how can solve issue


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -