Transcript
Section: log-filter-data
Default Value: hide
Valid Values: copy, skip, hide
Changes Take Effect: Immediately
Specifies log filtering type for attribute Transcript.
StructuredText
Section: log-filter-data
Default Value: hide
Valid Values: copy, skip, hide
Changes Take Effect: Immediately
Specifies log filtering type for attribute StructuredText.
message-log-print-size
Section: settings
Default Value: 0
Valid Values: Any integer from 0-7000
Changes Take Effect: Immediately
Specifies the number of characters from the whole client message that the log prints, starting from the beginning of the message.
limits-restore-threshold
Section: settings
Default Value: 80
Valid Values: Any integer from 0-100
Changes Take Effect: Immediately
Specifies the level (as percentage of maximum value) which metric must drop below in order to restore the service.
limits-reached-report-scs
Section: settings
Default Value: true
Valid Values: true, false
Changes Take Effect: Immediately
With a value of "false" Chat Server does not send "SERVICE UNAVAILABLE" notifications
to Solution Control Server when Chat Server reaches any of its configured load limits.
This can prevent Chat Server from switching over when configured as primary/backup.
limit-for-sessions
Section: settings
Default Value: 1000
Valid Values: Any integer from 0-1000000
Changes Take Effect: Immediately
Defines the maximum number of chat sessions that Chat Server handles simultaneously.
limit-for-flex-users
Section: settings
Default Value: 1001
Valid Values: Any integer from 0-1000000
Changes Take Effect: Immediately
Defines the maximum number of flex users that Chat Server handles simultaneously.
limits-control-enabled
Section: settings
Default Value: false
Valid Values: true, false
Changes Take Effect: Immediately
Enables (true) or disables (false) load restriction for Chat Server, controlled by options: limit-for-flex-users, limit-for-reply-delay, limit-for-sessions.
Chat Server Administration
This page provides general recommendations for the administration of Chat Server. See also the following:
Limitations
The following table lists recommended limitations for a Genesys Chat solution running on a single host with two Intel Xeon 3.0GHz processors. Observe these limitations for optimum performace (meaning without significant delay).
|
Item |
Maximum |
|---|---|
|
Message size |
4 KB (Genesys Desktop limitation; Chat Server does not have this restriction.) |
|
Transcript size |
54 KB (Genesys Desktop limitation; Chat Server does not have this restriction.) |
|
Concurrent sessions (in a realistic simple scenario) |
500 per Chat Server |
|
Messages per second |
50 (rare temporary peaks up to 150) |
|
Sessions opened and closed per second |
10 (rare temporary peaks up to 30) |
Chat Server also has a timeout that you can configure using the user-register-timeout
option (default value 30 seconds). This is the maximum time between opening a socket and either of the following:
-
Receiving a registration over the socket
-
Receiving a flex packet over the socket
This timeout prevents keeping unused connections open.
Connection Delay with Antivirus
It may take some time (up to several minutes on some UNIX Platforms) for Chat Server to connect to an unopened port on a Windows host on which an antivirus program is running. For example, if Chat Server is running on Linux and is trying to connect to an inactive UCS instance, it could take up to three minutes for Chat Server to detect that the listening port is not open.
Chat HA
Deploying a high-availability Chat solution requires some special configuration.
Setting Load Limits
Starting in the 8.5.0 release of Chat Server, you can impose load limits on Chat Server: when Chat Server reaches the specified limit, it no longer creates new sessions or restores existing sessions.
You do this using the following configuration options (full descriptions are in the eServices Options Reference):
- Enable or disable the general functionality of load limitation using limits-control-enabled.
- Set the limits using
- limit-for-flex-users—Maximum number of currently logged-in flex users.
- limit-for-sessions—Maximum number of concurrent chat sessions.
If any of these limits is reached, Chat Server stops creating and restoring sessions.
- If Chat Server is configured in primary/backup mode, you may want to stop it from reporting service unavailable to SCS when a limit is reached. You can do this using limits-reached-report-scs. Blocking the reports avoids a scenario in which Chat Server in primary/backup mode closes a chat session because (1) Chat Server detects disconnection from Interaction Server and/or UCS, (2) it sends a service unavailable notification to Solution Control Server, (3) SCS switches Chat Server to backup, which closes the chat session. (This scenario does not apply if Chat Server is in N+1 mode: multiple Chat Servers with no backup configured).
- Set the point at which Chat Server returns to full functionality using limits-restore-threshold. This value is a percentage of the limit set by the three limit-for-X options.
Example
If limit-for-flex-users is set to 400 and limits-restore-threshold is set to 80, then:
- When the number of flex users reaches 400, Chat Server stops creating and restoring sessions, and rejects login attempts by flex users.
- Then when the number of flex users falls to 320, Chat Server returns to full functionality.
Masking Sensitive Data
Chat Server logs and chat transcripts may contain sensitive data such as credit card numbers, phone numbers, Social Security numbers, and so on. You can omit this data from logs and mask it in transcripts.
In Logs
To omit sensitive data from logs, you must configure both UCS, as described elsewhere, and Chat Server, as follows:
- In the [settings] section, set message-log-print-size to 0. This means that logs do not show the messages sent between chat participants. Where a message occurs, the log shows [truncated from size=x], where x is the number of characters in the suppressed message.
- In the [log-filter-data] section,
- Set StructuredText to hide so that logs will omit the transcript that UCS sends to Chat Server.
- Set Transcript to hide so that logs will omit the transcript that Chat Server sends to UCS.
In Chat Transcripts
Chat Server can mask sensitive data in transcripts by using a regular expression to find the data and substituting * (asterisk) for it. Use the following options in the [settings] section:
- transcript-cleanup-apply—Specify whether and when to process transcripts.
- transcript-cleanup-action—Specify how much of the found data to replace.
If transcript-cleanup-apply has a value other than never, Chat Server uses the following default rules to find sensitive data:
| Name | Regular Expression | |
|---|---|---|
| Credit card | GCTI_CreditCards | 8.5.0 version only: (?>^|(?<=[\s[:alpha:](),.:;?!"'`]))(?>4\d{3}|5[1-5]\d{2}|6011|622[1-9]|64[4-9]\d|65\d{2})[ -]?\d{4}[ -]?\d{4}[ -]?\d{4}(?>$|(?=[\s[:alpha:](),.:;?!"'`])) |
| Social Security Number | GCTI_SSN | (?>^|(?<=[\s[:alpha:](),.:;?!"'`]))(?!000|666|9)\d{3}[- ]?(?!00)\d{2}[- ]?(?!0000)\d{4}(?>$|(?=[\s[:alpha:](),.:;?!"'`])) |
| Phone number using the North American Numbering Plan | GCTI_PhoneNANPA | (?>^|(?<=[\s[:alpha:](),.:;?!"'`]))(?:\+?1[-. ]?)?(?:\(?[2-9][0-9]{2}\)?[-. ]?)?[2-9][0-9]{2}[-. ]?[0-9]{4}(?>$|(?=[\s[:alpha:](),.:;?!"'`])) |
