Proto: access_logging.proto

Package: rpc.solo.io

The logging service provides structured retrieval of event logs captured by Gloo Platform. For more information, see the access logging documentation.

Types:

AccessLog

FieldDescription
workloadMetadata(AccessLog.WorkloadMetadata)

Metadata for the workload for which to record access logs.
httpAccessLog(envoy.data.accesslog.v3.HTTPAccessLogEntry)

An Envoy HTTP access log. For more information, see the Envoy API reference documentation.

AccessLog.WorkloadMetadata

FieldDescription
name(string)

Workload name.
namespace(string)

Namespace that the workload is in.
cluster(string)

Cluster that the workload is in.
labels(repeated AccessLog.WorkloadMetadata.LabelsEntry)

Labels for the workload.

AccessLog.WorkloadMetadata.LabelsEntry

FieldDescription
key(string)

value(string)

AccessLogs

FieldDescription
accessLogs(repeated AccessLog)

An Envoy access log. For more information, see the Envoy API reference documentation.

GetAccessLogsRequest

FieldDescription
workloadSelectors(repeated common.gloo.solo.io.ObjectSelector)

The workloads from which to get access logs. Leave empty to get access logs for all workloads.
retrievalNumber(google.protobuf.UInt32Value)

Maximum number of access logs to get. If empty, the default value of 20 is used. For information about the value format, see the Google protocol buffer documentation.

WatchAccessLogsRequest

FieldDescription
workloadSelectors(repeated common.gloo.solo.io.ObjectSelector)

The workloads for which to stream access logs. Leave empty to stream access logs for all workloads.

Logging

Method NameRequest TypeResponse TypeDescription
WatchAccessLogsWatchAccessLogsRequestAccessLog streamStream Envoy access logs as they are captured.
GetAccessLogsGetAccessLogsRequestAccessLogsRetrieve Envoy access logs for a workload.