Data & Analytics · Data Engineering & Integration
Logstash
A plugin-driven pipeline for collecting, transforming, and shipping events
Logstash is Elastic’s server-side event-processing pipeline for moving logs, metrics, and other data between systems. Most components are Apache-2.0, while X-Pack components use the Elastic License. Teams can run it without a per-node purchase, or use Elastic Cloud and paid Elastic services, whose pricing depends on deployment and usage.
Key facts
- License
- Apache-2.0 for OSS components; Elastic License (source-available) for X-Pack
- Main language
- Ruby, JRuby, Java
- Maintainer
- Elastic and the Logstash plugin community
- First released
- 2010
- Latest release
- v9.5.5, October 6, 2026
- GitHub stars
- 15k, October 2026
- Hosted option
- No standalone hosted Logstash; Elastic Cloud hosts Elasticsearch and Kibana, with deployment-based pricing
What Logstash is
Logstash is a server-side data processing pipeline maintained by Elastic and its plugin communities. Created in 2010, its repository reports about 15,000 GitHub stars. The README describes more than 200 plugins and places Logstash alongside Beats, Elasticsearch, and Kibana in the Elastic Stack. Elastic’s stewardship provides a funded engineering team, regular security work, package distribution, and documentation, which can support deployment, upgrades, troubleshooting, and operational consistency. Logstash remains active, with 9.5.x, 9.4.x, and 8.19.x maintenance lines listed in October 2026. Adoption is strongest among operations teams needing a configurable transport layer between heterogeneous log, message, database, cloud, and analytics systems. Its plugin model can help teams connect varied sources and destinations while applying routing or transformation rules within a managed pipeline.
How it works
A Logstash workflow is defined in configuration files with inputs, filters, and outputs. Inputs receive events from Beats, TCP, HTTP, Kafka, files, cloud services, and databases, allowing teams to consolidate varied sources. Filters parse, enrich, redact, route, or reshape events using Grok, JSON, mutate, date, geoip, and aggregate tools. Outputs send results to Elasticsearch, Kafka, object stores, databases, and other destinations. Pipelines can run concurrently and connect through pipeline-to-pipeline links, supporting separate processing stages and workload control. Persistent queues provide at-least-once handling for in-flight events, helping reduce loss during interruptions. Dead-letter queues preserve events that cannot be processed for later inspection or replay. This structure separates collection, processing, and delivery responsibilities while making configuration, troubleshooting, scaling, and destination changes more manageable.
Architecture and recent releases
Logstash is implemented mainly in Ruby on JRuby, while official distributions bundle a Java runtime and include extensive Ruby and Java plugin code. It can run standalone, in Docker, through Debian or RPM packages, or from archive downloads, giving teams several deployment options. Version 9.0, released in 2025, raised the minimum JDK version to 17, changed the Docker base image to UBI9, removed the old modules framework, and removed deprecated HTTP settings. Current 9.x notes cover plugin fixes, security updates, pipeline metrics, and JDK 21 requirements beginning with 9.4. These changes affect image construction, host preparation, configuration migration, monitoring, and rollback planning. Users should test plugin compatibility before major upgrades because runtime and plugin changes can alter deployment procedures and operational behavior.
License and pricing
Licensing is split by component and version. Files outside x-pack are generally under Apache License 2.0, while x-pack code uses Elastic License; builds containing “-oss” are Apache-licensed. Apache permits commercial use, modification, and redistribution subject to its conditions, so teams should preserve notices and review included dependencies. Elastic License is source-available and includes restrictions relevant to offering the software as a managed service. Companies should therefore identify the exact component, build, and version before deployment, packaging, or redistribution. Logstash itself can be downloaded without a per-node purchase. Elastic Cloud and paid Elastic subscriptions provide hosted Elastic Stack capacity, support, security, and management, with pricing determined by deployment and usage. Procurement, architecture, and operations teams should separate software rights from hosted-service costs when planning infrastructure, compliance, and support.
Limitations and how it compares
Logstash’s flexibility requires more configuration, JVM memory, plugin compatibility testing, and operational tuning. These costs can affect host sizing, upgrade planning, troubleshooting, and deployment consistency. Fluent Bit is smaller and often better suited to edge collection, where CPU, memory, bandwidth, and local administration are constrained. Vector provides a Rust-based telemetry pipeline with a compact configuration model, which can simplify maintenance and resource planning. Kafka Connect is stronger when durable, connector-based movement around Kafka is the central requirement, making connector lifecycle and Kafka operations key considerations. Choose Logstash when a team needs its mature plugin catalog, Grok parsing, complex event transformation, persistent queues, and close Elastic integration, especially when existing pipelines contain years of operational knowledge. Simpler forwarding needs may favor a smaller agent, while Kafka-centered deployments may favor connector-oriented operation.
Main features
- Plugin inputs. Collect events concurrently from files, Beats, network protocols, Kafka, databases, cloud services, and application endpoints.
- Grok parsing. Turn unstructured log lines into fields with reusable pattern matching, then combine parsing with JSON and date filters.
- Event transformation. Event transformation mutates, enriches, redacts, aggregates, routes, and reshapes events before delivering them to downstream systems.
- Persistent queues. Persistent queues buffer in-flight events on disk, providing at-least-once delivery behavior when pipeline interruptions occur.
- Dead-letter queues. Dead-letter queues retain failed events, allowing operators to inspect, correct, and replay them later within the workflow.
Self-hosting Logstash
Install Logstash from Elastic Debian or RPM packages, archive downloads, Docker images, or source, then create pipeline configuration and start the service. Docker and package distributions include a suitable Java runtime. A basic deployment needs only the Logstash process and storage for its data directory; Elasticsearch, Kafka, databases, and object storage are optional destinations. Size CPU and memory for event volume, filter complexity, plugin behavior, and queue retention. Use persistent queues and dead-letter queues deliberately, back up configuration, keystores, and queue data, and test plugin compatibility before upgrades. Apply access controls and protect credentials used by outputs.
Strengths
- Its plugin catalog covers a wide range of log, message, database, cloud, and analytics systems.
- Grok and other filters handle difficult unstructured-event parsing without a separate processing service.
- Persistent and dead-letter queues give operators useful recovery paths during downstream failures.
- Elastic provides packages, Docker images, documentation, security fixes, and long-lived release branches.
Drawbacks
- JVM memory use and plugin behavior can make small deployments heavier than agent-first alternatives.
- Pipeline configuration and plugin compatibility require careful testing as major versions change.
- The distribution mixes Apache-licensed and Elastic-licensed components, complicating redistribution decisions.
What teams replace with it
Teams usually evaluate Logstash when they want to move off Splunk Universal Forwarder, Fluentd Enterprise, Cribl Stream.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Logstash
- Fluent Bit
- Fluentd
- Vector
- Apache Kafka Connect
- OpenTelemetry Collector
Frequently asked questions
Is Logstash free to use?
Yes. Logstash can be downloaded and run without a per-node purchase. The repository contains Apache-licensed OSS components and Elastic-licensed X-Pack components, so free availability does not mean every file has identical rights. Elastic Cloud, support, security features, and broader Elastic subscriptions are commercial offerings priced around the deployment and service used.
Can a company use Logstash commercially?
Apache-licensed Logstash components can be used, modified, and distributed commercially under Apache conditions. X-Pack components use the Elastic License, whose restrictions differ and can matter for redistribution or providing a competing managed service. Review the license attached to the exact artifact and feature before embedding or reselling it.
How do I self-host Logstash?
Use an Elastic package, archive, or Docker image, then mount pipeline configuration and persistent data, configure inputs, filters, and outputs, and run the service under an appropriate account. Elasticsearch, Kafka, and databases are optional integrations. Size memory for filters and queues, secure secrets, back up configuration, and test upgrades with every required plugin.
How does Logstash compare with Fluent Bit?
Fluent Bit is generally the lighter agent for collecting and forwarding telemetry from hosts, containers, and edge devices. Logstash is heavier but offers broader transformation, extensive plugins, Grok parsing, persistent queues, and deep Elastic integration. Choose Fluent Bit for low-footprint collection and Logstash for complex central processing or an established Elastic pipeline.
Does Logstash send data outside my network?
The self-hosted process sends events only to configured inputs and outputs. It can run entirely inside a private network, but destinations, plugin behavior, monitoring, and support integrations determine what leaves that network. Protect credentials with the keystore, encrypt transport where supported, restrict pipeline APIs, and review every plugin configuration.
Similar projects to compare
- VectorMPL-2.0Vector is an open-source observability pipeline for collecting, transforming, and routing logs and metrics. It suits teams seeking a vendor-neutral agent or aggregator and is maintained by Datadog's Community Open Source Engineering team. The MPL-2.0 project is free to run. Datadog sells separate hosted observability services, but Vector itself has no paid hosted tier.
- AirbyteElastic License 2.0 (source-available)Airbyte is an source-available data movement platform for ELT pipelines and AI agents, connecting APIs, databases, files, warehouses, lakes, and other data systems. Airbyte Core is free to self-host, while managed Standard begins at $20 per month. The repository reports 22,251 stars and uses an unspecified repository license classification.
- CloudQueryMPL-2.0 core; proprietary terms for some integrationsCloudQuery is a Go-based, plugin-driven data pipeline for collecting cloud configuration, security, FinOps, and SaaS data. It syncs records from AWS, Azure, GCP, and more than 70 cloud and SaaS sources into databases, warehouses, and other destinations. The framework, SDK, CLI, and some integrations use Mozilla Public License 2.0, while other integrations and platform capabilities have different terms.
- CocoIndexApache License 2.0CocoIndex is an open-source Python framework with a Rust engine for incrementally transforming changing data into AI indexes and application context. It supports custom transformations, memoization, lineage, live updates, and configurable storage targets. The core uses Apache License 2.0 and can run in a local process or scheduled job without a required vendor service.
- CubeApache License 2.0 by default; Cube Backend Apache License 2.0; Cube Client MITCube is an open-source semantic layer for metrics, dimensions, joins, access policies, caching, and APIs. Cube Core supports BI tools, embedded applications, and AI agents through SQL, REST, GraphQL, and metadata APIs. Cube Cloud adds managed deployment, workbooks, dashboards, analytics chat, embedded surfaces, and collaboration features.
- Elementary DataApache-2.0Elementary Data is an Apache-2.0, dbt-native observability tool for analytics and data engineers. Its open-source CLI and dbt package are free to self-host, while Elementary Cloud adds managed monitoring, lineage, catalog, collaboration, and AI features. Cloud pricing is quote-based, and no raw warehouse-data access is required.
Sources
Last updated 2026-10-22.