Softwr

Logging · head to head

Logstash vs Thanos

Logstash logo

Logstash

Logging

Data Processing Pipeline for Ingestion

From
Free
Free plan
Yes
Thanos logo

Thanos

Cloud

Highly available Prometheus with long-term object storage

From
Free
Free plan
Yes

The short version

  • Logstash is a free and open-source data processing pipeline.
  • Both are free.
  • Only Logstash lists data ingestion; only Thanos lists global query.
  • 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 Thanos falls short: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes.

How do Logstash and Thanos differ?

Logstash and Thanos differ on pricing model, platforms (Web, API against Self-hosted, Linux) and category (Logging against Cloud). Only the attributes on which Logstash and Thanos actually diverge.

Attributes where Logstash and Thanos differ
AttributeLogstashThanos
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsWeb, APISelf-hosted, Linux
CategoryLoggingCloud

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

Not yet recorded: founded for Thanos.

Which features does each one have?

They share no listed features; 9 appear only for Logstash and 4 only for Thanos. 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 Thanos

  • Global query
  • Object storage retention
  • Deduplication
  • Downsampling

What is each one used for?

Logstash is most often brought in for log monitoring; Thanos for querying metrics across many clusters or regions from one place. The jobs each tool is most often brought in to do.

Logstash

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

Thanos

  • Querying metrics across many clusters or regions from one placenot Logstash
  • Retaining metrics for years without local disk growthnot Logstash
  • Removing the gap that appears when a single Prometheus instance restartsnot Logstash

Where do Logstash and Thanos fall short?

Logstash's most cited limit: the dead letter queue only covers the Elasticsearch output and conditional evaluation errors, not other outputs. Thanos's: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes. 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

Thanos

  • Several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes
  • The compactor is a common source of operational trouble and must not run twice against the same bucket
  • Query latency over object storage is meaningfully higher than local Prometheus
  • Object storage costs and API request charges become real at high volume

How much do Logstash and Thanos cost?

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

Logstash

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

Thanos

Free
  • ThanosFree
    • Full functionality
    • No usage limits
    • Community support

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 Thanos if

  • You need global query.
  • You want to start without paying.
  • You work on Self-hosted, Linux.
  • You also want object storage retention.

Questions people ask

Is Logstash or Thanos better?
It depends on the job. Logstash fits log monitoring; Thanos fits querying metrics across many clusters or regions from one place. Logstash starts at Free and Thanos at Free.
Which is cheaper, Logstash or Thanos?
Logstash starts at Free and Thanos at Free.
Does Logstash or Thanos run on more platforms?
Logstash runs on Web, API. Thanos runs on Self-hosted, Linux.
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 Thanos is typically brought in for.
What can Logstash do that Thanos cannot?
Logstash covers Data ingestion, Event parsing, Data transformation, Multiple input sources. Thanos covers Global query, Object storage retention, Deduplication, Downsampling.

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
Thanos: Is Thanos free?

Yes, open source and CNCF-incubating. Costs are the object storage it uses.

Thanos: Does Thanos replace Prometheus?

No. It runs alongside existing Prometheus servers, adding global query, deduplication and long-term storage.

Thanos: Thanos or VictoriaMetrics?

Thanos layers onto Prometheus using object storage and is the more established multi-cluster answer. VictoriaMetrics is a separate store aiming at lower resource use and fewer moving parts.

Share

Related pages

Other head to heads