Softwr

Logging · head to head

Logstash vs Packer

Logstash logo

Logstash

Logging

Data Processing Pipeline for Ingestion

From
Free
Free plan
Yes
Packer logo

Packer

Cloud

Build automated machine images

From
Free
Free plan
Yes

The short version

  • Logstash is a free and open-source data processing pipeline.
  • Both are free.
  • Only Logstash lists event parsing; only Packer lists image building.
  • 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 Packer falls short: Packer 1.10.0 and later is licensed under the Business Source License 1.1 with IBM Corporation as licensor, not an OSI open source licence.

How do Logstash and Packer differ?

Logstash and Packer differ on platforms, category (Logging against Cloud) and year founded (2011 against 2013). Only the attributes on which Logstash and Packer actually diverge.

Attributes where Logstash and Packer differ
AttributeLogstashPacker
PlatformsWeb, APILinux, Windows, macOS
CategoryLoggingCloud
Founded20112013

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

Which features does each one have?

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

  • Image building
  • Multi-platform support
  • Provisioners
  • Builders
  • Post-processors
  • Variables
  • Data sources
  • Validation

What is each one used for?

Logstash is most often brought in for log monitoring; Packer for building identical machine images for multiple clouds from one template. The jobs each tool is most often brought in to do.

Logstash

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

Packer

  • Building identical machine images for multiple clouds from one templatenot Logstash
  • Baking golden AMIs and VM images into a CI pipelinenot Logstash
  • Creating immutable infrastructure artifacts consumed by Terraformnot Logstash

Where do Logstash and Packer fall short?

Logstash's most cited limit: the dead letter queue only covers the Elasticsearch output and conditional evaluation errors, not other outputs. 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

Packer

  • Packer 1.10.0 and later is licensed under the Business Source License 1.1 with IBM Corporation as licensor, not an OSI open source licence
  • The Additional Use Grant forbids offering Packer to third parties on a hosted or embedded basis in a paid product that competes with IBM's paid versions of Packer
  • Each version converts to the MPL 2.0 Change License only four years after that version is first published, and the Change Date is set separately per version
  • Alternative licensing for uses outside the grant must be arranged with the licensor rather than taken under the public licence

How much do Logstash and Packer cost?

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

Logstash

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

Packer

Free
  • Open SourceFree
    • Multi-platform image building
    • Template-driven
    • Provisioner 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 Packer if

  • You need image building.
  • You want to start without paying.
  • You work on Linux, Windows, macOS.
  • You also want multi-platform support.

Questions people ask

Is Logstash or Packer better?
It depends on the job. Logstash fits log monitoring; Packer fits building identical machine images for multiple clouds from one template. Logstash starts at Free and Packer at Free.
Which is cheaper, Logstash or Packer?
Logstash starts at Free and Packer at Free.
Does Logstash or Packer run on more platforms?
Logstash runs on Web, API. Packer runs on Linux, Windows, 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 Packer is typically brought in for.
What can Logstash do that Packer cannot?
Logstash covers Data ingestion, Event parsing, Data transformation, Multiple input sources. Packer covers Image building, Multi-platform support, Provisioners, Builders.

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
Packer: How much does HashiCorp Packer cost?

Packer does not publish specific pricing on its website. The open-source Packer tool is free, while HCP Packer (HashiCorp's cloud-hosted version) offers a free trial, but detailed pricing requires contacting HashiCorp.

Source
Share

Related pages

Other head to heads