Access log field reference
The access log follows the Elastic Common Schema (ECS). The information in this article can be used to look up the meaning of log fields and configure a CR Telemetry based on the listed log fields and command operators.
Log field types:
- Some log fields show logging output using standard Envoy command operators. See online Envoy command operators documentation for details.
- Other log fields use custom command operators to show logging output. The corresponding custom command operators are listed in the table.
Log field reference table
Log field | Description | Custom command operators |
---|---|---|
| Timestamp of the logged request. | |
|
|
|
|
|
|
| Shows a list of header rewrite actions applied on request or response headers. Requires Each item in the list contains the following fields:
|
|
|
|
|
| Contains the values of the | |
| Contains the redirect URL extracted from the | |
| For a complete list of logged limits and their defaults, see CR Limits reference documentation. Additional information:
|
|
| Shows the connection ID respectively stream ID. These IDs allow correlating access and application log entries for in-depth analysis. Application log example: |
|
| ||
| Shows the reason if parsing fails. Application log example:
|
|
| Shows a response code with detailed information.
| |
| The Envoy access log response flags provides additional information about response or connection. | |
| Direct remote destination IP address of the upstream. | |
| Direct remote destination port of the upstream. | |
| Shows the HTTP version ( |
|
| Direct destination IP address of the Pod containing the Microgateway Engine sidecar. | |
| Direct destination port of the Pod containing the Microgateway Engine sidecar. | |
| Our logging is built on a version of the Elastic Common Schema (ECS) reference. | |
| ECS categorization field. | |
| Name of the dataset. | |
| Duration of the request in nanoseconds as recorded by the Microgateway Engine. |
|
| Time the response was finished by the Microgateway Engine. |
|
| ECS categorization field. | |
| Module that recorded the event, i.e. | |
| ECS categorization field. | |
| Time the Microgateway Engine received the request. | |
| ECS categorization field. Indicates whether a request has been forwarded to the upstream. Available event types:
|
|
| Total request size in bytes (body and headers). |
|
| MIME type of the request body. |
|
| Request body size in bytes. | |
| UID of the HTTP request. | |
| HTTP method of the request. | |
| Value of the | |
| Response body size in bytes. | |
| Total response size in bytes (body and headers). |
|
| MIME type of the response body. |
|
| HTTP response code. | |
| Shows the HTTP version ( |
|
|
| |
|
Other possible values:
| |
| Shows the identified remote IP address. | |
|
| |
| The type of observer that created the log entry, i.e. | |
|
| |
| Release version of the Airlock Microgateway, i.e. |
|
| Direct remote source IP address of the downstream, as detected by the Microgateway Engine. | |
| Direct remote source port of the downstream, as detected by the Microgateway Engine. | |
| Domain/IP without port number as extracted from the host header. |
|
| Path of the request without query string. Example: |
|
| Query string of the request. Note that the | |
| Unparsed user agent string. Example: |
Airlock Microgateway specific response code details
The following response code details can appear in the airlock.response.details
log field:
Response code details | Description |
---|---|
| A deny rule detected malicious data. The request was blocked. |
| The request contains data with invalid encoding (UTF-8 required). The request was blocked. |
| A limit was exceeded. The request was blocked. |
| The request contains data that could not be parsed, for example due to a syntax error in JSON data. The request was blocked. |
Further information and links:
API Reference:
Internal links:
- For general logging information, see Logging configuration and output formatting.
- For optional access log configuration, see CR Telemetry.
- For deny rules configuration, see CR DenyRules.
- For header rewrites configuration (logging requires
Integration
mode), see CR HeaderRewrites. - For identification of the remote IP address of a client, see Downstream remote IP settings.