Log Invocation
This policy enables logging requests or responses to API Gateway and external Elasticsearch. This action also logs other information about the requests or responses, such as the API name, operation name, the Integration Server user, a timestamp, and the response time.
The table lists the properties that are supported for this policy in Microgateway:
Parameter | Description |
Store Request | Logs all requests. |
Store Response | Logs all responses. |
Compress Payload Data | Compresses the logged payload data. |
Log Generation Frequency | Specifies how frequently to log the payload. You can have one of the following options: Always. Logs all requests and responses. On Failure. Logs only the failed requests and responses. On Success. Logs only the successful responses and requests. |
Destination | Specifies the destination where to log the payload. You can have one of the required destinations: API Gateway ElasticsearchMicrogateway does not support destinations other than the ones listed above. |