From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wouter van Verre Subject: Realtime parsing with Auparse Date: Tue, 18 Nov 2014 14:37:38 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx13.extmail.prod.ext.phx2.redhat.com [10.5.110.18]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sAIDbfR5002895 for ; Tue, 18 Nov 2014 08:37:41 -0500 Received: from DUB004-OMC3S14.hotmail.com (dub004-omc3s14.hotmail.com [157.55.2.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sAIDbdC8030514 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO) for ; Tue, 18 Nov 2014 08:37:40 -0500 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 Hi all, I am looking to do some real time parsing with audit. After some testing I figured it would be easier to the parsing in a plugin on the local machine and then send the parsed data to a remote machine for storage. After reading the audit-parse.txt document I am not quite sure how to proceed. Given that the plugin will receive data on stdin, how would I go about setting the auparse library up (for example, what ausource_t should I specify to initialise the auparse_state_t object) to enable real time parsing? Many thanks, Wouter