Softwr

Logging · head to head

Fluentd vs Eclipse Mosquitto

Fluentd logo

Fluentd

Logging

Open Source Data Collector for Unified Logging

From
Free
Free plan
Yes
Eclipse Mosquitto logo

Eclipse Mosquitto

Networking

Small, EPL-licensed MQTT broker that runs on hardware other brokers cannot

From
Free
Free plan
Yes

The short version

  • Fluentd is an open-source data collector.
  • Both are free.
  • Only Fluentd lists log collection; only Eclipse Mosquitto lists very small footprint.
  • Where Fluentd falls short: Fluentd needs more than 60 MB of memory at runtime, against roughly 450 KB for Fluent Bit.

How do Fluentd and Eclipse Mosquitto differ?

Fluentd and Eclipse Mosquitto differ on pricing model, platforms and category (Logging against Networking). Only the attributes on which Fluentd and Eclipse Mosquitto actually diverge.

Attributes where Fluentd and Eclipse Mosquitto differ
AttributeFluentdEclipse Mosquitto
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsWeb, APILinux, Windows, macOS, Self-hosted
CategoryLoggingNetworking

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Eclipse Mosquitto.

Which features does each one have?

They share no listed features; 9 appear only for Fluentd and 6 only for Eclipse Mosquitto. 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 Fluentd

  • Log collection
  • Data parsing
  • Filtering and buffering
  • Event routing
  • API
  • Webhooks
  • REST
  • Web support

Only in Eclipse Mosquitto

  • MQTT 5.0 support
  • Very small footprint
  • Bridging
  • WebSockets listener
  • Command line clients
  • Dynamic security plugin

What is each one used for?

Fluentd is most often brought in for unified log collection and routing from many sources to many destinations. The jobs each tool is most often brought in to do.

Fluentd

  • Unified log collection and routing from many sources to many destinationsnot Eclipse Mosquitto
  • Parsing and transforming log records before forwardingnot Eclipse Mosquitto
  • Aggregating logs from containers into Elasticsearch, S3 or a SIEMnot Eclipse Mosquitto

Eclipse Mosquitto

  • A home or building automation stack where the broker must run on the same small computer as everything elsenot Fluentd
  • An industrial gateway that buffers local telemetry and bridges selected topics to a cloud brokernot Fluentd
  • Local development and testing of MQTT clients without provisioning a cloud IoT servicenot Fluentd
  • An air-gapped deployment where a broker with no licence server and no phone-home behaviour is a requirementnot Fluentd

Where do Fluentd and Eclipse Mosquitto fall short?

Fluentd's most cited limit: Fluentd needs more than 60 MB of memory at runtime, against roughly 450 KB for Fluent Bit. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Fluentd

  • Fluentd needs more than 60 MB of memory at runtime, against roughly 450 KB for Fluent Bit
  • Fluentd is built as a Ruby gem and depends on other gems, so a Ruby runtime is required
  • Its capability comes from over 1,000 external plugins rather than built in functionality, so each added input or output is a separate dependency
  • The Fluent Bit documentation states that cloud providers have switched from Fluentd to Fluent Bit for performance and compatibility and calls Fluent Bit the next generation solution

Eclipse Mosquitto

  • There is no clustering: Mosquitto is a single process, so high availability means building your own failover and accepting session loss on switchover
  • Persistence is a local file rather than a replicated store, so a disk failure or an unclean shutdown can lose retained messages and queued QoS traffic
  • Practical capacity is a few thousand concurrent clients on typical hardware, so a growing device fleet eventually forces a migration to a clustered broker
  • The Eclipse Public Licence is weak copyleft rather than permissive, which some legal teams treat as a blocker when embedding the broker in a shipped commercial product
  • There is no commercial support to buy from the project, so production incidents rely on community mailing lists or on paying a third party who happens to know the codebase

How much do Fluentd and Eclipse Mosquitto cost?

Fluentd is free to use; Eclipse Mosquitto is free to use. Plan by plan below, from each vendor's own pricing page.

Fluentd

Free
  • FreeFree
    • Log collection
    • Data parsing
    • Filtering and buffering

Eclipse Mosquitto

Free
  • Eclipse MosquittoFree
    • Eclipse Public License 2.0 with Eclipse Distribution Licence
    • MQTT 5.0, 3.1.1 and 3.1
    • No client or message limits beyond your hardware

Which should you pick?

Choose Fluentd if

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

Choose Eclipse Mosquitto if

  • You need mqtt 5.0 support.
  • You want to start without paying.
  • You work on Linux, Windows, macOS, Self-hosted.
  • You also want very small footprint.

Questions people ask

Is Fluentd or Eclipse Mosquitto better?
It depends on the job. Fluentd fits unified log collection and routing from many sources to many destinations; Eclipse Mosquitto fits a home or building automation stack where the broker must run on the same small computer as everything else. Fluentd starts at Free and Eclipse Mosquitto at Free.
Which is cheaper, Fluentd or Eclipse Mosquitto?
Fluentd starts at Free and Eclipse Mosquitto at Free.
Does Fluentd or Eclipse Mosquitto run on more platforms?
Fluentd runs on Web, API. Eclipse Mosquitto runs on Linux, Windows, macOS, Self-hosted.
Can I use Fluentd for free?
Both have a free tier, so you can try either at no cost before committing.
What is Fluentd best used for?
Fluentd is most often used for unified log collection and routing from many sources to many destinations, parsing and transforming log records before forwarding, aggregating logs from containers into elasticsearch, s3 or a siem. Of those, unified log collection and routing from many sources to many destinations and parsing and transforming log records before forwarding are not what Eclipse Mosquitto is typically brought in for.
What can Fluentd do that Eclipse Mosquitto cannot?
Fluentd covers Log collection, Data parsing, Filtering and buffering, Event routing. Eclipse Mosquitto covers MQTT 5.0 support, Very small footprint, Bridging, WebSockets listener.

Answered from the vendors’ own pages

Fluentd: How much does Fluentd cost?

Fluentd is free and open-source under the Apache 2 License from the Cloud Native Computing Foundation (CNCF). There are no subscription fees, licensing costs, or commercial pricing tiers.

Source
Eclipse Mosquitto: Can Mosquitto be clustered?

No. It is a single process. High availability requires an external failover arrangement you build yourself.

Eclipse Mosquitto: What licence is it?

Eclipse Public License 2.0 alongside the Eclipse Distribution License, a weak copyleft rather than a permissive licence.

Eclipse Mosquitto: How many clients can it handle?

A few thousand concurrent connections on ordinary hardware; beyond that, use a clustered broker.

Eclipse Mosquitto: Does it support MQTT 5?

Yes, along with 3.1.1 and 3.1.

Share

Related pages

Other head to heads