Steps to install logstash on Centos 6.8
Install Logstash
We need to make the package information first, just run this command to install the 2.2 logstash version
Install Logstash
We need to make the package information first, just run this command to install the 2.2 logstash version
echo '[logstash-2.2] name=logstash repository for 2.2 packages baseurl=http://packages.elasticsearch.org/logstash/2.2/centos gpgcheck=1 gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch enabled=1 ' | sudo tee /etc/yum.repos.d/logstash.repoand then install the logstash
sudo yum -y install logstash
Configure Logstash
Logstash is basically already up and running, but it has not do anything yet, the following is the list of sample configuration for logstashRun Logstash
to start, stop and check logstash status you can use the following commandsudo service logstash start sudo service logstash stop sudo service logstash status
No comments :
Post a Comment