To start filebeat per instructions use:
sudo ./filebeat -e
That is not running as a service or in the background so if you get out of that SSH session filebeat stops parsing the logs.
For DEB or RPM you can use sudo service filebeat start , but that does not work for aws linux ami.
How do you setup filebeat to run as a service for aws linux ?
You will need to create a service file manually, maybe this tutorial can help with that.
For DEB or RPM you can use sudo service filebeat start , but that does not work for aws linux ami.
Have you tried? Amazon Linux is a rpm based system, so you should be able to install filebeat using the RPM distribution without any problem, this would create the service file for you.
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.