Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 15 Gateway Management Features : Central Logger Database

Central Logger Database
The Central Logger stores the transactions and transaction details in the database tables.
Database Tables
The database schema includes the following tables:
Schema Details
The following figure shows the schema details for the Central Logger database.
Figure 32 Central Logger Database Schema
 
ASG_TRANSACTIONS Table
The ASG_TRANSACTIONS table contains the basic statistics such as facade operation name, target operation name, routing key, the name of the Core Engine for each request. The Central Logger inserts one transaction record for each request in this table.
The value for the TRN_SITE field is populated from the Common/Deployments/SiteNumber global variable defined in the ASG_CONFIG_HOME/asg_cl.properties file. The default value of Common/Deployments/SiteNumber is 1.
The partner name, such as anon, who is the requestor of the operation.
The value returned from the OpCo field of the parsing step of the request processing.
 
ASG_TRANSACTION_DETAILS Table
The ASG_TRANSACTION_DETAILS table contains the transaction details of the request and response messages exchanged between the facade operation and target operation of the back-end service. The Central Logger inserts six detail rows for each transaction request.
The ASG_TRANSACTION_DETAILS table is populated only when you enable the detail logging. The detail level logging is set in the ASG_CONFIG_HOME/asg.properties file, using the following property:
ASG_TRANSACTION_MESSAGES Table
The ASG_TRANSACTION_MESSAGES table contains the record of log messages reported during the message processing.
ASG_TRANSACTION_KEYS Table
The ASG_TRANSACTION_KEYS table stores the reference data passed in the body of request message. An example is the customer reference data sent in the request message.
The key type of the transaction message. The type of the transaction message is populated from the address element in the transformation xslt file specified for the parse output document.
ASG_THROTTLE_USAGE Table
The ASG_THROTTLE_USAGE table stores the usage information related to throttles and subscriptions.
The value for the THU_SITE field is populated from the Common/Deployments/SiteNumber global variable defined in the ASG_CONFIG_HOME/asg_cl.properties file. The default value of Common/Deployments/SiteNumber is 1.
ASG_THROTTLE_MESSAGES Table
The ASG_THROTTLE_MESSAGES table stores the messages related to throttles.
The value for the THM_SITE field is populated from the Common/Deployments/SiteNumber global variable defined in the ASG_CONFIG_HOME/asg_cl.properties file. The default value of Common/Deployments/SiteNumber is 1.
Use the "-n" parameter to asg-engine command on the command line.
Change the name of the PU in the ASG_HOME/bin/asg_core.cdd file.
ASG_KPI Table
The ASG_KPI table stores information regarding the key performance indicators (KPI ) of the transactions stored in the ASG_TRANSACTIONS table to support visualizations. The central logger flushes the records in regular time frames as per the KPI configuration. You should use the ASG_TRANSACTIONS table for historical data analysis.
ASG_LOG_MESSAGES Table
The ASG_LOG_MESSAGES table contains the log messages generated by the gateway core engine. When the detail level logging is enabled for the central logger, the ASG_LOG_MESSAGES table is populated.
The value for the TRN_SITE field is populated from the Common/Deployments/SiteNumber global variable defined in the ASG_CONFIG_HOME/asg_cl.properties file. The default value of Common/Deployments/SiteNumber is 1.
The severity of the log message. The severity of the message is mentioned by the level of logging set in ASG_CONFIG_HOME/asg.properties file. The possible values for the level of logging are 0,1,2,3,4.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved