Difference between revisions of "Logstash"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
Linux:
 
Linux:
 
{{ELK repo}}
 
{{ELK repo}}
  [[sudo apt-get update]] && [[sudo apt-get install]] logstash
+
  [[sudo apt-get update]] && sudo [[apt-get install logstash]]
  
 
[[macOS]] installation:  
 
[[macOS]] installation:  

Revision as of 17:46, 28 May 2022

wikipedia:Logstash is a light-weight, open-source, server-side data processing pipeline that allows you to collect data from a variety of sources, transform it on the fly, and send it to your desired destination. It is most often used as a data pipeline for Elasticsearch, an open-source analytics and search engine. Logstash integrates with Elasticsearch and has over 200 pre-built open-source plugins that can help to index your data.

Plugins: https://www.elastic.co/guide/en/logstash/current/output-plugins.html

Installation

Linux:

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

macOS installation:

Usage:

Docker Logstash

Official Logstash docker image is around 800 MB size.

docker pull docker.elastic.co/logstash/logstash:7.8.0
docker run --rm -it -v ~/pipeline/:/usr/share/logstash/pipeline/ docker.elastic.co/logstash/logstash:7.8.0

Activities

Related terms

See also

Advertising: