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 []networking.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.

AccessLogRecordSpec.Filter

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

Field Type Label Description
statusCodeMatcher common.mesh.gloo.solo.io.StatusCodeMatcher Matches against a response status code. Omit to match any status code.
headerMatcher common.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 generation, the controller has not processed the most recent version of this resource.
state networking.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