Contents
- 1 Configuration Server Prometheus support
- 1.1 Feature configuration
- 1.2 Command line
- 1.3 Startup cfg/conf file - for master CS
- 1.4 Application object
- 1.5 Sample configurations
- 1.6 Exposed metrics
- 1.7 CS general metrics
- 1.8 Cfglib protocol metrics
- 1.9 Per cfglib client metrics
- 1.10 Client deferral metrics
- 1.11 Ldap metrics
- 1.12 Sample output
- 1.13 Statistical logging
- 1.14 JSON logging
Configuration Server Prometheus support
Configuration Server (CS) exposes the statistics of its internal operation via HTTP interface as a Prometheus metrics endpoint.
If configured, upon startup, CS opens a specified port for the HTTP GET requests from the Prometheus and/or web browser.
Both http and https protocols are supported.
GET requests for /metrics URI path are responded with content intended for Prometheus consumption. The responses contain text in Prometheus text-based format.
Requests for paths other than /metrics are responded with http error 404 Not Found.
Exposed metrics correspond to the statistical data currently exposed via the stat.log files.
Feature configuration
The feature can be configured through:
- command line arguments
- [prom] section in startup cfg/conf file (for master CS)
- prom section in application configuration object
Command line
- prom-port <port>
- prom-transport <transport_parameters>
- prom-debug <debug_level>
- lport-prom <port>
If <transport_parameters> contain whitespace characters, the string must be enclosed in quotation marks.
The value -lport-prom persistently overrides the Prometheus port specified elsewhere.
If it is specified in the command line, -prom-transport, if required, must also be specified on the command line.
In this case <port> and <transport_parameters> specified in startup file and/or application object are ignored, and their effective values cannot be changed at runtime.
Startup cfg/conf file - for master CS
[prom]
port=<port>
transport=<transport_parameters>
debug=<debug_level>Application object
[prom]
port=<port>
transport=<transport_parameters>
debug=<debug_level>If specified in command line and/or startup configuration file, the Prometheus port is opened upon startup immediately.
If specified in application object, Prometheus port is opened once configuration is read.
The set of options in command line takes precedence over that in startup file.
Unless command line specifies -lport-prom. options specified in application object prevail over command line and startup file.
If application object's settings differ from those in command line or startup file, the port is reopened according to application object's settings once they are read.
<port>
Specifies Prometheus http/https port.
Valid values: 0 - the feature is disabled integer 1-65534 - specifies Prometheus port
Default: 0
Changes Take Effect: Immediately, if changed the port is closed and reopened.
<transport_parameters>
Optionally specify TLS parameters for https secure Prometheus connection.
Transport parameters set at Application and/or Host level do not apply to Prometheus port.
Valid values: refer to "Common Configuration Options" "Transport Parameter Options" section and "Genesys 8.5 Security Deployment Guide” “Secure Connections (TLS)" section.
Default:
none -- Prometheus port is open for unsecure http connection.
Changes Take Effect: Immediately, if changed the port is closed and reopened.
<debug _level>
Enables additional debug-level logging for the feature.
Valid values: 0 - debug logging is disabled 1 - log http message headers 2 – log complete http messages
Default: 0
Changes Take Effect: Immediately
Sample configurations
http
[prom]
port=80
confserv ... -prom-port 80https - Windows
[prom]
port=443
transport=tls=1;certificate=91a15b56b95c82214cfb9a9ecd3590a874c9f619
confserv ... -prom-port 443 -prom-transport tls=1;certificate=91a15b56b95c82214cfb9a9ecd3590a874c9f619Exposed metrics
Metric names are prefixed with - cs_ for normal operation or with - tenant_cs_ if tenant_id is specified in devops\contactcenterid annex entry of the CS’s configuration object.
In the later case, the value tenant_id is added as an index for each metrics.
Metrics with “current” following the prefix represent values since previous scrape. These values are reset at each scrape (http request). Prometheus scrapes are distinguished from the requests from other clients (i.e. browser), so the later do not interfere with the data collected by regular Prometheus scrapes.
Metrics representing data other than countables, Boolean or enumerators are suffixed with units in which the values are given.
Counters are additionally suffixed with “total”.
CS general metrics
| cs_running_time_milliseconds_total | counter | |
| cs_current_time_since_last_scrape_milliseconds | gauge | |
| cs_current_mode | gauge | 0 - Unknown 1 - Master Primary 2 - Master Primary Readonly 3 - Restricted Readonly 4 - Master Backup 5 - Proxy Primary 6 - Proxy Backup 7 - Offline 8 - Restricted Import |
| cs_main_db_connection_status | gauge | 0 – down 1 - up |
| cs_db_sync_connection_status | gauge | 0 – down 1 - up |
| cs_ha_peer_connection_status | gauge | 0 – down 1 - up |
| cs_db_sync_violation_status | gauge | 0 – normal operation 1 – db sync violation detected |
| cs_master_connection_status | 0 – down 1 – up -- for proxies only | |
| cs_persistent_mode | 0 – normal operation 1 – persistent mode operation -- for proxies only | |
| cs_ha_peer_connection_status | 0 – down 1 - up -- for proxies only | |
| cs_average_load_percent | gauge | |
| cs_processing_time_milliseconds_total | counter | |
| cs_max_atomic_processing_time_milliseconds | gauge | |
| cs_current_load_percent | gauge | |
| cs_current_processing_time_milliseconds | gauge | |
| cs_current_max_atomic_processing_time_milliseconds | gauge |
Cfglib protocol metrics
| cs_cfglib_number_of_clients | gauge |
| cs_cfglib_number_of_gui_clients | gauge |
| cs_cfglib_requests_received_total | counter |
| cs_cfglib_notifications_sent_total | counter |
| cs_cfglib_packets_received_total | counter |
| cs_cfglib_packets_sent_total | counter |
| cs_cfglib_received_bytes_total | counter |
| cs_cfglib_sent_bytes_total | counter |
| cs_cfglib_processing_time_milliseconds_total | counter |
| cs_cfglib_max_atomic_processing_time_milliseconds | gauge |
| cs_cfglib_current_requests_received | gauge |
| cs_cfglib_current_notifications_sent | gauge |
| cs_cfglib_current_packets_received | gauge |
| cs_cfglib_current_packets_sent | gauge |
| cs_cfglib_current_received_bytes | gauge |
| cs_cfglib_current_sent_bytes | gauge |
| cs_cfglib_current_processing_time_milliseconds | gauge |
| cs_cfglib_current_max_atomic_processing_time_milliseconds | gauge |
Per cfglib client metrics
The following metrics are reported for each cfglib client connected to CS at the time of the scrape.
Metrics for each client are indexed with the following:
client_session_id – CS unique (per CS instance run) session ID
socket – socket number
app_type – configuration application type
app_name - configuration application name
account – user account used for login
host – client’s host ip address
connected – timestamp of the client login
| cs_client_requests_received_total | counter |
| cs_client_notifications_sent_total | counter |
| cs_client_packets_received_total | counter |
| cs_client_packets_sent_total | counter |
| cs_client_received_bytes_total | counter |
| cs_client_sent_bytes_total | counter |
| cs_client_processing_time_milliseconds_total | counter |
| cs_client_max_atomic_processing_time_milliseconds | gauge |
| cs_client_current_requests_received | gauge |
| cs_client_current_notifications_sent | gauge |
| cs_client_current_packets_received | gauge |
| cs_client_current_packets_sent | gauge |
| cs_client_current_received_bytes | gauge |
| cs_client_current_sent_bytes | gauge |
| cs_client_current_processing_time_milliseconds | gauge |
| cs_client_current_max_atomic_processing_time_milliseconds | gauge |
Client deferral metrics
| cs_deferred_clients | gauge |
The following metrics are reported for each client deferred at the time of the scrape.
Metrics for each client are indexed the same way as in the connected clients list.
| cs_client_deferred_requests | gauge |
| cs_client_defer_counter | gauge |
Ldap metrics
| cs_ldap_requests_queue_size | gauge |
| cs_ldap_responses_queue_size | gauge |
Ldap server failures metrics
For each failing ldap server the following metrics is reported.
Metrics are indexed with: search_base - the ldap server's search base.
Ldap server is no longer considered failing once it has recovered and responded successfully for at least one auth request.
| ldap_server_request_failures | count |
Sample output
# TYPE cs_running_time_milliseconds_total counter
cs_running_time_milliseconds_total 25198 1660751626724
# TYPE cs_current_time_since_last_scrape_milliseconds gauge
cs_current_time_since_last_scrape_milliseconds 25198 1660751626724
# HELP cs_current_mode 0 - Unknown 1 - Master Primary 2 - Master Primary Readonly 3 - Restricted Readonly 4 - Master Backup 5 - Proxy Primary 6 - Proxy Backup 7 - Offline 8 - Restricted Import
# TYPE cs_current_mode gauge
cs_current_mode 1 1660751626724
# TYPE cs_main_db_connection_status gauge
cs_main_db_connection_status 1 1660751626724
# TYPE cs_db_sync_connection_status gauge
cs_db_sync_connection_status 1 1660751626724
# TYPE cs_ha_peer_connection_status gauge
cs_ha_peer_connection_status 0 1660751626724
# TYPE cs_db_sync_violation_status gauge
cs_db_sync_violation_status 0 1660751626724
# TYPE cs_average_load_percent gauge
cs_average_load_percent 17 1660751626724
# TYPE cs_processing_time_milliseconds_total counter
cs_processing_time_milliseconds_total 4303 1660751626724
# TYPE cs_max_atomic_processing_time_milliseconds gauge
cs_max_atomic_processing_time_milliseconds 1503 1660751626724
# TYPE cs_current_load_percent gauge
cs_current_load_percent 17 1660751626724
# TYPE cs_current_processing_time_milliseconds gauge
cs_current_processing_time_milliseconds 4303 1660751626724
# TYPE cs_current_max_atomic_processing_time_milliseconds gauge
cs_current_max_atomic_processing_time_milliseconds 1503 1660751626724
# TYPE cs_cfglib_number_of_clients gauge
cs_cfglib_number_of_clients 1 1660751626724
# TYPE cs_cfglib_number_of_gui_clients gauge
cs_cfglib_number_of_gui_clients 1 1660751626724
# TYPE cs_cfglib_requests_received_total counter
cs_cfglib_requests_received_total 22 1660751626724
# TYPE cs_cfglib_notifications_sent_total counter
cs_cfglib_notifications_sent_total 1 1660751626724
# TYPE cs_cfglib_packets_received_total counter
cs_cfglib_packets_received_total 22 1660751626724
# TYPE cs_cfglib_packets_sent_total counter
cs_cfglib_packets_sent_total 33 1660751626724
# TYPE cs_cfglib_received_bytes_total counter
cs_cfglib_received_bytes_total 1210 1660751626724
# TYPE cs_cfglib_sent_bytes_total counter
cs_cfglib_sent_bytes_total 135722 1660751626724
# TYPE cs_cfglib_processing_time_milliseconds_total counter
cs_cfglib_processing_time_milliseconds_total 859 1660751626724
# TYPE cs_cfglib_max_atomic_processing_time_milliseconds gauge
cs_cfglib_max_atomic_processing_time_milliseconds 101 1660751626724
# TYPE cs_cfglib_current_requests_received gauge
cs_cfglib_current_requests_received 22 1660751626724
# TYPE cs_cfglib_current_notifications_sent gauge
cs_cfglib_current_notifications_sent 1 1660751626724
# TYPE cs_cfglib_current_packets_received gauge
cs_cfglib_current_packets_received 22 1660751626724
# TYPE cs_cfglib_current_packets_sent gauge
cs_cfglib_current_packets_sent 33 1660751626724
# TYPE cs_cfglib_current_received_bytes gauge
cs_cfglib_current_received_bytes 1210 1660751626724
# TYPE cs_cfglib_current_sent_bytes gauge
cs_cfglib_current_sent_bytes 135722 1660751626724
# TYPE cs_cfglib_current_processing_time_milliseconds gauge
cs_cfglib_current_processing_time_milliseconds 859 1660751626724
# TYPE cs_cfglib_current_max_atomic_processing_time_milliseconds gauge
cs_cfglib_current_max_atomic_processing_time_milliseconds 101 1660751626724
# TYPE cs_client_requests_received_total counter
cs_client_requests_received_total{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 21 1660751626724
# TYPE cs_client_notifications_sent_total counter
cs_client_notifications_sent_total{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 1 1660751626724
# TYPE cs_client_packets_received_total counter
cs_client_packets_received_total{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 21 1660751626724
# TYPE cs_client_packets_sent_total counter
cs_client_packets_sent_total{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 32 1660751626724
# TYPE cs_client_received_bytes_total counter
cs_client_received_bytes_total{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 1050 1660751626724
# TYPE cs_client_sent_bytes_total counter
cs_client_sent_bytes_total{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 135656 1660751626724
# TYPE cs_client_processing_time_milliseconds_total counter
cs_client_processing_time_milliseconds_total{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 788 1660751626724
# TYPE cs_client_max_atomic_processing_time_milliseconds gauge
cs_client_max_atomic_processing_time_milliseconds{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 101 1660751626724
# TYPE cs_client_current_requests_received gauge
cs_client_current_requests_received{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 21 1660751626724
# TYPE cs_client_current_notifications_sent gauge
cs_client_current_notifications_sent{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 1 1660751626724
# TYPE cs_client_current_packets_received gauge
cs_client_current_packets_received{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 21 1660751626724
# TYPE cs_client_current_packets_sent gauge
cs_client_current_packets_sent{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 32 1660751626724
# TYPE cs_client_current_received_bytes gauge
cs_client_current_received_bytes{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 1050 1660751626724
# TYPE cs_client_current_sent_bytes gauge
cs_client_current_sent_bytes{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 135656 1660751626724
# TYPE cs_client_current_processing_time_milliseconds gauge
cs_client_current_processing_time_milliseconds{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 788 1660751626724
# TYPE cs_client_current_max_atomic_processing_time_milliseconds gauge
cs_client_current_max_atomic_processing_time_milliseconds{client_session_id="1",socket="1956",app_type="SCE",app_name="default",account="default",host="172.27.112.1",connected="2022-08-17T12:53:32.441"} 101 1660751626724
# TYPE cs_deferred_clients gauge
cs_deferred_clients 0 1660751626724
# TYPE cs_ldap_requests_queue_size gauge
cs_ldap_requests_queue_size 0 1660751626724
# TYPE cs_ldap_responses_queue_size gauge
cs_ldap_responses_queue_size 0 1660751626724Statistical logging
CS clients Monitoring. Design Description CS now optionally collects certain statistics on its operation and periodically prints it out to a dedicated log file. Statistics is collected on application, reactor (currently only CfgLib) and client levels.
For each item
total for the entire run for the period since last printout are calculated.
Statistics log file uses the following line format for statistics output
<Timestamp> <Parameter>=<Value> [, <Parameter>=<Value>...] The following data is currently collected and printed out.
Application level Running time Current mode Load - percentage of cpu core running CS code on the main thread vs total elapsed time; this does not include low-level commonlib code, but includes requests processing (outside conn_multi_scan()), commonlib and dblib callbacks Proc time - total high-level processing time - CS code on the main thread Proc max - max. atomic operation processing time Reactor level Cfglib reactor only, soap reactor is currently not included
Clients - current number of connected clients GUI - current number of connected GUI clients These are totals for all clients, including those which disconnected during the reporting period - total since CS startup and since last printout:Requests - number of received requests
Notificats- number of received notifications Pckts rcvd - number of received "packets" (that is, calls to conn_write()) Pckts sent - number of sent "packets" Bytes rcvd Bytes sent Proc time - total processing time Proc max - max atomic operation processing time Client level Lists all clients connected at the time of printout.
Sock App Type App Name User Host Connected - timestamp (+ same stats as for reactor - for that client)
The following is sample content printed in logs evey x seconds.
2018-10-10T12:00:01.001 Running Time = 2.17:01:58.277
2018-10-10T12:00:01.001 Current Mode = Primary
2018-10-10T12:00:01.001 Load = 1%
2018-10-10T12:00:01.001 Proc time = 3279447
2018-10-10T12:00:01.001 Proc Max = 3467
....
2018-10-10T12:00:01.001 socket = 540, AppType = SCE, App Name = default, User = default, Host = 192.168.158.1, Connected = 2018-08-10T18:46:31.688,.....
2018-10-10T12:00:01.001 socket = 588, AppType = SCS, App Name = SCS, User = SYSTEM, Host = 192.168.158.1, Connected = 2018-08-10T18:46:32.250,.....JSON logging
This section describes the JSON logging support in CS.d
CS now supports an extra log apart from regular files. A new configuration option is introduced for generation of this type of log file. This log will be in JOSN format. Certain log statement from CS will be logged in JSON format into this log file.
Configuration Options
Below are the log options introduced in CS to enable the JSON log.
The new option introduced is
log\x-json Specifies the log file stream/name used for generating the JSON formated logs. When this value is configured a new JSON log output file specified.
Valid values - stdout, filename
Default value: none. Changes take effect: Immediately.
Log parsed and available in JSON
The below is the list of logs support in JSON log file
S.No. |
Legacy CS log file |
Log description |
JSON file tags |
|---|---|---|---|
1 |
2020-06-12T16:27:27.340 Trc 04541 Message MSGCFG_GETOBJECTINFO received from 964 (SCE 'default') MSGCFG_GETOBJECTINFO attr: IATRCFG_REQUESTID value: 2 attr: IATRCFG_OBJECTTYPE value: 3 [CfgPerson] Filter : key: user_name type: [String], value : default Query : CfgPerson[ (@name = 'default')] |
Request from Client to CS |
{ "date":"2017-03-30T22:57:57.959000", "module":"confserv", "tenant":"6cb5c1d8-a35d-f1a5-f90d-b3c72959c95b", "method":"MSGCFG_GETOBJECTINFO", "ClientHandle":"17", "client":"SCE", "app":"default", "objecttype":"CfgPerson", "filter":"("user_name"="default")", "methodtype":"request", "user":"anantha", "logfile":"cssecure.20200722_091202_575.log" } |
2 |
09:35:38.648 Trc 24215 There are [1] objects of type [CfgApplication] sent to the client [952] (application [default], type [SCE], user: [default], address [127.0.0.1:55589]) 2020-06-12T16:27:27.359 Trc 04542 Message MSGCFG_ENDOBJECTSLIST sent to 964 (SCE 'default') MSGCFG_ENDOBJECTSLIST attr: IATRCFG_OBJECTTYPE value: 3 [CfgPerson] attr: IATRCFG_REQUESTID value: 2 |
Response to Client from CS |
{ "date":"2017-03-30T22:57:57.959000", "module":"confserv", "tenant":"6cb5c1d8-a35d-f1a5-f90d-b3c72959c95b", "method":"MSGCFG_ENDOBJECTSLIST", "ClientHandle":"17", "client":"SCE", "app":"default", "objecttype":"CfgPerson", "methodtype":"response", "address":"127.0.0.1:55623", "user":"default", "count":"1", "logfile":"cssecure.20200722_091202_575.log" } |
3 |
10:00:46.601 Trc 24300 Extended info : New client [1168] connected, protocol [cfglib], address [127.0.0.1:11372] |
Indication of the new client connected log message |
{ "date":"10:00:46.602", "module":"confserv", "methodtype":"response", "tenant":"Environment", "method":"MSGCFG_CLIENTREGISTERED", "ClientHandle":"1168", "client":"SCE", "app":"default", "objecttype":"Unknown object", "user":"default", "address":"127.0.0.1:11372", "count":"0", "logfile":"cssecure.20200722_091202_575.log" } |
4 |
10:04:55.749 Trc 24301 Extended info : Client [1168] disconnected, application [default], type [SCE], protocol [CFGLIB] |
Indication of client disconnected log message |
{ "date":"10:04:55.749", "module":"confserv", "tenant":"Environment", "method":"MSGCFG_CLIENTDISCONNECTED", "ClientHandle":"1168", "client":"SCE", "app":"default", "user":"default", "address":"127.0.0.1:11372", "errmsg":"(null)", "logfile":"cssecure.20200722_091202_575.log" } |
5 |
09:48:16.811 Std 24201 Object: [CfgServer], name [OCSDAP], DBID: [297] is changed by client [1064], type [SCE], name: [default], user: [default] |
Object Changed Log message |
{ "date":"09:48:16.811", "module":"confserv", "methodtype":"response", "tenant":"Environment", "method":"MSGCFG_OBJECTCHANGED2", "ClientHandle":"1064", "client":"SCE", "app":"default", "objecttype":"CfgApplication", "objectname":"OCSDAP", "user":"default", "address":"127.0.0.1:8045", "logfile":"cssecure.20200722_091202_575.log" } |
6 |
09:51:43.011 Std 24200 Object: [CfgSkill], name [testSkill], DBID: [104] is created by client [1064], type [SCE], name: [default], user: [default] |
Object added log message |
{ "date":"09:51:43.011", "module":"confserv", "methodtype":"response", "tenant":"Environment", "method":"MSGCFG_OBJECTADDED2", "ClientHandle":"1064", "client":"SCE", "app":"default", "objecttype":"CfgSkill", "objectname":"testSkill", "user":"default", "address":"127.0.0.1:8045", "logfile":"cssecure.20200722_091202_575.log" } |
7 |
09:55:30.090 Std 24202 Object: [CfgAgent], name [test], DBID: [102] is deleted by client [1064], type [SCE], name: [default], user: [default] |
Object deleted log message |
{ "date":"09:55:30.090", "module":"confserv", "methodtype":"response", "tenant":"Environment", "method":"MSGCFG_OBJECTDELETED", "ClientHandle":"1064", "client":"SCE", "app":"default", "objecttype":"CfgPerson", "objectname":"test", "user":"default", "address":"127.0.0.1:8045", "logfile":"cssecure.20200722_091202_575.log" } |
8 |
09:57:22.763 Std 24203 Object: [CfgFolder], name [Transactions], DBID: [116] access is changed by client [1064], type [SCE], name: [default], user: [default] |
Change Permission Log message |
{ "date":"09:57:22.763", "module":"confserv", "methodtype":"response", "tenant":"Environment", "method":"MSGCFG_ACCESSCHANGED", "ClientHandle":"1064", "client":"SCE", "app":"default", "objecttype":"CfgFolder", "objectname":"Transactions", "user":"default", "address":"127.0.0.1:8045", "logfile":"cssecure.20200722_091202_575.log" } |
9 |
09:59:20.694 Std 24204 Object: [CfgServer], name [GAX_MF], DBID: [199] account is changed by client [1064], type [SCE], name: [default], user: [default] |
Account change log message |
{ "date":"09:59:20.694", "module":"confserv", "methodtype":"response", "tenant":"Environment", "method":"MSGCFG_ACCOUNTCHANGED", "ClientHandle":"1064", "client":"SCE", "app":"default", "objecttype":"CfgApplication", "objectname":"GAX_MF", "user":"default", "address":"127.0.0.1:8045", "logfile":"cssecure.20200722_091202_575.log" } |
10 |
16:28:47.263 Std 24311 Processing of requests from client 1116 deferred. Client's output queue size: 6 |
Client Request deferred |
{ "date":"16:31:15.515", "module":"confserv", "methodtype":"request", "tenant":"Environment", "method":"CLIENT_DEFERRED", "ClientHandle":"1116", "client":"", "app":"", "user":"", "address":"127.0.0.1:7871", "count":"6", "logfile":"cssecure.20200722_091202_575.log" } |
11 |
16:31:21.928 Std 24312 Processing of requests from client 1116 resumed. Client's output queue size: 0 |
Deferred Client resumed |
{ "date":"16:31:21.928", "module":"confserv", "methodtype":"request", "tenant":"Environment", "method":"CLIENT_RESUMED", "ClientHandle":"1116", "client":"", "app":"", "user":"", "address":"127.0.0.1:7871", "count":"0", "logfile":"cssecure.20200722_091202_575.log" } |
12 |
15:56:52.810 Std 22175 Proxy Server started as persistent mode due to master (hostA:6666) unavailability or non-reachable. |
Proxy Server started as a Persistent server mode. |
{ "date":"15:56:52.810", "module":"confserv", "tenant":"Environment", "Server Mode": "Persistent Mode" } |
Kibana queries
The following table lists a few common query/filters that can be applied in kibana:
S.No |
Description |
Kibana Query |
|---|---|---|
1 |
To find all requests and responses for by a particular client with the client handle. |
log_.ClientHandle: 17 |
2 |
To find all requests and response by a particular user |
log_.user: default |
3 |
To find statistics of one client with client handle |
log_.ClientHandle: 17 and log_.Account: * |
4 |
All CS logs for a tenant |
log_.module : "CS" |
