3 ms·
Not directly answering your question but 1) fluentd[0] can be used to parse diverse log formats 2) You can set an environment variable, e.g. `ENV`, and output
by olalonde 10y ago
Not directly answering your question but
1) fluentd[0] can be used to parse diverse log formats
2) You can set an environment variable, e.g. `ENV`, and output to a more human readable format when `ENV=development`.
[0] https://github.com/fluent/fluentd/ https://github.com/fluent/fluentd/
- dozzie 10y agoFluentd's regexp parsing will be PITA to maintain, both because regexps only give match/no match, which is difficult to debug, and because of how to test new regexp set with Fluentd. Liblognorm library is a much better choice. Regular rsyslog installation comes with liblognorm already, though I prefer a standalone log parsing daemon (and thus I wrote logdevourer).