access_logging.proto

Package : observability.enterprise.mesh.gloo.solo.io

Top

access_logging.proto

Table of Contents

AccessLogRecordSpec

Describes a record of access logs sourced from a set of workloads and optionally filtered based on request criteria.

Field Type Label Description
workloadSelectors []common.mesh.gloo.solo.io.WorkloadSelector repeated Select the workloads to be configured to emit access logs. Leave empty to apply to all workloads managed by Gloo Mesh.
filters []observability.enterprise.mesh.gloo.solo.io.AccessLogRecordSpec.Filter repeated Configure criteria for determining which access logs will be recorded. The list is disjunctive, a request will be recorded if it matches any filter. Leave empty to emit all access logs.
includedRequestHeaders []string repeated Specify request headers to include in access logs.
includedResponseHeaders []string repeated Specify response headers to include in access logs.
includedResponseTrailers []string repeated Specify response trailers to include in access logs.
includedFilterStateObjects []string repeated Specify filter state objects to include in access logs

AccessLogRecordSpec.Filter

Specify criteria for recording access logs. A request must match all specified criteria to be recorded.

Field Type Label Description
statusCodeMatcher networking.mesh.gloo.solo.io.StatusCodeMatcher Matches against a response status code. Omit to match any status code.
headerMatcher networking.mesh.gloo.solo.io.HeaderMatcher Matches against a request or response header. Omit to match any headers.

AccessLogRecordStatus

Field Type Label Description
observedGeneration int64 The most recent generation observed in the the AccessLogRecord metadata. If the observedGeneration does not match metadata.generation, Gloo Mesh has not processed the most recent version of this resource.
state common.mesh.gloo.solo.io.ApprovalState The state of the overall resource, will only show accepted if it has been successfully applied to all target workloads.
errors []string repeated Any errors encountered during processing. Also reported to any Workloads that this object applies to.
workloads []core.skv2.solo.io.ObjectRef repeated references to workloads that this AccessLogRecord applies to