I have asked this question about Logstash service not being recognized in an Amazon Linux server in Unix & Linux recently. Please read it carefully before evaluating this question. At the time that I asked the question, I needed a quick fix. After asking the question,I got some helpful answers (as comments to my original question, but technically not as answers).
However, none of them provided the fix I initially needed. Eventually, I had to relaunch a new server with Amazon Linux 2 (as the user 'Yaron' has suggested in his comment). It apparently solved my issue and I was able to run Logstash but IMO it's a work-around, as I couldn't run Logstash in the my initial server as I first intended to and I haven't come across any article saying that Logstash cannot be run in Amazon Linux 1.
So I am scratching my head about what should I do with this question.
There's no answer to be accepted as the suggestions were given as comments to the original answer. While it didn't provide me a direct solution, it helped me with doing a workaround. I don't want to delete the question either, as I believe the question and the comments might benefit any other person who would be having a similar kind of issue.
I found this question How to deal with questions answered in comments, but it really does not give the solution I'm seeking for, as in this case comments haven't provided a concrete fix to the original question.