Using audti2why with tail?

Dominick Grift domg472 at gmail.com
Tue Dec 28 20:06:53 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/28/2010 08:42 PM, Frank Licea wrote:
> I'd like to scroll the output messages located in /var/log/audit/audit.log.
> I know I can do that with tail -f /var/log/audit/audit.log.
> Is there a way to some how pipe that through audit2why and tail -f to clean
> up the messages as they happen?
> 

not sure if i understand what you mean but maybe something like:

watch -n 5 ausearch -m avc -ts recent

or maybe replace recent with `date | something` to make it more
accurate. (see man watch and man ausearch for that)

> 
> --
> selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0aQ10ACgkQMlxVo39jgT8PKQCfdKesuHag968W+xWHVMxJ9zXB
6doAoJHKsD2ctGEBUUHCsZ8iZ20R5K9X
=xc0a
-----END PGP SIGNATURE-----


More information about the selinux mailing list