Logo

audit

audit

Print and monitor audit logs

Usage: sos tools audit <COMMAND>

Commands:
  logs  Print the events in an audit log file
  help  Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

logs

Print the events in an audit log file

Usage: sos tools audit logs [OPTIONS] <AUDIT_LOG>

Arguments:
  <AUDIT_LOG>  Audit log file

Options:
  -j, --json                     Print each event as a line of JSON
  -r, --reverse                  Iterate from the end of the file
  -c, --count <COUNT>            Limit events displayed to this amount
  -a, --account-id <ACCOUNT_ID>  Filter to events that match account identifiers
  -h, --help                     Print help