Facebooktwittergoogle_plusredditpinterestlinkedinmail

What is Logstash?

Logstash is a data collection engine with real-time pipelining capabilities. You can use Logstash to collect your logs, parse them into your desirable format and store them for searching or monitoring for your application. Logstash latest version has more capabilities other than manage event and logs. Logstash has more than 200 plugins available including flexibility to create your own plugin. These Logstash plugin now facilitates Analysis, Archiving, Monitoring and Alerting features.

Install Logstash in RHEL / CentOS

Prerequisites:

Logstash requires Java 8. Java 9 is not supported . You can use Official Oracle Distribution or an open-source distribution such as OpenJDK.

Install Public Signing Key

rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

Add logstash.repo file in /etc/yum.repos.d/

/etc/yum.repos.d/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

Now logstash will be available for installation using yum.

yum install logstash
Install Logstash in RHEL / CentOS Roopendra DevOPSLogstash,,,
What is Logstash? Logstash is a data collection engine with real-time pipelining capabilities. You can use Logstash to collect your logs, parse them into your desirable format and store them for searching or monitoring for your application. Logstash latest version has more capabilities other than manage event and logs. Logstash...
<h3>What is Logstash?</h3> Logstash is a data collection engine with real-time pipelining capabilities. You can use Logstash to collect your logs, parse them into your desirable format and store them for searching or monitoring for your application. Logstash latest version has more capabilities other than manage event and logs. Logstash has more than 200 plugins available including flexibility to create your own plugin. These Logstash plugin now facilitates Analysis, Archiving, Monitoring and Alerting features. <h3>Install Logstash in RHEL / CentOS</h3> <strong>Prerequisites:</strong>Logstash requires Java 8. Java 9 is not supported . You can use <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Official Oracle Distribution</a> or an open-source distribution such as <a class="ulink" href="http://openjdk.java.net/" target="_top">OpenJDK</a>.<strong>Install Public Signing Key</strong> <pre class="programlisting prettyprint lang-sh prettyprinted"><span class="pln">rpm </span><span class="pun">--</span><span class="pln">import https</span><span class="pun">://</span><span class="pln">artifacts</span><span class="pun">.</span><span class="pln">elastic</span><span class="pun">.</span><span class="pln">co</span><span class="pun">/</span><span class="pln">GPG</span><span class="pun">-</span><span class="pln">KEY</span><span class="pun">-</span><span class="pln">elasticsearch</span></pre> Add <strong>logstash.repo</strong> file in <strong>/etc/yum.repos.d/</strong>/etc/yum.repos.d/logstash.repo <pre class="programlisting prettyprint lang-sh prettyprinted"><span class="pun">[</span><span class="pln">logstash</span><span class="pun">-</span><span class="lit">5.x</span><span class="pun">]</span><span class="pln"> name</span><span class="pun">=</span><span class="typ">Elastic</span><span class="pln"> repository </span><span class="kwd">for</span> <span class="lit">5.x</span><span class="pln"> packages baseurl</span><span class="pun">=</span><span class="pln">https</span><span class="pun">://</span><span class="pln">artifacts</span><span class="pun">.</span><span class="pln">elastic</span><span class="pun">.</span><span class="pln">co</span><span class="pun">/</span><span class="pln">packages</span><span class="pun">/</span><span class="lit">5.x</span><span class="pun">/</span><span class="pln">yum gpgcheck</span><span class="pun">=</span><span class="lit">1</span><span class="pln"> gpgkey</span><span class="pun">=</span><span class="pln">https</span><span class="pun">://</span><span class="pln">artifacts</span><span class="pun">.</span><span class="pln">elastic</span><span class="pun">.</span><span class="pln">co</span><span class="pun">/</span><span class="pln">GPG</span><span class="pun">-</span><span class="pln">KEY</span><span class="pun">-</span><span class="pln">elasticsearch enabled</span><span class="pun">=</span><span class="lit">1</span><span class="pln"> autorefresh</span><span class="pun">=</span><span class="lit">1</span><span class="pln"> type</span><span class="pun">=</span><span class="pln">rpm</span><span class="pun">-</span><span class="pln">md</span></pre> Now logstash will be available for installation using yum. <pre>yum install logstash</pre>
(Visited 653 times, 45 visits today)
Facebooktwittergoogle_pluslinkedinrss