Auditing Citrix Published Applications using Server log

Posted on 2013-05-10
Medium Priority
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

ID: 39155455
no easily, Citrix Edgesight is probably your best bet...no a cheap solution, and not trivial to implement.
LVL 26

Accepted Solution

Tony J earned 2000 total points
ID: 39155531
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 26

Expert Comment

by:Tony J
ID: 39155541
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 26

Expert Comment

by:Tony J
ID: 39155589
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 15

Expert Comment

ID: 39156026
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits …
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
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.
Suggested Courses

587 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