How to Ingest data from MongoDB database into ElasticSearch using Logstash

I am able to resolve the issue after placing the value of placeholder_db_dir to my local directory. Thanks for your help.