Amazing Devs

Logstash vs Fluentd: Which Log Pipeline Fits Your Team?

Logstash vs Fluentd: Which Log Pipeline Fits Your Team?

Hand-drawn log pipeline title card illustration

Choose Logstash when you need heavy parsing of raw logs before they land in Elasticsearch. Choose Fluentd when you route mostly structured logs from Kubernetes or many servers to several destinations. Both are free, both are mature, and both fail the same way: nobody on the team owns the pipeline. Whichever you pick, the real cost is the engineering time to configure, tune and maintain it, so the decision is as much about who will run it as which tool you install.

This guide compares the two on the points that decide the outcome (architecture, performance, routing, reliability, licensing and cost), then covers the staffing question that most comparisons skip.

Amazing Devs
Keep Your Log Pipeline Moving
Amazing Devs helps teams access skilled nearshore developers from Brazil, with recruitment focused on technical ability, cultural fit and business alignment.

Visit

TL;DR

  • Logstash is a JVM-based processing engine with a linear input, filter, output pipeline and the tightest fit with Elasticsearch and Kibana.
  • Fluentd is a lighter, CNCF-graduated collector that routes tagged events to many backends, with 500+ plugins on the official site.
  • The oft-quoted memory gap is about 40 MB for Fluentd against about 120 MB for Logstash, but that number comes from a 2015 talk and is only directional.
  • Both tools are free to run; the larger cost is the engineer time to build and maintain pipelines.
  • If you lack that engineer, a nearshore developer placed through Amazing Devs is the faster route than a long local hiring cycle.

Table of Contents

What each tool actually is

A log pipeline tool sits between your applications and wherever you store or analyze logs. It collects events, cleans or reshapes them, and ships them onward.

Fluentd’s official documentation describes it as an open source data collector for a unified logging layer. It collects, filters, buffers and routes event streams to many destinations, and it organizes its plugins into nine types, including input, output, filter, parser, formatter and buffer. Its architecture page says it is written in C and Ruby, was open-sourced in October 2011, and reached CNCF Graduated status in 2019.

Elastic’s Logstash page describes Logstash as an open-source server-side data processing pipeline. It ingests data from many sources, transforms it (grok parsing, geo-IP lookups, anonymizing personal data) and ships it to outputs. It has over 200 plugins, a persistent queue, a dead letter queue and a Pipeline Management UI.

A June 2026 comparison from NXLog frames the split well: Fluentd is a collector that fans one tagged stream out to many destinations, while Logstash is a transformation engine that runs events through a fixed sequence of steps.

If your logs now include LLM application traces alongside server logs, this guide to shipping LLM monitoring shows what you will want your pipeline to carry.

Side-by-side comparison

Criterion Logstash Fluentd
Runtime JVM (JRuby) Ruby with C extensions
Pipeline model Linear input, filter, output Tag-and-match routing
Plugin count About 200 500+ (official site), 1,000+ community plugins per NXLog
Strongest integration Elasticsearch and Kibana Many third-party backends, Kubernetes
Default buffering In-memory queue Memory, with opt-in file buffer
Fleet management Centralized pipeline management in Kibana (paid Elastic subscription) Per-node config files
Governance Led by Elastic CNCF graduated project
Licensing Apache 2.0 core, X-Pack add-ons under Elastic License 2.0 Apache 2.0 across all components

Sources for the table: the NXLog comparison above, the Fluentd homepage and Elastic’s Logstash download page.

Performance and resource use

Performance is what most readers searching this comparison want, and it is where the internet is least reliable.

The famous number

The most cited figure says both tools sustained more than 10,000 events per second, with Fluentd using about 40 MB of memory against roughly 120 MB for Logstash. NXLog traces it to a 2015 OpenStack Summit talk and notes that the test conditions were never published, so treat it as directional. Logz.io’s 2015 comparison does the fleet arithmetic: across 1,000 servers, that gap adds up to about 80 GB of extra memory for Logstash.

Memory and throughput benchmark comparison

That arithmetic is why the choice matters most at the edge. If you run an agent on every host, 80 MB per host is real money. If you run a few central aggregators, it is noise.

What the vendors say about their own tools

Fluentd’s architecture page says a vanilla instance runs on 30 to 40 MB of memory and processes about 13,000 events per second per core. Its performance tuning guide says single-process tuning is enough up to about 5,000 messages per second. Beyond that, it recommends raising flush_thread_count to hide network latency and using multiple workers for CPU-bound instances.

On the Logstash side, Elastic’s settings reference shows the defaults: one pipeline worker per CPU core, a batch size of 125 events and a batch delay of 50 ms. Elastic advises adding workers if events back up while CPU is not saturated.

How to read third-party benchmarks

Benchmarks published by vendors of competing collectors consistently show both tools losing ground to the vendor’s own product, and the results depend on the filters used. Grok-heavy Logstash configurations cost far more CPU than simple forwarding. A fair test of your own logs, with your own parsing rules, on the hardware you will actually run, is worth more than any published chart. That test needs someone with the time to design it, which brings us back to staffing.

Configuration and routing

This is where day-to-day work differs most.

Logstash configuration reads like a script. Events enter, pass through filters in order, and leave through outputs, with if-then-else conditionals to send different events to different places. Logz.io calls this procedural and notes that engineers with a procedural programming background often find it easier to start with.

Fluentd tags every event on input and matches the tag against outputs. Logz.io calls this declarative: you can express rules such as different handling for production and development prefixes without nesting conditionals. Atatus’s 2025 comparison adds that Logstash’s Grok pattern matching can be hard to maintain and debug at scale, and that conditional routing can bloat configs, while Fluentd’s chainable parser plugins keep structured formats such as JSON, syslog and CSV simpler.

A practical rule:

  • Many sources, many destinations, mostly structured logs: tag-based routing in Fluentd is cleaner.
  • Messy raw text that must be restructured before indexing: Logstash’s grok and filter chain is built for it.

Reliability, buffering and recovery

What happens when a destination goes down is the difference between a minor alert and lost data.

Fluentd offers a fast memory buffer and persistent file buffers, according to its official docs. It also documents a high-availability configuration, zero-downtime restart and failure scenarios. NXLog points out that memory buffering drops unflushed data on shutdown, so production setups that cannot lose events should opt in to the file buffer.

Logstash defaults to an in-memory queue. Elastic’s settings reference lists the persisted, disk-based queue as an option, with a default maximum of 1 GB, and the dead letter queue is off by default with the same 1 GB default size once enabled. Elastic’s multiple pipelines documentation explains that you can run several pipelines in one process, each with its own workers and queue type, so a blocked output in one does not back up another.

In both cases durability is a setting somebody has to turn on and test. For a worked example of how queueing and failure handling look in a reporting workflow, see SMTP failure reporting with OpenTelemetry.

Reliability, buffering and recovery

Ecosystem, licensing and cost

Both tools can be downloaded and run without a license fee. Fluentd is Apache 2.0 throughout. Logstash’s default distribution is under the Elastic License, and a pure Apache 2.0 build is also available, according to Elastic’s download page.

Costs appear elsewhere:

  • Management: Logstash’s centralized pipeline management in Kibana is part of a paid Elastic subscription. Fluentd has no first-party fleet UI, so teams manage per-node config files, per NXLog.
  • Hosted Elastic: CubeAPM’s 2026 review notes there is no standalone per-host Logstash price. Cost depends on deployment model, backend, data volume, retention and support plan. It cites Elastic Observability Serverless Logs Essentials starting as low as $0.07 per GB ingested, with prices effective November 1, 2025.
  • Kubernetes fit: Fluentd’s CNCF status and Docker logging driver make it a common choice on Kubernetes. Platform9’s 2020 write-up makes that case.

For a wider view that includes hosted platforms, our guide to the best log management tools compares them by cost and fit.

Which one to choose

Use these situations as your shortcut, following the scenario guidance in the NXLog comparison:

  1. Kubernetes platform, structured JSON logs, several backends: Fluentd, or a lightweight forwarder feeding Fluentd.
  2. Memory-constrained edge or IoT nodes: Fluentd.
  3. Raw, messy logs that need heavy grok structuring before Elasticsearch: Logstash.
  4. Small team already paying for Elastic who wants centralized control from Kibana: Logstash.
  5. You do not yet have anyone who can build and own either: solve staffing first, then let that engineer make the final call with your real log volumes.

The decision behind the decision: who runs it

A log pipeline is never finished. Formats change, services multiply, backends get swapped, and tuning workers, batches and buffers keeps coming back. Startups feel this first, because the person who set up the pipeline is often a product developer who moved on. Established companies feel it when a pipeline grows across teams and nobody owns the configuration.

Traditional local hiring for this kind of work is slow and expensive, and the work itself is often part-time at first. That is the gap nearshore staff augmentation fills: a developer who joins your team, works your sprints and owns the pipeline, without you building a recruiting operation to find them.

How we help you staff the pipeline

Amazing Devs places pre-vetted Brazilian developers with US companies. Our recruitment and assessment process checks technical skills and cultural fit, and we manage the contracts and bureaucracy so you do not have to. Whether you need a developer who can stand up Fluentd on Kubernetes or one who can take over Logstash pipelines and an Elasticsearch stack, you describe the role and we match it, including AI-enabled and AI-native engineers.

See how nearshore staff augmentation works, or look at the Team Extension Model if you want a dedicated team that works as an extension of yours.

Amazing Devs

If you are still weighing models, our comparison of outsourcing vs staff augmentation lays out the differences.

Perspective

Teams ask us which tool is better, and the honest answer is that either one works in capable hands and struggles in unowned ones. The configuration that ran fine at 500 events per second needs a different buffer strategy at 5,000, and someone has to notice.

What we see as the real bottleneck is the hiring cycle. A startup that needs a developer who can own observability does not want to spend months in local recruiting for a role that may begin as a fraction of someone’s week. That is why we built our process around rigorous technical and cultural assessment and around handling contracts for you: you get a developer who is ready to work with your team, and your leaders keep their time for the architecture decisions that matter.

Pick the tool that matches your logs. Then put a good engineer behind it.

Gabriel

FAQ

Is Fluentd faster than Logstash?

Published figures usually show Fluentd using less memory, about 40 MB against roughly 120 MB in a widely cited 2015 comparison. Throughput depends heavily on your parsing rules, because grok-heavy filters cost CPU in either tool. Measure with your own logs.

Can I use Fluentd with Elasticsearch?

Yes. Fluentd routes events to many destinations, and Elasticsearch is one of them. Logstash has the deepest native integration with Elasticsearch and Kibana, but Fluentd’s output plugins let you send data there too.

Are Logstash and Fluentd free?

Both can be run without a license fee. Fluentd is Apache 2.0 throughout, and Logstash is available under the Elastic License by default with an Apache 2.0 build also offered. Your costs come from infrastructure, any paid Elastic features and the engineering time to maintain pipelines.

Which is better for Kubernetes?

Fluentd is the more common choice for Kubernetes. It is a CNCF graduated project, has container-oriented parsers and uses a tag-based routing model that suits many services feeding several backends.

Who should set up and maintain the pipeline?

A developer who can own configuration, buffering and tuning over time. If your team does not have one, Amazing Devs can match you with a vetted nearshore developer through staff augmentation.

Sources