5 ms·
I'm a big fan of heroku's scrolls gem[1], it uses a key=value format and is intended to be streamed straight into stdout. We're using it with splunk storm[2] wh
by ollysb 13y ago
I'm a big fan of heroku's scrolls gem[1], it uses a key=value format and is intended to be streamed straight into stdout. We're using it with splunk storm[2] which automatically parses logs in the key=value format and from there you can slice/dice the logs using their query language and graphing. This makes it super easy to spot patterns in the logs where there might be an issue.
[1] https://github.com/asenchi/scrolls https://github.com/asenchi/scrolls
[2] https://www.splunkstorm.com/ https://www.splunkstorm.com/
- ryandotsmith 13y agoYou would really dig l2met.[1] It is a system that creates metrics from k=v log data. https://github.com/ryandotsmith/l2met https://github.com/ryandotsmith/l2met
- zimbatm 13y agoYes Lines-ruby is similar to scrolls with richer data types and support for ActiveRecord and Rack loggers out of the box. It also provides the parser to extract the data back.