Engineering notebook
What is a rsyslog signature provider?
- Published
- Updated
- AI use
- Human-created
Some folks asked what a (rsyslog) signature provider is. In essence, it is just a piece of software written to a specific interface.
There are little functional requirements for signature providers. Most obviously, we expect that it will provide some useful way to sign logs, what means it should be able to provide an integrity proof of either a complete log file or even some log records some time after the logs are recorded.
There is no "official signature provider spec" available. As usual in open source, the provider interface is well defined inside its actual source header file. Take a look for example at rsyslog's git to see the definition.
If you look at that code, the interface is fairly simple. The primary entry points a programmer needs to define are
- OnFileOpen
- OnRecordWrite
- OnFileClose