I am currently trying to dump all my data from s3 to Elasticsearch.
I run this from ec2.
for that I have my logstash config file at /etc/logstash/conf.d/awses.conf
I run the command /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/awses.conf and any new files that land in ec2 are indexed in Elasticsearch
But as soon as the ssh window terminates this stops.
I want to keep this command running all the time in the background.
Any suggestion on how to achieve this?