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.
You'll need to figure out how that OS manages services (e.g., initd, systemd, upstart, etc)., and use the previously-linked guide to match that up with the required Logstash configuration.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.