When comparing Timber vs Logstash, the Slant community recommends Logstash for most people. In the question“What are the best log management, aggregation & monitoring tools?” Logstash is ranked 1st while Timber is ranked 17th. The most important reason people chose Logstash is:
There is an [official Docker image for Logstash](https://hub.docker.com/_/logstash/) which means it'll likely be well supported and maintained for a while.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Beautiful, modern, easy interface
The Timber interface stands out in the space:
- It's beautiful, easy, and modern.
- It's fast. It uses advanced front-end technologies to maximize performance and usability (react, redux, etc).
Pro Great search
Timber offers a really great simple search, with a support for advanced features like: term negation, condition grouping (parenthesis), regex, field searches and conditions, etc.
Pro SQL query your logs (w/ join support)
Timber allows you to SQL query your logs just like you would a traditional database. The JOIN support is very powerful.
Pro Six month searchable retention
The retention Timber offers is exceptionally longer. The default is generally 2 - 4 weeks, Timber offers 6 months.
Pro Real-time graphing
Because Timber fully embraces structured data, graphing is simple, real time, and fast. They provide a number of aggregates you can graph on.
Pro Automatic context & structured data
Timber provides native libraries that automatically attach metadata to your logs. They've designed a schema that defines events and context, which normalizes the data and makes querying, alerting, and graphing simple and reliable.
Pro Easy installation
Timber can be installed in < 1 min and usually with a single command. It asks your for your application details and provides 1 set of simple instructions.
Pro Simple pricing and plans. No feature matrices.
Besides the free plan, Timber doesn't impose limits on the number of users, alerts, etc. It's entirely based on the amount of data allowed for the plan. It's refreshingly straightforward.
Pro Real-time alerts with thresholds
The alerts are real-time and the approach is thoughtful. Instead of blasting you with alerts every time it's triggered, they change the state of the alert once, notify you once, and then notify you again when the alert is no longer an issue.
Pro Excellent documentation
Timber's docs are detailed and thoughtful, both for the service as well as the libraries they offer.
Pro No rate limiting
Beyond the space your plan is allowed to use, there is no rate limiting.
Pro Logs show up quickly
Logs show up < 3 seconds of when they are generated
Pro Has an official Docker image
There is an official Docker image for Logstash which means it'll likely be well supported and maintained for a while.
Pro Free and open source
Logstash is licensed under Apache 2.0.
Pro Extended functionality via plugins
There is a rich repository of plugins available categorized as inputs, codecs, filters and outputs.
Pro Easy installation
No dependencies, it's a single .jar file. It's written in JRuby and only requires Java to be installed.
Pro Great integration with other Elastic products
Logstash is commonly used as part of ELK stack, that also includes ElasticSearch (a clustered search and storage system) and Kibana (a web frontend for ElasticSearch).
Pro Emphasizes flexibility and interoperability
Logstash is built to fit in your stack.
Pro Filters are code
Filters, also known as "groks", are used to query a log stream. They are provided in a configuration file, that also configures source stream and output streams. Since they are stored in a file, they can be under version control and changes can be reviewed (for example, as part of a Git pull request).
Pro Managed cloud version avaible
There is a cloud based managed version if you are prepared to pay a few bucks.
Pro Good performance
You can run on mediocre system without problems
Cons
Con Not really a centralized log management tool
It only takes in events from specified "apps", not all unstructured data. And, if you select "other" (apps), it just says:
Bummer! We don't support apps of this type yet.
Con Not available on self-hosted or bare metal
Con Does not come bundled with a UI
Logstash does not come bundled with a UI, to visualize data you need to use a tool like Kibana or grafana as the UI.
Con Difficult to maintain
You have to host and maintain it yourself. This can be a challenge as log volume increases.
Con Filters can be hard to write
Simple filters seem easy enough with a pattern like %{SYNTAX:SEMANTIC}
but often RegEx is required. RegEx is a powerful backdoor but it is also dense and hard to learn.
Con No native alerts
Logstash does not have any native alerting capabilities.