public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Thoughts on adding sd-journal as a log_format to auditd
@ 2013-03-15 14:43 George McCollister
  2013-03-15 15:22 ` Miloslav Trmac
  0 siblings, 1 reply; 4+ messages in thread
From: George McCollister @ 2013-03-15 14:43 UTC (permalink / raw)
  To: linux-audit

Recently I've been switching over my embedded distro to relying on
systemd for logging. The thought crossed my mind that it would be
convenient if auditd supported storing log information in systemd's
journal with the sd-journal API. It would be great if syslog data and
audit log data were stored in systemd's journal so common a interface
could be used to query, send alerts, generate reports, etc.

I suppose several different approaches could be taken:
 1) Use audispd's builtin syslog plugin to send the events to syslog
which in my case would be systemd storing them to the journal. The
problem with this would be that all of the event information would be
stored in the message, it would be much more useful if each audit log
field resulted in a journal field.

 2) Write an audispd plugin that used the sd-journal API to store
audit events in the journal.

 3) Add sd-journal as a log format to auditd.

Does anyone have any thoughts/comments on why this would be either a
good or bad idea? Further more if I don't receive convincing arguments
why this shouldn't be I'll probably take a shot a write a patch to add
it, so any tips/suggestions relevant would be greatly appreciated.

Thanks,
George McCollister

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

end of thread, other threads:[~2013-03-20 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-15 14:43 Thoughts on adding sd-journal as a log_format to auditd George McCollister
2013-03-15 15:22 ` Miloslav Trmac
2013-03-15 16:54   ` Steve Grubb
2013-03-20 20:58     ` Eric Paris

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