Softwr

Logging · head to head

Logstash vs Zeek

Logstash logo

Logstash

Logging

Data Processing Pipeline for Ingestion

From
Free
Free plan
Yes
Zeek logo

Zeek

Networking

Open-source passive network traffic analyser and logger

From
Free
Free plan
Yes

The short version

  • Logstash is a free and open-source data processing pipeline; Zeek is a free, open-source network monitor.
  • Both are free.
  • Only Logstash lists data ingestion; only Zeek lists passive traffic monitoring.
  • Where Logstash falls short: persistent queues are off by default (queue.type is memory), so in-flight events can be lost on abnormal shutdown unless enabled.
  • Where Zeek falls short: passive only, so it does not block traffic.

How do Logstash and Zeek differ?

Logstash and Zeek differ on platforms (Web, API against Linux, macOS) and category (Logging against Networking). Only the attributes on which Logstash and Zeek actually diverge.

Attributes where Logstash and Zeek differ
AttributeLogstashZeek
PlatformsWeb, APILinux, macOS
CategoryLoggingNetworking

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Not yet recorded: founded for Zeek.

Which features does each one have?

They share no listed features; 9 appear only for Logstash and 7 only for Zeek. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Logstash

  • Data ingestion
  • Event parsing
  • Data transformation
  • Multiple input sources
  • API
  • Webhooks
  • REST
  • Web support

Only in Zeek

  • Passive traffic monitoring
  • Structured logs, 70+ by default
  • Application-layer protocol analysis
  • Threat and anomaly detection scripts
  • Scripting language
  • Community packages
  • SIEM integration

What is each one used for?

Logstash is most often brought in for log monitoring; Zeek for network forensics and threat hunting. The jobs each tool is most often brought in to do.

Logstash

  • Log monitoringnot Zeek
  • Application performancenot Zeek
  • Security analyticsnot Zeek
  • Troubleshootingnot Zeek

Zeek

  • Network forensics and threat huntingnot Logstash
  • Generating protocol logs for a SIEMnot Logstash
  • Monitoring research and campus networksnot Logstash
  • Detecting suspicious DNS or TLS behaviournot Logstash

Where do Logstash and Zeek fall short?

Logstash's most cited limit: the dead letter queue only covers the Elasticsearch output and conditional evaluation errors, not other outputs. Zeek's: passive only, so it does not block traffic. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Logstash

  • Logstash's source is dual licensed: code outside the x-pack directory is Apache License 2.0, but code inside x-pack (which carries several of Logstash's monitoring and management features) is licensed under the Elastic License, not a fully open source license
  • Persistent queues are off by default (queue.type is memory), so in-flight events can be lost on abnormal shutdown unless enabled
  • Persistent queues cannot protect inputs without acknowledgement such as tcp and udp, and NFS is not supported for queue storage
  • The dead letter queue only covers the Elasticsearch output and conditional evaluation errors, not other outputs

Zeek

  • Passive only, so it does not block traffic
  • Needs scripting and network skills to tune
  • Output requires a separate SIEM or analytics layer to be useful
  • No vendor-backed commercial support described on its site

How much do Logstash and Zeek cost?

Logstash is free to use; Zeek is free to use. Plan by plan below, from each vendor's own pricing page.

Logstash

Free
  • FreeFree
    • Data ingestion
    • Event parsing
    • Data transformation

Zeek

Free

No published plan breakdown. See the Zeek review.

Which should you pick?

Choose Logstash if

  • You need data ingestion.
  • You want to start without paying.
  • You work on Web, API.
  • You also want event parsing.

Choose Zeek if

  • You need passive traffic monitoring.
  • You want to start without paying.
  • You work on Linux, macOS.
  • You also want structured logs, 70+ by default.

Questions people ask

Is Logstash or Zeek better?
It depends on the job. Logstash fits log monitoring; Zeek fits network forensics and threat hunting. Logstash starts at Free and Zeek at Free.
Which is cheaper, Logstash or Zeek?
Logstash starts at Free and Zeek at Free.
Does Logstash or Zeek run on more platforms?
Logstash runs on Web, API. Zeek runs on Linux, macOS.
Can I use Logstash for free?
Both have a free tier, so you can try either at no cost before committing.
What is Logstash best used for?
Logstash is most often used for log monitoring, application performance, security analytics, troubleshooting. Of those, log monitoring and application performance are not what Zeek is typically brought in for.
What can Logstash do that Zeek cannot?
Logstash covers Data ingestion, Event parsing, Data transformation, Multiple input sources. Zeek covers Passive traffic monitoring, Structured logs, 70+ by default, Application-layer protocol analysis, Threat and anomaly detection scripts.

Answered from the vendors’ own pages

Logstash: How much does Logstash cost?

Logstash is free and open-source. The data processing pipeline is available to download at no charge and can be deployed without licensing costs or commercial restrictions.

Source
Zeek: Is Zeek free?

Yes. It is open source under the BSD licence, according to Wikipedia.

Source
Zeek: Does Zeek block attacks?

No. The project describes it as passive, unlike a firewall or intrusion prevention system. It watches traffic and writes logs.

Source
Zeek: Why was Bro renamed?

Wikipedia says project leadership decided to rename it in 2018, taking the name from a pseudo-user account developers used for their sensors.

Source
Share

Related pages

Other head to heads