Tracking logins to Datastage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
whenry6000
Premium Member
Premium Member
Posts: 129
Joined: Thu Mar 02, 2006 8:28 am

Tracking logins to Datastage

Post by whenry6000 »

I'm wondering if there is an easy way to get a daily report of which users have logged into Datastage over the course of a day. Is this information stored anywhere that is easily accessible? Is there any kind of script that a sys admin can use to access this information??
Thnaks!
GJ_Stage
Participant
Posts: 131
Joined: Mon Oct 27, 2008 6:59 am

Post by GJ_Stage »

Using below command you can get machine name who is loggin in datastage:

netstat -a | grep servername.dsrpc

Sample :

netstat -a | grep UATDS.dsrpc
whenry6000
Premium Member
Premium Member
Posts: 129
Joined: Thu Mar 02, 2006 8:28 am

Post by whenry6000 »

Thanks for the response. It seems like that will tell you who is currently logged in, but I was looking for something that could be run nighly and let a sysadmin know who was logged in throughout the course of the day. Is that possible?
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

Prior to at least IS 8.1 FP1, there is no true activity logging from which you could extract this info. You would basically need to run a background process which retrieves active sessions at an interval.

From IS 8.1 FP1 and on, I believe, this has been added to some extent (basically "userid logged in at x time") and may be available either through a WAS log or ASBServer/ASBNode log of some sort. I'm not sure what is available within IS 8.5.

I would recommend asking your official support provider for specifics.

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

To follow up on this, here is the link describing the additional auditing options that were enabled with IS 8.1 FixPack1:
http://www.ibm.com/support/docview.wss? ... wg21411120

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

<your WAS install path here>/AppServer/profiles/default/logs $ tail ISauditLog_0.log
==> ISauditLog_0.log <==
Mar 30, 2011 7:20:55 PM com.ibm.is.auditing
INFO: LOGIN (dsheartbeat): UserID="dsheartbeat", Client="Command client", Origin="<snip>", SessionID="08E673AE-FE96-4D7C-86AB-26538BBAF05D"
Mar 30, 2011 7:21:12 PM com.ibm.is.auditing
INFO: LOGOUT (dsheartbeat): UserID="dsheartbeat", Client="Command client", Origin="<snip>", SessionID="08E673AE-FE96-4D7C-86AB-26538BBAF05D"
Mar 30, 2011 7:21:46 PM com.ibm.is.auditing
INFO: LOGOUT (dnguye0): UserID="dnguye0", Client="DataStage Director", Origin="honts2884c", SessionID="EA62493F-3451-45CC-8A8C-C0B3CD81BC67"
Mar 30, 2011 7:21:52 PM com.ibm.is.auditing
INFO: LOGOUT (dnguye0): UserID="dnguye0", Client="DataStage Designer", Origin="honts2884c", SessionID="46490E39-C591-47C2-9170-65C1F973B116"
Mar 30, 2011 7:26:11 PM com.ibm.is.auditing
INFO: LOGOUT (jswasdi): UserID="jswasdi", Client="DataStage Designer", Origin="honts2884h", SessionID="1297D255-948F-4077-AE56-0E799A2781C5"
<your WAS install path here>/AppServer/profiles/default/logs $


You have to enable the tracing. This is part of 8.1 and not present in 8.0.1.
Post Reply