talira

Logstash

Centralize, transform & stash your data

open coreApache-2.0self-hostablefree

Logstash is a server-side data processing pipeline, the L in the ELK stack (Elasticsearch, Logstash, Kibana): it pulls events from many sources at once, parses and enriches them with filters such as grok, GeoIP lookups and field anonymization, and sends them to Elasticsearch or other outputs. Pipelines are built from more than 200 input, filter, output and codec plugins, with persistent queues for at-least-once delivery, a dead letter queue for events that fail, and central pipeline management and monitoring in Kibana. It is made by Elastic and runs on your own servers. Code outside the x-pack folder, and the -oss builds, are Apache-2.0; the default builds include x-pack code under the Elastic License.

Ways to install

Problems it solves

  • parse unstructured log lines into structured fields before they're indexed
  • collect logs and metrics from many sources and forward them to Elasticsearch in one common format
  • the processing pipeline in our ELK stack between the log shippers and Elasticsearch
  • extract fields from messy application logs with grok patterns
  • look up the location of IP addresses in our logs as events are ingested
  • mask or remove personal data in log events before they reach our search cluster
  • don't lose in-flight log events when a pipeline node crashes
  • absorb bursts of log traffic without running a separate queue like Kafka in front
  • keep events that fail to parse so we can inspect and replay them later
  • send the same stream of events to Elasticsearch and other destinations from one pipeline
  • manage ingest pipeline configs centrally from a UI instead of editing files on every server
  • write our own input or filter plugin for a data source nothing else reads
  • pull events from AWS services, databases and web apps into our log analytics
  • see which stage of our log processing pipeline is the bottleneck

Features

  • inputs for logs, metrics, web applications, data stores and AWS services, run at the same time
  • filters: grok parsing, GeoIP from IP addresses, PII anonymization and field removal
  • outputs to Elasticsearch and many other destinations
  • more than 200 plugins, with a plugin API and generator for custom plugins
  • persistent queues for at-least-once delivery and absorbing ingestion spikes
  • dead letter queue for inspecting and replaying failed events
  • central Pipeline Management UI in Kibana
  • monitoring and pipeline viewer for performance and bottlenecks
  • sends to Elastic Cloud Serverless with API keys
  • TAR.GZ, ZIP, DEB and RPM downloads, APT and YUM repositories and Docker images
View 2 more
  • -oss packages under Apache-2.0 with fewer features
  • eck-logstash Helm chart for Elastic Cloud on Kubernetes

Ways to run it

Logstash OSS

You run it, Apache-2.0

free34

Not included

  • central pipeline management, monitoring and GeoIP database management, which are in the x-pack folder35

You arrange

  • servers, VMs or containers to run the pipelines
  • disk for persistent queues
  • Elasticsearch or another destination

Self-hosting docs

Logstash (default distribution)

You run it, Apache-2.0 AND Elastic License Agreement (2018) (source-available)

free346

Only in this edition

  • central pipeline management
  • monitoring
  • GeoIP database management

You arrange

  • servers, VMs or containers to run the pipelines
  • disk for persistent queues
  • Elasticsearch or another destination

Self-hosting docs

Capabilities

Takes pluginsplan not known

Alternatives

The same job

These do what Logstash does.

  1. Cribl Stream Get the data you need, in the format you want, wherever it needs to go
  2. Fluent Bit Fast and lightweight telemetry agent for logs, metrics and traces
  3. Fluentd Open source data collector for unified logging layer
  4. Vector A lightweight, ultra-fast tool for building observability pipelines
  5. Grafana Alloy OpenTelemetry Collector distribution with programmable pipelines
  6. OpenTelemetry Collector Vendor-agnostic way to receive, process and export telemetry data

Compare Logstash with the top 3