Product Documentation

GetConnectedUsersTrend

Jul 24, 2013

Gets the connected users trend for Server OS Machines for the specified time period. Each data point in the trend has the total number of users connected to Server OS Machines for the last interval (intervalLength).

Parameter Name Type Comments
startDate DateTime Start of the time window to be queried for the connected users trend. Must be UTC.
endDate DateTime End of the time window to be queried for the connected users trend. Must be UTC.
intervalLength int Interval between data points in minutes for the trend.
desktopGroupsFilter string Comma-separated list of Delivery Group Uids to limit the trend result to.
machineFilter string Comma-separated list of machine Sids to limit the trend result to.

Returns

An IQueryable of objects that contains the following:

Property Name Type Comments
ConnectedUsersTrend List<TrendItem> TrendItem contains a UTC Date (DateTime) and a Count (int) for the maximum number of connected users in the interval.

Examples

Gets a 24-hour trend (data point every 15 minutes) of the connected users trend for the two Delivery Groups specified.

 
http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetConnectedUsersTrend?startDate=datetime'2011-09-30T00:00:00'&endDate=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 connected users trend.

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