Tuesday, 31 May 2016

How to install Logstash ?


Install Logstash

USING YUM
a. Download the RPM file
> rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
      b. Add the following in file
logstash.repo (with a .repo suffix) under directory /etc/yum.repos.d/ 

[logstash-2.2]
name=Logstash repository for 2.2.x packages
baseurl=http://packages.elastic.co/logstash/2.2/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1

c. Install
> yum install logstash

OR


USING ZIP
a.  a. Download ZIP and extract.
[root@CSRToolTest1 logstash-2.3.2]# pwd
/home/osadmin/ELK/logstash-2.3.2

[root@CSRToolTest1 logstash-2.2.0]# ll
total 160
drwxrwxrwx 2 osadmin osadmin   4096 Feb 12 07:36 bin
-rwxrwxrwx 1 osadmin osadmin 100382 Feb 12 07:36 CHANGELOG.md
-rwxrwxrwx 1 osadmin osadmin   2249 Feb 12 07:36 CONTRIBUTORS
-rwxrwxrwx 1 osadmin osadmin   3844 Feb 12 07:36 Gemfile
-rwxrwxrwx 1 osadmin osadmin  22304 Feb 12 07:36 Gemfile.jruby-1.9.lock
drwxrwxrwx 4 osadmin osadmin   4096 Feb 12 07:36 lib
-rwxrwxrwx 1 osadmin osadmin    589 Feb 12 07:36 LICENSE
-rwxrwxrwx 1 osadmin osadmin    149 Feb 12 07:36 NOTICE.TXT
-rwxrwxrwx 1 osadmin osadmin     88 Feb 12 10:29 test-logstash-filter.conf
drwxrwxrwx 4 osadmin osadmin   4096 Feb 12 07:37 vendor

No comments:

Post a Comment

Note: only a member of this blog may post a comment.