v9.5.6 Server-side data processing pipeline

LogStash download, configure and run Logstash pipelines

Logstash collects events from logs, agents, queues and databases, reshapes them into structured fields and ships them to Elasticsearch or wherever your data needs to go. This page covers the current Windows download, what each part of a pipeline does and how to get one running.

  • Bundled JavaNo separate JDK install
  • Portable ZIPExtract and run on Windows
  • Plugin-basedInputs, filters, outputs
Diagram of a Logstash pipeline: sources such as app logs, Beats, Kafka and syslog feed the input stage, events pass through filter and output stages with a memory or persisted queue, and go to Elasticsearch, object storage, Kafka or an archive file
FIG. 1  Event flow through a Logstash pipelineInputs → queue → filters → outputs

01 Executive summary

What is LogStash?

Logstash is an open, plugin-based engine that sits between the systems producing data and the systems storing it, turning raw events into consistent, searchable records.

Originally created by Jordan Sissel and developed by Elastic, it is the “L” in the ELK stack alongside Elasticsearch and Kibana. A pipeline reads events with input plugins, transforms them with filters such as grok, date, mutate and geoip, and writes them out with output plugins. Each stage is configured in a short text file, so the same pipeline runs unchanged on a laptop, a server or a container.

Teams reach for Logstash when data arrives in many shapes and needs cleaning before it is useful: web server logs that should become fields, security events that need enrichment, database rows that should be indexed, or streams that must be split between several destinations. The engine runs on the Java virtual machine and ships with its own runtime.

Key facts

Category
Data collection and processing pipeline
Developed by
Elastic
Written in
Java and Ruby (JRuby)
Configuration
Text pipeline files plus YAML settings
Default distribution
Elastic License
A raw access log line with highlighted segments transformed by grok and date filters into structured fields such as source.address, @timestamp, http.request.method and url.original
EXHIBIT 1  One access-log line before and after parsingField names follow the Elastic Common Schema

02 Capabilities

LogStash features at a glance

Eight capabilities cover what most deployments use. Each one is delivered by plugins that you combine in a pipeline file.

F-01Collect

Inputs for almost any source

Read files, receive Beats and syslog traffic, consume Kafka topics, poll databases with JDBC, accept HTTP posts and pull from cloud storage. Several inputs can feed one pipeline.

F-02Parse

Grok, dissect and structured codecs

Turn unstructured lines into fields with named grok patterns or fast delimiter-based dissect, and decode JSON, CSV, key=value and multiline records.

F-03Enrich

Add context on the way through

Look up GeoIP locations, translate codes from dictionaries, query Elasticsearch or a database for related data, and normalise timestamps with the date filter.

F-04Route

Conditionals and multiple pipelines

Send events to different filters and outputs with if conditions, or split workloads into isolated pipelines that pass events to each other.

F-05Deliver

Outputs beyond Elasticsearch

Index into Elasticsearch data streams, or write to Kafka, S3-compatible storage, files, HTTP endpoints and other systems, several at once if needed.

F-06Protect

Persistent and dead letter queues

Buffer events on disk so a restart or a slow destination does not lose data, and keep rejected events for later inspection instead of dropping them.

F-07Observe

Monitoring API and OTLP metrics

Read throughput, worker utilisation and back-pressure from the API on port 9600. Since 9.5, Logstash can also export its metrics to OpenTelemetry endpoints.

F-08Secure

Keystore and TLS that reloads

Keep passwords and API keys in the Logstash keystore. Since 9.5, pipelines reload automatically when TLS certificates are rotated on disk.

03 Process

How LogStash works, from download to first event

Four stages take you from the archive to a running pipeline. The full commands are in the installation section further down.

  1. Download01

    Get the ZIP

    Fetch the Windows x86_64 archive from the download section and check its SHA-512 checksum.

    logstash-9.5.6-windows-x86_64.zip
  2. Extract02

    Unpack to a short path

    Extract to a folder such as C:\logstash. The bundled JDK means there is no Java to install.

    tar -xf logstash-9.5.6-...zip -C C:\
  3. Configure03

    Write a pipeline

    Describe inputs, filters and outputs in a .conf file inside the config folder.

    input { stdin {} }
    output { stdout {} }
  4. Run04

    Start and verify

    Test the syntax, start Logstash and confirm events flow, then check the API on port 9600.

    bin\logstash.bat -f config\first.conf
Inside a running pipeline, inputs fill a queue and worker threads run filters and outputs on batches of events.Full installation steps

04 Platforms

Compatibility and available builds

Elastic builds Logstash for Windows, Linux, macOS and containers. Exact operating system versions are listed in Elastic’s support matrix.

Builds for Logstash 9.5.6. Only the Windows ZIP is linked from this site; other builds are listed on elastic.co/downloads/logstash.
Platform Package Architecture Notes
Windows ZIP archive this download x86_64 Linked on this page. Run bin\logstash.bat; use a service wrapper for background running.
Linux (archive) tar.gz x86_64aarch64 Extract anywhere and run bin/logstash as a non-root user.
Debian, Ubuntu deb package / apt repository x86_64aarch64 Installs a systemd service that runs as the logstash user.
RHEL, Rocky, SUSE and others rpm package / yum repository x86_64aarch64 Same layout as the deb package: settings in /etc/logstash.
macOS tar.gz x86_64aarch64 Clear the quarantine flag with xattr -d -r com.apple.quarantine after extracting.
Docker Container image amd64arm64 docker.elastic.co/logstash/logstash:9.5.6, based on UBI 9 Minimal.

Java and the wider stack

Every build bundles a Java 21 runtime; Java 17 and 21 are supported through LS_JAVA_HOME. Logstash works with Elasticsearch, Kibana and Beats from the same major version, and with non-Elastic systems through its plugins. Download Now

05 Release information

What’s in Logstash 9.5.6

A patch release on the 9.5 series. The 9.4 and 8.19 lines received matching updates on the same day.

9.5.6Nov 2026

Java runtime trust store update

  • Bundled JDK moves to Temurin 21.0.13+9, which stops trusting an eMudhra (emSign) root certificate authority. The Windows package stays on Temurin 21.0.12.1 with that authority removed.
  • Jackson and Guava dependency updates.
  • Kafka integration 12.2.1 adds share-group consumers (Kafka 4.0 and later).
9.5.5Oct 2026

Security and runtime updates

  • Fixes for potential security vulnerabilities.
  • Bundled JDK 21.0.12.1 and JRuby 10.0.7.0; Netty updated in the Beats, HTTP and TCP inputs.
9.5.0Aug 2026

Series highlights

  • Metrics export to OpenTelemetry endpoints with otel.metrics.enabled: true.
  • Pipelines reload automatically when TLS certificates are rotated on disk.
  • cgroupv2 support and a new dead_letter_queue.flush_check_interval setting.
Before upgrading to 9.5: the Kafka integration moves to 12.x with the Kafka 4.x client (the default and uniform_sticky partitioners are removed), the pipe output is no longer bundled, and the legacy output concurrency mode is gone.

06 Assessment

LogStash pros and cons

Where Logstash earns its place in a data stack, and where a lighter or different tool may suit better.

Strengths 6 points

  • Broad plugin catalogue. Inputs, filters and outputs exist for most common systems, so many pipelines need no code.
  • Powerful parsing. Grok, dissect, date and enrichment filters handle messy real-world formats.
  • Durability options. Persistent and dead letter queues protect against restarts and rejected events.
  • Tight Elastic Stack fit. ECS field names, data streams and Kibana work together out of the box.
  • Readable configuration. Pipelines are short text files that are easy to review and keep in version control.
  • Runs anywhere. Windows, Linux, macOS and containers, with the Java runtime included.

Trade-offs 6 points

  • JVM footprint. Memory use and startup time are higher than lightweight shippers such as Filebeat.
  • Grok has a learning curve. Patterns need care to stay fast and correct.
  • Tuning takes measurement. Workers, batch size and heap interact, so throughput problems need data.
  • No Windows installer. Running as a service needs a wrapper such as NSSM.
  • Upgrade attention. Minor releases can change bundled plugins, as 9.5 did with Kafka and the pipe output.
  • Licence terms vary. The default distribution uses the Elastic License, which matters if you redistribute it.

07 Download

Download LogStash 9.5.6 for Windows

A portable ZIP containing Logstash, its default plugins and a bundled Java runtime. Extract it, add a pipeline file and start it from Command Prompt.

  • Version 9.5.6
  • Windows 64-bit (x86_64)
  • ZIP archive
  • Java included
Download LogStash logstash-9.5.6-windows-x86_64.zip
The Windows ZIP archive and the folders it contains: bin, config, jdk, logstash-core, vendor and x-pack

09 Use cases

Where teams use LogStash

The same input–filter–output model covers very different jobs. These are the patterns that come up most often.

  1. Centralised application and web logging

    Collect access and application logs from many servers, parse them into fields and index them so incidents can be searched and graphed in Kibana.

  2. Security event pipelines

    Normalise firewall, authentication and audit logs into common field names, enrich IP addresses with location data and forward them to a SIEM or Elasticsearch.

  3. Database change ingestion

    Poll relational databases with the JDBC input on a schedule and index new or changed rows for search, using a tracking column to pick up where the last run stopped.

  4. Stream processing around Kafka

    Consume topics, filter and reshape messages, and publish them to other topics or stores, using Kafka as a buffer between producers and Logstash.

  5. Archiving and compliance copies

    Send one copy of every event to cheap object storage while indexing a filtered subset for day-to-day search.

  6. Migrating data between clusters

    Read documents from one Elasticsearch cluster with the Elasticsearch input, transform fields on the way and write them to another.

11 Installation

Install and set up LogStash on Windows

The commands below assume Command Prompt and the 9.5.6 ZIP. Notes for other platforms are alongside.

  1. Extract the archive

    Use a short path without spaces. Windows 10 and 11 include tar, which extracts large ZIPs much faster than File Explorer.

    tar -xf logstash-9.5.6-windows-x86_64.zip -C C:\
    ren C:\logstash-9.5.6 logstash
  2. Create a first pipeline

    Save this as C:\logstash\config\first.conf:

    input  { stdin { } }
    output { stdout { codec => rubydebug } }
  3. Check the configuration

    From C:\logstash, validate the file without starting it. Expect Configuration OK.

    bin\logstash.bat -f config\first.conf --config.test_and_exit
  4. Start Logstash

    Run the pipeline, wait for Pipeline started, type a line and press Enter. Stop with Ctrl+C.

    bin\logstash.bat -f config\first.conf
  5. Confirm the API responds

    In a second window, query the monitoring API. Windows 10 and 11 include curl.

    curl http://localhost:9600/?pretty
  6. Make it permanent

    Move pipelines into config\pipelines.yml, adjust the heap in config\jvm.options and register a service with a wrapper such as NSSM. The Windows install article shows each command.

12 Troubleshooting

Common LogStash problems and fixes

Each row pairs the message you are likely to see with its usual cause. For more, see fixing common Logstash errors.

Configuration will not load

Expected one of [ \t\r\n], "#", "{"
Likely cause

A syntax error: missing brace, a comma between hash entries or a stray backslash.

Fix

Run with --config.test_and_exit and check just before the reported line and column.

Second instance refuses to start

another instance using the configured data directory
Likely cause

Another Logstash process already holds the lock on path.data.

Fix

Stop the other process, or give each instance its own --path.data.

Refuses to run with sudo

sudo bin/logstash -f pipeline.conf
Likely cause

Since 9.0, Logstash will not run as root by default on Linux.

Fix

Run as a normal user or the packaged logstash service user, and fix file ownership.

Events marked as failed

tags => ["_grokparsefailure"]
Likely cause

The grok pattern does not match the incoming text.

Fix

Inspect a failing line with rubydebug, anchor the pattern, or switch the fixed part to dissect.

Windows file input reads nothing

path => "C:\logs\*.log"
Likely cause

Backslashes in the path, or a sincedb entry remembering an earlier read position.

Fix

Use forward slashes; while testing, set sincedb_path => "NUL".

Pipeline slows down and crashes

java.lang.OutOfMemoryError: Java heap space
Likely cause

Heap too small for the number of workers and the batch size.

Fix

Raise -Xms/-Xmx together in config\jvm.options or lower the batch size.

13 FAQ

LogStash frequently asked questions

Twenty answers in two groups: getting Logstash installed, and running pipelines day to day.

Download & setup

10 questions

Pipelines & operations

10 questions