---
title: "Citrix XenApp"
description: ""
url: "https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/citrix-xenapp/index.html"
---
## Overview

Geneos provides a monitoring solution for the Citrix XenApp virtualisation architecture and its components. This integration is available through the Toolkit plug-in.

Geneos monitoring for Citrix XenApp produces three samplers, each providing monitoring and dataviews:

- Citrix-Apps — for published applications, as defined by Citrix XenApp.
- Citrix-Processes — for processes running on a virtual machine.
- Citrix-Sessions — for each unique session based on the user, applications used, and virtual machine logged into.


This integration provides a Gateway configuration file that enables monitoring of Citrix XenApp through a set of pre-configured Toolkit samplers.

This guide discusses the steps to set up the Citrix XenApp integration on a Gateway. Once the integration is set up, the samplers providing the dataviews become available to that Gateway.

## Prerequisites


The following requirements must be met before the installation and setup of the template:


- Citrix XenApp version 7.x
- PowerShell versions 4.0 or above must be available on the machine where the Netprobe runs.
- PowerShell's execution policy must be allowed to execute scripts.
- You must have an Active Directory user account with Citrix monitoring privileges configured in the Citrix Delivery Controller.
- Application monitoring must be enabled in the Citrix Delivery Controller.


## Integration workflow

The Citrix XenApp integration is largely pre-configured. The integration involves three primary tasks:

- Download the integration files from the [Downloads](https://resources.itrsgroup.com/downloads) page.
- Load the Citrix monitoring configuration file from the Gateway Setup Editor.
- Associate the Citrix samplers with a managed entity.

The Citrix integration files also include an additional utility for encrypting your configured password via PowerShell.

### Download the integration files

1. On the [Downloads](https://resources.itrsgroup.com/downloads) page, download the Citrix integration files (`geneos-integration-citrix-4.9.0.zip`).
2. As a best practice, save the files on the same machine where your Gateway is running.

The integration files include the following:

- `include/CitrixMonitoring.xml` — Gateway configuration file containing Toolkit samplers configured for Citrix XenApp monitoring.
- `util/encrypt_pwd.ps1` — Encryption utility for obscuring the password to the integration template.

### Load the Citrix configuration file

1. On the Gateway Setup Editor, right-click the **Includes** folder and select **New Include**.
2. Under the **Basic** tab, type the file path to the Citrix configuration file into the **Location** field. This is the file path ending in `citrix/include/CitrixMonitoring.xml`.
3. Update the **Priority** field. This can be any value except `1`. If you enter a priority of `1`, the Gateway Setup Editor will return an error.
4. Expand the entry for this new inclusion by clicking the "**+**" symbol next to it.
5. Click the child entry, "**Click to load...**".
6. The **Load included file** prompt appears. Click "Yes", or press `Enter` to confirm the action.

After you load the Citrix configuration file, it loads its own Gateway, samplers, and configuration associated with the Citrix XenApp integration.

### Associate the Citrix samplers with a managed entity

After you have loaded the Citrix configuration file, the Citrix monitoring samplers become available for use.

1. On the Gateway Setup Editor, create a new managed entity by right-clicking the **Managed entities** folder.
2. Under the Basic tab for the new managed entity, click **Add new** under the **Add types** field.
3. In the text field under **Ref**, type `Citrix`.
4. In the text field under **Environment**, specify the environment associated with the Citrix samplers. By default, this is `Citrix-Defaults`. However, you can create a new environment or modify the `Citrix-Defaults` environment variables according to your system. For more information on the environment variables, see the [Environment configuration](https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/citrix-xenapp/index.html#environment-configuration).
5. Click the save icon to apply your changes.

After you save your changes to the managed entity, the Citrix dataviews appear under the managed entity on the state tree.

## Encryption utility

The Citrix XenApp integration files include an encryption utility. Run this utility in PowerShell to encrypt your password for the `CITRIX-MONITORING-PASS` environment variable:

1. Open the Command Prompt.
2. Enter the following command line:

```
powershell.exe .\encryptPassword.ps1 [plainTextPassword]
```

When you enter this line command, the utility encrypts the password and displays its encrypted string on the command line.

6. Copy the encrypted string for the `CITRIX-MONITORING-PASS` environment variable.

If you enter the line command without the plaintext password, then the utility prompts for a password, encrypts the text you enter, then generates a `password.txt` file. Use the contents of this file for the `CITRIX-MONITORING-PASS` environment variable.

## Environment configuration

When you run the Citrix XenApp integration file, it automatically configures its own sub-folders, files, and samplers in the Includes folder on the Gateway Setup Editor.

![](https://docscdn.itrsgroup.com/geneos/images/integrations/citrix-tr-environment-config.png)

In its Environments folder, you can configure the environment variables to ensure that the Citrix XenApp integration monitors your target machine.

<div class="table-container">
<table class="legacy-table" style="width: 100%; mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css'); margin-left: 0; margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Name</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">POWERSHELL_DIR</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Installation directory where the PowerShell executable file resides.</p>
                                <p>Default value: <code>C:\Windows\System32\WindowsPowerShell\v1.0</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CITRIX_MONITORING_HOST</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>OData REST endpoint of the Delivery Controller.</p>
                                <p>Default value: <code>http://localhost/Citrix/Monitor/OData/v4/Data/</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CITRIX_MONITORING_USER</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>User account with Citrix monitoring privileges.</p>
                                <p>Default value: <code>domain\username</code> </p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CITRIX_MONITORING_PASS</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Password for the user account with Citrix monitoring privileges. Supplied password should be encrypted. See  <a href="#encryption-utility">Encryption utility</a> for more information.</p>
                                <p>Default value: <code>password</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CITRIX_SESSION_FILTER</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>OData filter for the Citrix-Session dataview.</p>
                                <p>You can modify this variable to fine-tune your session metrics.</p>
                                <p>Default value: <code>?$filter=EndDate eq null</code> (This expression filters out inactive sessions.)</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CITRIX_APPS_FILTER</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>OData filter for the Citrix-Apps dataview.</p>
                                <p>You can modify this variable to fine-tune your session metrics.</p>
                                <p>Default value: <code>?$filter=EndDate eq null</code> (This expression filters out inactive sessions.)</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CITRIX_SCRIPTS_DIR</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Designated location for the PowerShell scripts.</p>
                                <p>Default value: <code>.</code> (Designates the script into the same folder as your Netprobe.)</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CITRIX_GROUP</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Group name of the integration samplers.</p>
                                <p>Default value: <code>Citrix</code></p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                        </tr>
                    </tbody>
                </table>
            
</div>

## Metrics and dataviews


**Note**

  All date and timestamps follow the ISO 8601 date-time format: `yyyy-mm-ddThh:mm:ss+|-hh:mm` 


### Citrix-Apps

<div class="table-container">
<table class="legacy-table" style="width: 100%; mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css'); margin-left: 0; margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Headline field</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">execDuration</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Elapsed time for the Toolkit plug-in to run the script.</p>
                                <p>Unit: seconds (s)</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">appCount</td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">Total number of published applications running.</td>
                        </tr>
                    </tbody>
                </table>
                
</div>

<div class="table-container">
<table class="legacy-table" style="width: 100%; mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css'); margin-left: 0; margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Field</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ApplicationId</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Unique ID assigned by Citrix XenApp on a published application.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Name</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Name of the published application.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Path</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Location of the application on the file directory.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">UserName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">User logged in when the application is published.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">MachineName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Virtual machine from where the application is published.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">IP Address</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">IP address of the virtual machine.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">StartDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of when the published application starts running.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">EndDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of when the published application is terminated.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CreatedDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of when the instance of the published application is created.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">ModifiedDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">Date and timestamp of when the published application is last accessed.</td>
                        </tr>
                    </tbody>
                </table>
                
</div>

### Citrix-Processes

<div class="table-container">
<table class="legacy-table" style="width: 100%; mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css'); margin-left: 0; margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Headline field</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">execDuration</td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">
                                <p>Elapsed time for the Toolkit plug-in to run the script.</p>
                                <p>Unit: seconds (s)</p>
                            </td>
                        </tr>
                    </tbody>
                </table>
                
</div>

<div class="table-container">
<table class="legacy-table" style="width: 100%; mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css'); margin-left: 0; margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Field</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ProcessKey</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Unique ID assigned by Citrix XenApp on a process.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ProcessId</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Process ID as it appears on the machine.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ProcessName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Name of the process.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ProcessCreationDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of when the process starts running.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ApplicationName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Name of the application from where the process runs.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CurrentConnectionId</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Unique connection ID identifying the connection on which the process runs.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">UserName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">User logged in when the process starts.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">MachineName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Virtual machine from where the process runs.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">PercentMemory</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Percentage of memory consumed by the process.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">PercentCpu</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Percentage of the CPU consumed by the process.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">CollectedDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">Date and timestamp of when the metrics shown are collected.</td>
                        </tr>
                    </tbody>
                </table>
                
</div>


### Citrix-Sessions

<div class="table-container">
<table class="legacy-table" style="width: 100%; mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css'); margin-left: 0; margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Headline field</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">execDuration</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                <p>Elapsed time for the Toolkit plug-in to run the script.</p>
                                <p>Unit: seconds (s)</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">serverName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Name of the server from which the sessions are being run.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Connected</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of connected sessions.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Active</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of active sessions.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Disconnected</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of disconnected sessions.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Terminated</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of terminated sessions.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Reconnecting</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of sessions that are reconnecting.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">PreparingSession</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of sessions that are in the preparing state.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">NonBrokeredSession</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of non-brokered sessions.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Pending</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of sessions whose connection state is pending.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Other</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of sessions whose status do not fall under any of the aforementioned headline fields.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">Unknown</td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">Number of sessions whose statuses are not known.</td>
                        </tr>
                    </tbody>
                </table>
                
</div>

<div class="table-container">
<table class="legacy-table" style="width: 100%; mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css'); margin-left: 0; margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                    <thead>
                        <tr class="TableStyle-ref_2_col_table-Head-Header1">
                            <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Field</th>
                            <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CurrentConnectionId</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Unique connection ID identifying the connection on which the session runs.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">UserName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">User logged in for the session.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">MachineName</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Virtual machine from where the session is held.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">SessionType</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Indicates if the session is based on a desktop login or a specific application.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">StartDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of when the session starts running.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">EndDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of when the session ends.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">LogOnDuration</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Elapsed time since the start of the session, based on the user login.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ConnectionState</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Indicates if the session is active or disconnected.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ConnectionStateChangeDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of the last change in the connection state.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">SessionIdleTime</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of the most recent inactivity.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">LifecycleState</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Lifecycle state for the session. This field is for internal tracking and management.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">IsAnonymous</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Indicates if the session is anonymous or not.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CreatedDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of when the session is created.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ModifiedDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of the last activity in the session.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">FailureDate</td>
                            <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Date and timestamp of when the connection failed. If the connection has not failed, then this field is empty.</td>
                        </tr>
                        <tr class="TableStyle-ref_2_col_table-Body-Body1">
                            <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1">ExitCode</td>
                            <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1">Session termination exit code.</td>
                        </tr>
                    </tbody>
                </table>
            
</div>

