Logstash: Install

HN LEE
Learn Elasticsearch
1 min readJul 1, 2020

How to Install Logstash on Ubuntu 18.04

Environment

  • Ubuntu 18.04
  • Logstash 7.8

Prerequisite

How to Install with apt

$ sudo apt update
$ sudo apt install apt-transport-https
$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
$ echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
$ sudo apt install logstash

Register on System

$ sudo systemctl daemon-reload
$ sudo systemctl enable logstash.service
$ sudo systemctl start logstash.service
$ sudo systemctl status logstash.service # if you can see "active", it's installed successfully.

Further more

Logstash Directory Layout of “deb” & “rpm” Types

--

--

HN LEE
Learn Elasticsearch

A Software Engineer who believes the tech could make the world better.