Merge and transform more than one json files to elasticsearch from logstash

I try from translate plugin, but didnt work.

translate {
destination => "[@metadata][city]"
dictionary_path => "/home/namalie/elk/hotelspro_v2/city.json"
field => "citycode" }
dissect { mapping => { "[@metadata][destination_]" => "%{results][cityname]" } }

}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.