When comparing Papertrail 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 Papertrail is ranked 5th. 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 Easy set-up process
To set Papertrail up, use NXLog, or simply direct logs to a URL provided by Papertrail. No proprietary agent.
Pro Simple interface
The default view is mostly taken up by log events with a small row at the bottom for entering a search query, setting date range, accessing saved searches and enabling or disabling real-time logging.
Pro Event and search updates can be viewed in real-time
By default log events and searches in Papertrail are updated in real-time.
Pro Logs can be colorized via third-party software
Logs can be colorized by installing Stylish, a browser extension for Chrome and Firefox that overrides CSS stylesheets, and writing a custom stylesheet.
Papertrail's log entries have various attributes that can be used to change css properties for specific programs or systems, or based on message contents.
Logs can also be colorized within the actual logs by adding ANSI escape codes (will override user-specific colorization).
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 Expensive
Averages out at $8/GB/mo, which feels exorbitant.
Con Ridiculous free plan
Unfortunately, compared with other competitors, their free plan comes with only 50MB/month.
Con No built-in graphing
Papertrail can integrate with Librato Metrics and StatHat to graph event occurrence count over time, but there's no built-in way to visualize data.
Con Antiquated interface
The interface is simple, yet it is slow and hard to work with.
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.