Need advice about which tool to choose?Ask the StackShare community!

Logstash

8.2K
6.2K
+ 1
102
StatsD

263
257
+ 1
31
Add tool

Logstash vs StatsD: What are the differences?

What is Logstash? Collect, Parse, & Enrich Data. Logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). If you store them in Elasticsearch, you can view and analyze them with Kibana.

What is StatsD? Simple daemon for easy stats aggregation. StatsD is a front-end proxy for the Graphite/Carbon metrics server, originally written by Etsy's Erik Kastner. StatsD is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP and sends aggregates to one or more pluggable backend services (e.g., Graphite).

Logstash belongs to "Log Management" category of the tech stack, while StatsD can be primarily classified under "Monitoring Tools".

Some of the features offered by Logstash are:

  • Centralize data processing of all types
  • Normalize varying schema and formats
  • Quickly extend to custom log formats

On the other hand, StatsD provides the following key features:

  • buckets: Each stat is in its own "bucket". They are not predefined anywhere. Buckets can be named anything that will translate to Graphite (periods make folders, etc)
  • values: Each stat will have a value. How it is interpreted depends on modifiers. In general values should be integer.
  • flush: After the flush interval timeout (defined by config.flushInterval, default 10 seconds), stats are aggregated and sent to an upstream backend service.

"Free" is the top reason why over 60 developers like Logstash, while over 6 developers mention "Single responsibility" as the leading cause for choosing StatsD.

Logstash and StatsD are both open source tools. It seems that StatsD with 14.1K GitHub stars and 1.83K forks on GitHub has more adoption than Logstash with 10.3K GitHub stars and 2.76K GitHub forks.

reddit, Docplanner, and Harvest are some of the popular companies that use Logstash, whereas StatsD is used by Lyft, Shopify, and SendGrid. Logstash has a broader approval, being mentioned in 551 company stacks & 270 developers stacks; compared to StatsD, which is listed in 72 company stacks and 16 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Logstash
Pros of StatsD
  • 68
    Free
  • 18
    Easy but powerful filtering
  • 12
    Scalable
  • 2
    Kibana provides machine learning based analytics to log
  • 1
    Great to meet GDPR goals
  • 1
    Well Documented
  • 9
    Open source
  • 7
    Single responsibility
  • 5
    Efficient wire format
  • 3
    Loads of integrations
  • 3
    Handles aggregation
  • 1
    Many implementations
  • 1
    Scales well
  • 1
    Simple to use
  • 1
    NodeJS

Sign up to add or upvote prosMake informed product decisions

Cons of Logstash
Cons of StatsD
  • 3
    Memory-intensive
  • 1
    Documentation difficult to use
  • 1
    No authentication; cannot be used over Internet

Sign up to add or upvote consMake informed product decisions

What is Logstash?

Logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). If you store them in Elasticsearch, you can view and analyze them with Kibana.

What is StatsD?

It is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services (e.g., Graphite).

Need advice about which tool to choose?Ask the StackShare community!

What companies use Logstash?
What companies use StatsD?
See which teams inside your own company are using Logstash or StatsD.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Logstash?
What tools integrate with StatsD?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

May 21 2019 at 12:20AM

Elastic

ElasticsearchKibanaLogstash+4
12
3316
JavaScriptGitHubNode.js+29
15
11534
GitHubPythonReact+42
47
39419
GitHubSlackNGINX+15
28
20116
JavaScriptGitHubPython+42
52
19918
What are some alternatives to Logstash and StatsD?
Fluentd
Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on. Fluentd helps you unify your logging infrastructure.
Splunk
It provides the leading platform for Operational Intelligence. Customers use it to search, monitor, analyze and visualize machine data.
Kafka
Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
Beats
Beats is the platform for single-purpose data shippers. They send data from hundreds or thousands of machines and systems to Logstash or Elasticsearch.
Graylog
Centralize and aggregate all your log files for 100% visibility. Use our powerful query language to search through terabytes of log data to discover and analyze important information.
See all alternatives