How to install Logstash on CentOS / Red Hat
-
Add
Elasticsearch
repository toyum
.Logstash package resides in the same repository as Elasticsearch
-
Download and install the public signing key.
# rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
-
Add the following lines to
/etc/yum.repos.d/elasticsearch.repo
.[elasticsearch-6.x] name=Elasticsearch repository for 6.x packages baseurl=https://artifacts.elastic.co/packages/6.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=1 autorefresh=1 type=rpm-md
-
-
Install
Logstash
package viayum
.# yum install -y logstash