I have been following this tutorial to install ELK stack in a remote server which runs on Amazon Linux. https://www.aytech.ca/blog/setup-elk-stack-amazon-linux/
I was able to install Elasticsearch and then to start it as a service.Then I installed logstash. However when I try to start the logstash service using this command,
service logstash status the console returns this error.
logstash: unrecognized service However, when I grep'd the logstash it gave this output. Means it is running,right?

Can someone provide a solution how to make this logstash run as a service?

service elasticsearch startworked just fine?systemctl status logstashand see what is the output in that case.