How to install Logstash in CentOS RHEL

0 votes

Hi Guys,

I want to learn the Logstash tool to monitor my logs. Can anyone help me how can I install Logstash in my system?

Jun 17, 2020 in DevOps Tools by akhtar
• 38,260 points
4,384 views

1 answer to this question.

0 votes

Hi@akhtar,

To install Logstash on the system, you can follow the steps given below.

$ tar –xvf logstash-5.0.2.tar.gz
  • Download and install the Public Signing Key.

$ rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
  • Add the following text in the file with the .repo suffix in your "/etc/yum.repos.d/" directory.

[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
  • You can now install Logstash by using the following command.

$ yum install logstash

And your Logstash server is ready.

answered Jun 17, 2020 by MD
• 95,460 points

Related Questions In DevOps Tools

0 votes
1 answer

How to install Saltstack on CentOS?

Hey @Dipti, follow these steps to install ...READ MORE

answered Feb 27, 2019 in DevOps Tools by Avinash
1,373 views
0 votes
1 answer

How to install Nagios on CentOS?

Follow these steps: Install the required packages yum install ...READ MORE

answered Feb 27, 2019 in DevOps Tools by Avinash
917 views
0 votes
1 answer

How to install Splunk on CentOS?

Hey Alia,  Follow these steps to install Splunk ...READ MORE

answered Feb 27, 2019 in DevOps Tools by Anvit
2,375 views
0 votes
0 answers

How to install java 8 using heira in puppet?

How do I install java8 using a ...READ MORE

Feb 3, 2020 in DevOps Tools by anonymous
• 19,610 points
717 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
+2 votes
1 answer
0 votes
1 answer

How to configure Keyboard as stdin in Logstash?

Hi@akhtar, You can find stdin and stdout plugins ...READ MORE

answered Jun 17, 2020 in DevOps Tools by MD
• 95,460 points
1,846 views
0 votes
1 answer

How to connect log file as an input in Logstash?

Hi@akhtar, You can use the file plugin to ...READ MORE

answered Jun 17, 2020 in DevOps Tools by MD
• 95,460 points
1,871 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP