Skip to content

Instantly share code, notes, and snippets.

@gryte
Last active January 4, 2016 16:00
Show Gist options
  • Save gryte/37b6107e28ad9a49fa67 to your computer and use it in GitHub Desktop.
Save gryte/37b6107e28ad9a49fa67 to your computer and use it in GitHub Desktop.
logging_notes

DESIGNING FOR AUDITABILITY [1]

  • Every tool or script you run should create a log event.
  • The log event should include as much meta-data as possible, but start with who, what and when.
  • These log events should be centralized into something like Logstash.
  • Adopt JSON as your logging format.
  • Incrementally improve things over time. This is not a big project to take on.
Citations

[1] It's not Production without an audit trail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment