From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Help with audit syscall event output Date: Tue, 03 Sep 2019 17:24:39 -0400 Message-ID: <12155994.AWt580abvh@x2> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 List-Id: linux-audit@redhat.com On Tuesday, September 3, 2019 5:15:29 PM EDT Ankitha Kundhuru wrote: > Any help is greatly appreciated. > > My piece of code can read audit.log file and process it.But when I enable > good number of syscalls, disk gets filled really quick (15GB for half a day > usage) > I wanted to know if there is a way to directly get the events from > userspace audit daemon instead of writing it to a file. Plan is that my > application should process the events as soon as they are created. Yes, there is a presentation that describes the architecture of the audit system including the realtime event interface: http://people.redhat.com/sgrubb/audit/audit_ids_2011.pdf And there is sample code for a plugin here: https://github.com/linux-audit/audit-userspace/tree/master/contrib/plugin -Steve