Error logstash setup

I was trying to configure logstash on my instance
i was getting facing issue.
i dont know if i was doing anything wrong
I tried on both ubuntu & centos i was facing same issue with 5.0.1 but 2.4 works for me.I wan't to use latest version.
This repo i was trying to use.
my instances was aws M4.2xlarge i was using
https://www.elastic.co/guide/en/logstash/current/installing-logstash.html

[root@ip-******** ]# service logstash status
logstash: unrecognized service

I was doing these setps to configure logstash
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
Add the following in your /etc/yum.repos.d/ directory in a file with a .repo suffix, for example logstash.repo

[logstash-5.x]
name=Elastic repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
And your repository is ready for use. You can install it with:

sudo yum install logstash

What does rpm -qa|grep logstash show?

[ec2-user@ip ~]# rpm -qa|grep logstash
logstash-5.0.2-1.noarch
[ec2-user@ip ~]# service logstash status
logstash: unrecognized service

What OS?

centos.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.