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.