Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Can IP addresses be audited in Oracle

RE: Can IP addresses be audited in Oracle

From: Janardhana Donga <jbdonga_at_ucdavis.edu>
Date: Thu, 1 Dec 2005 09:38:34 -0800
Message-ID: <78BCB579CADE3F4BADFA4813170C4AC5253B13@VEXBE1.ex.ad3.ucdavis.edu>


Try this,  

Set linesize 132

col ip_address format a15

col os_username format a11

col username format a16

col terminal format a15

col comment_text format a89

select os_username,

       username,

       terminal,

       timestamp,

       logoff_time,  

RPAD(substr(comment_text,instr(comment_text,'=',1,3)+1,instr(comment_tex t,')',1,2) - instr(comment_text,'=',1,3) 1),15) IP_ADDRESS,

       sessionid

from dba_audit_trail;  

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Randy Samberg Sent: Wednesday, November 30, 2005 5:13 PM To: Oracle-L_at_freelists.org
Subject: Can IP addresses be audited in Oracle  

Hello guru's,  

Does anyone know if there is any way to get the ip address of someone that is logged into Oracle. My manager wants to audit users logging into our Lawson database running on Oracle. He said he wants user, login time, logout time, and ip address. I know that if you turn on auditing, you can get a login and logout time, but this slows down Lawson, and does not give an ip address. The ip address seems to be the most important thing to him. I looked at all the dynamic views, and none of these give that information. Does anyone have any ideas? Thanks in advance.  

Randy    

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Dec 01 2005 - 11:40:46 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US