Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key
  • In the Data Type column, varchar/nvarchar means that the data type is varchar except in multi-language databases that use Unicode, in which case the data type is nvarchar.

Table GS_AGENT_STAT


This table contains the duration of agent state metrics. The unique identifier of the record is the combination of the LoginSessionID, EndPointID, and QueueID fields. Whether ICON writes to this table is determined by the setting of one or more configuration options in the [filter-data] section.

Tip
To assist you in preparing supplementary documentation, click the following link to download a comma-separated text file containing information such as the data types and descriptions for all columns in this table: Download a CSV file.

Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.

Column List

Legend

Column Data Type P M F Description
ID numeric(16) X X The unique, autonumbered ID of this record. This is the primary key.
LoginSessionID varchar(50) X The agent's login session ID (GUID). Same as G_LOGIN_SESSION.LOGINSESSIONID.
EndPointID int X The DBID of the agent's endpoint (DN) configuration object. This value is 0 for interactions originating from Interaction Server. In a SIP Cluster environment, the value for this field is 0.
QueueID int The DBID of the queue (ACDQ) configuration object in Configuration Server, where the agent logged in. A value of 0 (zero) indicates that no queue is specified for this record.
AgentID int The DBID of the agent (Person) configuration object in Configuration Server. This value is NULL if a Person object is not configured.
Duration_Ready int X The duration of the agent's Ready state, in seconds, during the agent's login session.
DurationNotReady int The duration of the agent's NotReady state, in seconds, during the agent's login session.
DurationACW int The duration of the agent's ACW state, in seconds, during the agent's login session.
DurationBusy int X The duration of the agent's Busy state, in seconds, during the agent's login session.
LastChange datetime The GMT-equivalent date and time when the record was created or updated. This is taken from the T-Server event that generates the update for this metric. If the update of the agent's metrics during login session is disabled, this value will always hold the same value as that in the ADDED field.
LastChange_ts int The UTC-equivalent value of the LASTCHANGE field.
LastChange_tcode int A reference, derived from the value in the LASTCHANGE_TS field, to a record in the G_TIMECODE table.
Added datetime X The GMT-equivalent date and time when the record was inserted. This is taken from the last event related to the agent's login session.
Added_ts int The UTC-equivalent value of the ADDED field.
Added_tcode int A reference, derived from the value in the ADDED_TS field, to a record in the G_TIMECODE table.
GSYS_DOMAIN int Contains the data source session ID (DSS_ID) for the session that was active when the data was processed by ICON. For more information, see the description in System Fields (for DB2Microsoft SQL Server, Oracle, or PostgreSQL, respectively).
GSYS_PARTITION int A key that is used for partitioning.
GSYS_SYS_ID int System ID. Reserved for future use.
GSYS_SEQ bigint Insert Sequence. Not unique.
GSYS_USEQ bigint Update Sequence. Not unique.
GSYS_TS datetime Reserved
GSYS_TC int Reserved
GSYS_EXT_VCH1 varchar(255) A string value with the name of the media type for a 3rd Party Media interaction, as reported by Interaction Server.


When the field GSYS_EXT_INT1 indicates that this is a 3rd Party Media interaction (1000—open media), the stored string is the name of the media type. For example, "fax".
In a SIP Cluster environment, records the DN name.

GSYS_EXT_VCH2 varchar(255) Reserved
GSYS_EXT_INT1 int The media type of this interaction. One of the following values:
  • 0—Unknown. Reserved for when ICON is unable to determine media type.
  • 1—Voice.
  • 2—Email.
  • 3—Chat.
  • 1000—Open Media.


#DICTIONARY TYPE 6

GSYS_EXT_INT2 int Reserved
This page was last edited on January 10, 2020, at 15:27.
Comments or questions about this documentation? Contact us for support!