* aureport question
@ 2009-12-20 21:10 LC Bruzenak
2009-12-23 14:34 ` Steve Grubb
0 siblings, 1 reply; 2+ messages in thread
From: LC Bruzenak @ 2009-12-20 21:10 UTC (permalink / raw)
To: Linux Audit
Steve,
The aureport utility has an option to use an alternative input file.
Because I have to move my logs, I really need an alternative input
directory, preferably a starting point, since my saved logs are:
/var/log/audit-archive/<YEAR>/<MONTH>/<DAY> .
Then I could do "aureport --topdir /var/log/audit-archive/2009/12 "
and get all the 12/2009 events up to now.
What do you think?
I thought about creating a different flat directory and just linking
the files I want, however I do not think the current options will
allow this either. I guess that would be the easiest change though, to
allow the -if parameter to be a directory or a file.
Thx,
LCB.
--
LC (Lenny) Bruzenak
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: aureport question
2009-12-20 21:10 aureport question LC Bruzenak
@ 2009-12-23 14:34 ` Steve Grubb
0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2009-12-23 14:34 UTC (permalink / raw)
To: linux-audit
On Sunday 20 December 2009 04:10:29 pm LC Bruzenak wrote:
> The aureport utility has an option to use an alternative input file.
Right. This is to override the directory setting that it gets from
auditd.conf.
> Because I have to move my logs, I really need an alternative input
> directory, preferably a starting point, since my saved logs are:
> /var/log/audit-archive/<YEAR>/<MONTH>/<DAY> .
> Then I could do "aureport --topdir /var/log/audit-archive/2009/12 "
> and get all the 12/2009 events up to now.
>
> What do you think?
This trick doesn't work any more?
https://www.redhat.com/archives/linux-audit/2009-August/msg00031.html
You could do
cat `ls /var/log/audit-archive/<YEAR>/<MONTH>/<DAY>/a* | sort -r` | aureport
and it should work.
> I thought about creating a different flat directory and just linking
> the files I want, however I do not think the current options will
> allow this either. I guess that would be the easiest change though, to
> allow the -if parameter to be a directory or a file.
I suppose that could be done. But whatever we do in aureport, we need to do to
ausearch since they share a lot of code and design.
-Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-23 14:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-20 21:10 aureport question LC Bruzenak
2009-12-23 14:34 ` Steve Grubb
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.