Desktop productivity for business analysts and programmers

Want to know the users who are using the SAS Enterprise Guide.

Reply
New Contributor
Posts: 2

Want to know the users who are using the SAS Enterprise Guide.

Hello ,

 

Im working in an automobile industry as an sas admin and new to this role .

Users extract the reports through SAS EG and SAS EG tool is connected to sas server .Its on windows platform . I have access to SAS management console .  I would like to trace the users who are active on SAS EG and would like to know the login time , date and other details etc .

We dont have SAS Environment manager .

 

Can i get the solution ?

Esteemed Advisor
Posts: 6,699

Re: Want to know the users who are using the SAS Enterprise Guide.

One option:

in the configuration tree for the workspace server (/../.../Lev1/SASApp/WorkspaceServer) you find a file (WorkspaceServer_usermods.sh) that is specifically there to add customization that will be preserved over updates of the SAS software. In that, you could add a line that saves the information that you want to a file which you can later analyse.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Esteemed Advisor
Posts: 5,202

Re: Want to know the users who are using the SAS Enterprise Guide.

Another one: the macro variable _Clientapp resoves to 'SAS Enterprise Guide'. You can use that information in the apppserver_autoexec_usermode.sas to do what you want.

Data never sleeps
Super Contributor
Posts: 387

Re: Want to know the users who are using the SAS Enterprise Guide.

If you can't get SAS Environment Manager installed and APM enabled, another option would be to parse and report from the SAS Metadata Server log files yourself. You can report on both failed and successful logins. Here is an example of an EG connection where you can see the date/time, user id, client IP address and client app name:

 

2016-03-24T18:43:47,689 INFO [03754817] :sasdemo - New client connection (395863) accepted from server port 8561 for user sasdemo. Encryption level is Credentials using encryption algorithm SASPROPRIETARY. Peer IP address and port are [::ffff:192.168.0.123]:55883 for APPNAME=SAS Enterprise Guide.

 

... and here's an example of a failed login:

 

2016-03-24T18:48:10,686 WARN [03755267] :sas - New client connection (399601) rejected from server port 8561 for user sasdemo. Peer IP address and port are [::ffff:192.168.0.123]:55886 for APPNAME=SAS Enterprise Guide.

 

If you want to go further and track their usage of SAS Workspace Servers (and SAS Stored Process Servers) you could also look at the SAS Object Spawners log files too.

New Contributor
Posts: 2

Re: Want to know the users who are using the SAS Enterprise Guide.

Hello Paulhomes ,

 

Thanks for your rely . Can you please explain me procedure step by step as im unable to extract the user data .

Thanks in advance .

 

Regards,

Kal

Super Contributor
Posts: 387

Re: Want to know the users who are using the SAS Enterprise Guide.

Hi Kal,

 

Step by step instructions for something of this scale (installing/configuring and using SAS Environment Manager with APM, or writing and scheduling robust/secure cross-platform multi-log parsing/reporting) would make for a very long SAS communities thread! Smiley Happy

 

If you need more than general suggestions and pointers to relevant online docs, I'd recommend contacting SAS Professional Services or one of the SAS Partners in your region to see if they can help.

 

Regards

Paul

 

 

Ask a Question
Discussion stats
  • 5 replies
  • 532 views
  • 4 likes
  • 4 in conversation