How to Mongodb logs to elasticsearch through logstash

You might need to use this approach: