How to Ingest data from MongoDB database into ElasticSearch using Logstash

You need to set the placeholder path to a directory that exists on your computer.