From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Realtime parsing with Auparse
Date: Tue, 18 Nov 2014 11:38:59 -0500 [thread overview]
Message-ID: <1560546.DyxyecMC89@x2> (raw)
In-Reply-To: <DUB131-W93E3AF4C33BE130DBBFD3BDD880@phx.gbl>
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
prev parent reply other threads:[~2014-11-18 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 13:37 Realtime parsing with Auparse Wouter van Verre
2014-11-18 16:38 ` Steve Grubb [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1560546.DyxyecMC89@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox