public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Realtime parsing with Auparse
@ 2014-11-18 13:37 Wouter van Verre
  2014-11-18 16:38 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Wouter van Verre @ 2014-11-18 13:37 UTC (permalink / raw)
  To: 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 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Realtime parsing with Auparse
  2014-11-18 13:37 Realtime parsing with Auparse Wouter van Verre
@ 2014-11-18 16:38 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2014-11-18 16:38 UTC (permalink / raw)
  To: linux-audit

On Tuesday, November 18, 2014 02:37:38 PM Wouter van Verre wrote:
> 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?

There is an example plugin in the source distribution. You can see it here:

https://fedorahosted.org/audit/browser/trunk/contrib/plugin

The plugin provides a code skeleton and demonstration of how to move around 
the events / records / fields. Other examples would be the prelude-plugin and 
aulast utility.

-Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-18 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18 13:37 Realtime parsing with Auparse Wouter van Verre
2014-11-18 16:38 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox