From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Pull timestamp from audit event Date: Thu, 22 Mar 2007 14:56:29 -0400 Message-ID: <200703221456.30146.sgrubb@redhat.com> References: <954E3479CC27224785179CA04904214D055C61A3@0668-its-exmp01.us.saic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <954E3479CC27224785179CA04904214D055C61A3@0668-its-exmp01.us.saic.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: "Kirkwood, David A." List-Id: linux-audit@redhat.com 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