Product Documentation

GetLogonCountTrendFiltered

Jul 24, 2013

Gets the logon count trend for the specified time period. Each data point in the trend represents the total number of logons in the last interval (intervalLength). Includes only logons that completed successfully (which have both a LogOnStartDate and a LogOnEndDate in the database).

Parameter Name Type Comments
startDate DateTime Start of the time window to be queried for the logon count trend. Must be UTC.
endDate DateTime End of the time window to be queried for the logon count trend. Must be UTC.
intervalLength int Interval between data points in minutes for the trend.
desktopGroupsFilter string Comma-separated list of desktop group Uids to limit the trend result to.

Returns

A list of TrendItems:

Property Name Type Comments
LogonCountTrend List<TrendItem> LogonDurationTrendItem contains a UTC Date (DateTime) and a Count (int) to represent the number of logons for the date.

Example

Gets a 24-hour trend (data point every 15 minutes) of the logon count trend (in milliseconds) for the two Delivery Groups specified.

 
http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetLogonCountTrendFiltered?start=datetime'2011-09-30T00:00:00'&end=datetime'2011-10-01T00:00:00'intervalLength=15&desktopGroupsFilter='04D53BBE-F5CC-11E0-B401-3F054824019B,0FBEFBBE-F5CC-11E0-9472-40054824019B'

Gets a week-long trend (data point every 4 hours) of the logon duration trend (in milliseconds).

 
http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetLogonCountTrendFiltered?start=datetime'2011-09-23T00:00:00'&end=datetime'2011-10-01T00:00:00'intervalLength=240