Auditing Citrix Published Applications using Server log



Is it possible to setup a logging facility to track usernames that access a published application through citrix. We are currently using Citrix Presentation Server 4.5. We have about six Servers in our Citrix Farm.

Please see example below

Here is a list of logins for the last 2 weeks:

23/05/2011 08:28 jackboy_k
23/05/2011 08:34 lewis_j
24/05/2011 10:55 macattack_m

18/05/2011 16:28 kelly_mad
23/05/2011 11:29 keating_r
23/05/2011 12:32 king_g

23/05/2011 09:08 hell_d
24/05/2011 11:05 god_l
30/05/2011 09:42 hello_m
02/06/2011 08:34 friday_i
Who is Participating?
Tony JConnect With a Mentor Lead Technical ArchitectCommented:
Well you could set up a cmd/bat file that appends to a simple text file on launch of an application.

So in the published application itself, you could have something like:

Echo "Application name" %USERNAME%  %DATE% %TIME% >> C:\CitrixLog\App.txt C:\path to published app\app exe

It's quick and dirty and manual but should give you a quick way to get what you want.
no easily, Citrix Edgesight is probably your best a cheap solution, and not trivial to implement.
Tony JLead Technical ArchitectCommented:
Alternatively I seem to recall 4.5 was pre- the rename to EdgeSight so it might be worth checking if you have Remote Management Services (RMS).
Tony JLead Technical ArchitectCommented:
As a slight edit, if you separate the % values with a comma and change from txt to csv you could read them directly into Excel:

Echo "Servername A","Application name",%USERNAME% ,%DATE%,%TIME% >> C:\CitrixLog\App.csv C:\path to published app\app exe
You can absolutely do this with EdgeSight, and I disagree about it being complex to implement.

EdgeSight does require SQL Server and Reporting Services.  Although not officially supported, I have heard that it does work with SQL Server Express 2008 or 2012 Advanced Services.  I haven't tried it as we run ours on full SQL Server.

Setting up EdgeSight on each server is very easy.  All you do is install the EdgeSight agent.  If you're using PVS, install the agent onto a persistent drive.

There are 11 reports that specifically related to published applications, including launch count, user count, and various summaries.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.