public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: auditd log files
Date: Wed, 9 Mar 2011 07:52:28 -0500	[thread overview]
Message-ID: <201103090752.29214.sgrubb@redhat.com> (raw)
In-Reply-To: <6BE4AAFB10DD834E8F60D36312048EAA01781649FED6@PDCPXMB003.asggroup.com.au>

On Wednesday, March 09, 2011 12:46:26 am Brian Ross wrote:
> I would like to know how I can read the auditd log files stored in
> /var/log/audit.d.

Ausearch is the utility that is meant to display the individual records. However, I 
would start any investigation with aureport --start today --summary   and then see 
what category is having the most events. Each category has its own report. Each report 
has 2 modes, summary and all events. I use the summary to get an idea and then move to 
ausearch when I need to. I have some notes on doing an investigation in the 
audit.rules man page.

Also, The audit daemon is recommended to have /var/log/audit as its own partition to 
prevent problems like you are seeing. It also makes the audit daemon's operation 
better because it calculates the amount of space left for the actions programmed in 
for space_left_action and disk_full_action.

> I have a problem where the auditd system seems to go haywire, fills the
> /var filesystem up to its maximum allowed 80% and then starts to try and
> delete the old log files but the /var filesystem keeps filling up, at
> which point it ceases execution and then I have SysEdge reporting a
> massive CPU load and the whole server locks up.
> 
> I believe the auditd system's behavior is symptomatic, rather than the
> cause of the problem.   I note that the auditd log files are in some
> binary format.  Is there a means to read them?

They are text records with an occasional field in a special encoding to prevent log 
injection attacks. 

-Steve

      reply	other threads:[~2011-03-09 12:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09  5:46 auditd log files Brian Ross
2011-03-09 12:52 ` 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=201103090752.29214.sgrubb@redhat.com \
    --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