By default ospatrol will output alerts to a logfile located at /var/ospatrol/logs/alerts/alerts.log
.
The alert format is multi-line, and the exact information will vary based on the alert.
The alerts.log file rotates every day at midnight, and is saved to /var/ospatrol/logs/alerts/YYYY/mm/ospatrol-alerts-dd.log.gz
.
The MD5 of the logfile is stored in /var/ospatrol/logs/alerts/YYYY/mm/ospatrol-alerts-dd.log.sum
.
There are currently no options associated with the alerts.log
** Alert 1345225879.4882: - syslog,sudo
2012 Aug 17 13:51:19 arrakis->/var/log/secure
Rule: 5402 (level 3) -> 'Successful sudo to ROOT executed'
User: ddp
2012-08-17T13:51:19.415746-04:00 arrakis sudo: ddp : TTY=ttyp3 ; PWD=/home/ddp ; USER=root ; COMMAND=/usr/sbin/pkg_add -ui
** Alert 1345226469.5197: - ospatrol,
2012 Aug 17 14:01:09 arrakis->ospatrol-logcollector
Rule: 591 (level 3) -> 'Log file rotated.'
ospatrol: File rotated (inode changed): '/var/log/messages'.