Softwr

Networking · head to head

MQTT vs Zeek

MQTT logo

MQTT

Networking

Lightweight messaging protocol for IoT devices

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

  • Zeek is a free, open-source network monitor.
  • Both are free.
  • Only MQTT lists QoS Levels; only Zeek lists passive traffic monitoring.
  • Where MQTT falls short: MQTT is an open-source protocol standard with no commercial pricing; not a commercial product.
  • Where Zeek falls short: passive only, so it does not block traffic.

How do MQTT and Zeek differ?

MQTT and Zeek differ on platforms. Only the attributes on which MQTT and Zeek actually diverge.

Attributes where MQTT and Zeek differ
AttributeMQTTZeek
PlatformsAny platform, Embedded devices, Web, Browser extensionLinux, macOS

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

Not yet recorded: founded for Zeek.

Which features does each one have?

They share no listed features; 12 appear only for MQTT 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 MQTT

  • Publish-Subscribe
  • Lightweight
  • QoS Levels
  • Retained Messages
  • IoT platforms
  • Home automation
  • Cloud services
  • Edge devices

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?

MQTT is most often brought in for IoT messaging; Zeek for network forensics and threat hunting. The jobs each tool is most often brought in to do.

MQTT

  • IoT messagingnot Zeek
  • Sensor datanot Zeek
  • Real-time updatesnot Zeek
  • Device telemetrynot Zeek

Zeek

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

Where do MQTT and Zeek fall short?

MQTT's most cited limit: MQTT is an open-source protocol standard with no commercial pricing; not a commercial product. 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.

MQTT

  • MQTT is an open-source protocol standard with no commercial pricing; not a commercial product
  • Security is not built into the protocol: encryption relies on TLS or application level encryption, and TLS adds network overhead
  • Clients cannot exchange messages directly: a broker server is required to route published messages to subscribers
  • Delivery has only three quality of service levels (at most once, at least once, exactly once), so richer routing needs broker features

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 MQTT and Zeek cost?

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

MQTT

Free
  • Open ProtocolFree
    • Publish-subscribe
    • Lightweight
    • QoS levels

Zeek

Free

No published plan breakdown. See the Zeek review.

Which should you pick?

Choose MQTT if

  • You need publish-subscribe.
  • You want to start without paying.
  • You work on Any platform, Embedded devices, Web, Browser extension.
  • You also want lightweight.

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 MQTT or Zeek better?
It depends on the job. MQTT fits ioT messaging; Zeek fits network forensics and threat hunting. MQTT starts at Free and Zeek at Free.
Which is cheaper, MQTT or Zeek?
MQTT starts at Free and Zeek at Free.
Does MQTT or Zeek run on more platforms?
MQTT runs on Any platform, Embedded devices, Web, Browser extension. Zeek runs on Linux, macOS.
Can I use MQTT for free?
Both have a free tier, so you can try either at no cost before committing.
What is MQTT best used for?
MQTT is most often used for iot messaging, sensor data, real-time updates, device telemetry. Of those, iot messaging and sensor data are not what Zeek is typically brought in for.
What can MQTT do that Zeek cannot?
MQTT covers Publish-Subscribe, Lightweight, QoS Levels, Retained Messages. 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

MQTT: Does MQTT have a commercial license cost?

MQTT is an open-source communication protocol and standard. No pricing is published because MQTT itself is not a commercial product for sale.

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