public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* ausearch notes
@ 2008-05-30 21:12 LC Bruzenak
  2008-06-02 14:50 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: LC Bruzenak @ 2008-05-30 21:12 UTC (permalink / raw)
  To: Linux Audit

audit-1.7.4-1.fc9.x86_64

The "-i" flag on ausearch appears to remove the "node=" info when the 
type!=UNKNOWN:

[root@hugo sbin]#  ausearch -ts today | grep -i welcome
...
node=hugo type=UNKNOWN[2800] msg=audit(1212175003.754:11074): user
pid=20597 uid=0 auid=0 subj=root:staff_r:staff_t:s0-s15:c0.c1023
msg='*C* 5/30 19:16:43 comms 20836 audit test: Welcome to audit test
LCB3  : exe="/opt/jcdx/sbin/SecureSyslog" (hostname=comms,
addr=192.168.31.60, terminal=? res=failed)' 
node=hugo type=TRUSTED_APP msg=audit(1212175342.808:11387): user
pid=21612 uid=0 auid=0 subj=root:staff_r:staff_t:s0-s15:c0.c1023
msg='*C* 5/30 19:22:22 comms 21615 audit test: Welcome to audit test
LCB3  : exe="/opt/jcdx/sbin/SecureSyslog" (hostname=comms,
addr=192.168.31.60, terminal=? res=failed)' 
...

[root@hugo sbin]#  ausearch -i -ts today | grep -i welcome 
...
node=hugo type=UNKNOWN[2800] msg=audit(05/30/2008 14:16:43.754:11074) :
user pid=20597 uid=root auid=root
subj=root:staff_r:staff_t:s0-s15:c0.c1023 msg='*C* 5/30 19:16:43 comms
20836 audit test: Welcome to audit test LCB3  :
exe=/opt/jcdx/sbin/SecureSyslog (hostname=comms, addr=192.168.31.60,
terminal=? res=failed)' 
type=TRUSTED_APP msg=audit(05/30/2008 14:22:22.808:11387) : user
pid=21612 uid=root auid=root subj=root:staff_r:staff_t:s0-s15:c0.c1023
msg='*C* 5/30 19:22:22 comms 21615 audit test: Welcome to audit test
LCB3  : exe=/opt/jcdx/sbin/SecureSyslog (hostname=comms,
addr=192.168.31.60, terminal=? res=failed)' 
...

-- 
LC (Lenny) Bruzenak
lenny@magitekltd.com

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

end of thread, other threads:[~2008-06-02 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 21:12 ausearch notes LC Bruzenak
2008-06-02 14:50 ` Steve Grubb

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