You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For central logging we will want to reduce the use of stdout / stderr and prefer RFC 5424 syslogging over TCP. Logging should follow a consistent format so that we can write a Logstash grok rule to decode important details.
The remote logging server should be specified by hostname via the command line.
It appears that the Go syslog package supports syslog over UDP and TCP.
On the other hand, talking TCP directly means the program can't take advantage of various security & reliability features that dedicated syslog daemons (rsyslog, syslog-ng) already implement, like TLS encryption for the network forwarding...
It does indeed. Preferably it should be configurable how we want to transmit the log data, though in my initial use case direct submission is the only practical way out of the jail.
Due to some infrastructure changes, it's feasible now to reach rsyslog running on the host. I'm pretty tempted to discard the JSON-logging and instead use helper classes to serialize JSON whenever needed.
There is also a need for the helper to insert an easily-grok-able "AUDIT" flag of some sort to indicate that this message is to meet our CPS audit requirements, and thus be subject to extended retention.
Activity
grawity commentedon Mar 12, 2015
On the other hand, talking TCP directly means the program can't take advantage of various security & reliability features that dedicated syslog daemons (rsyslog, syslog-ng) already implement, like TLS encryption for the network forwarding...
jcjones commentedon Mar 13, 2015
It does indeed. Preferably it should be configurable how we want to transmit the log data, though in my initial use case direct submission is the only practical way out of the jail.
jcjones commentedon Mar 21, 2015
Due to some infrastructure changes, it's feasible now to reach rsyslog running on the host. I'm pretty tempted to discard the JSON-logging and instead use helper classes to serialize JSON whenever needed.
There is also a need for the helper to insert an easily-grok-able "AUDIT" flag of some sort to indicate that this message is to meet our CPS audit requirements, and thus be subject to extended retention.
Rework audit logging. Issue #23.
Merge pull request #61 from letsencrypt/jcj-audit_logging