Continuous data synchronization between mongodb and elasticsearch

I have installed ELK stack in AWS EC2. I have created a logstash config file and I'm able to ingest existing data from mongodb to elastic search using the logstash -f config file. Now I have inserted few data into mongodb. I want those data in Elastic search. I tried to run the logstash -f config file command, it shows there is already an instance running. I tried stopping the logstash and tried again, its still the same.

What I want is, using logstash I need continuous data synchronization from mongodb to Elastic search. Please suggest.

There's tonnes of existing topics on this, I would suggest you check those ones out :slight_smile:

AFAIK there's nothing in the Elastic Stack that can handle this for you sorry.