Pull timestamp from audit event

Steve Grubb sgrubb at redhat.com
Thu Mar 22 18:56:29 UTC 2007


On Thursday 22 March 2007 14:41, Kirkwood, David A. wrote:
> How can I pull the timestamp from a particular audit event.

Which audit package? For current, there is the auparse library for C and 
python.

> For example: 
> I want to pull all /bin/su events from the audit log for the week with
> when they occurred. How can I do this?

If you want to do this by shell scripting, you can do this:

aureport --start this-week --end now -i --file | grep \/bin\/su

-Steve




More information about the Linux-audit mailing list