Auditing Citrix Published Applications using Server log

Posted on 2013-05-10
Last Modified: 2013-07-11


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
Question by:makel2
  • 3

Expert Comment

Comment Utility
no easily, Citrix Edgesight is probably your best a cheap solution, and not trivial to implement.
LVL 25

Accepted Solution

Tony1044 earned 500 total points
Comment Utility
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.
LVL 25

Expert Comment

Comment Utility
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).
LVL 25

Expert Comment

Comment Utility
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
LVL 14

Expert Comment

Comment Utility
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.

Featured Post

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now