If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Audit Logs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-10-05, 15:06
y_milee y_milee is offline
Registered User
 
Join Date: Jun 2004
Posts: 12
Question DB2 Audit Logs

Hi All,

Can anybody help me with information on DB2 audit logs to know who did what & when on the database?

Thanks
Milee.
Reply With Quote
  #2 (permalink)  
Old 01-11-05, 07:01
Tank Tank is offline
Registered User
 
Join Date: Feb 2004
Location: Copenhagen
Posts: 220
Arrow Certainly

Hi

The db2audit API logs everything on the database for which
it is set. See the full command syntax by typing 'db2audit' without
any flags from your command line.

You can:

1. Start it: 'db2audit start'
2. Stop it: 'db2audit stop'
3. Extract it: 'db2audit extract delasc'

and much much more !! Heres part of an extracted log which
pretty much speaks for itself:

timestamp=2005-01-10-09.26.33.234291;category=SYSADMIN;audit event=DB2AUDIT;
event correlator=1;event status=0;
userid=db2inst2;authid=DB2INST2;
origin node=0;coordinator node=0;
application id=*LOCAL.db2inst2.064E30082633;application name=db2audit;

Hope this helps - and don't forget to configure it to your needs.

SY
__________________
Kristian K. Hansen
Project Supervisor
National Board of Health
Reply With Quote
  #3 (permalink)  
Old 01-11-05, 12:12
y_milee y_milee is offline
Registered User
 
Join Date: Jun 2004
Posts: 12
Thanks for your reply.
I got a complete idea on audit logs and I tested it. It worked.

Thanks
Milee.

Last edited by y_milee; 01-11-05 at 12:16.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On