I've disappeared from this blog in the recent month but I've not been idle: I've implemented initial support for LogStore in the Premium Edition of syslog-ng.
LogStore is a binary log file format, in semantics very similar to a plain log file. But the format allows much more:
In use it is quite simple: replace the "file" destination with "logstore" and you are done. More or less the same amount of options are supported: macro based file names, template based formatting, etc.
I'm still pondering with the idea of storing the complete internal representation of the logrecord in serialized form, so it'd be possible to perform template() based formatting in off-line mode.
This code will be released as an experimental part of syslog-ng PE 2.1 and will be finalized in syslog-ng PE 2.2.
LogStore is a binary log file format, in semantics very similar to a plain log file. But the format allows much more:
- on-line compression via gzip,
- encryption via AES and X.509 certificates,
- integrity protection via hmac-sha1.
In use it is quite simple: replace the "file" destination with "logstore" and you are done. More or less the same amount of options are supported: macro based file names, template based formatting, etc.
I'm still pondering with the idea of storing the complete internal representation of the logrecord in serialized form, so it'd be possible to perform template() based formatting in off-line mode.
This code will be released as an experimental part of syslog-ng PE 2.1 and will be finalized in syslog-ng PE 2.2.
Comments
Apart from that please drop me an email with details and I'll see what I can do.
By the way i do this research for cacert.org, they are interested in this solution.