Get desktop application:
View/edit binary Protocol Buffers messages
Used in:
, , , , , , ,The name of the access log extension configuration.
Filter which is used to determine if the access log needs to be written.
Custom configuration that must be set according to the access logger extension being instantiated. [#extension-category: envoy.access_loggers]
[#next-free-field: 14]
Used in:
, , ,Status code filter.
Duration filter.
Not health check filter.
Traceable filter.
Runtime filter.
And filter.
Or filter.
Header filter.
Response flag filter.
gRPC status filter.
Extension filter. [#extension-category: envoy.access_loggers.extension_filters]
Metadata Filter
Log Type Filter
Performs a logical “and” operation on the result of each filter in filters. Filters are evaluated sequentially and if one of them returns false, the filter returns false immediately.
Used in:
Filter on an integer comparison.
Used in:
,Comparison operator.
Value to compare against.
Used in:
=
>=
<=
Filters based on the duration of the request or stream, in milliseconds. For end of stream access logs, the total duration of the stream will be used. For :ref:`periodic access logs<arch_overview_access_log_periodic>`, the duration of the stream at the time of log recording will be used.
Used in:
Comparison.
Extension filter is statically registered at runtime.
Used in:
The name of the filter implementation to instantiate. The name must match a statically registered filter.
Custom configuration that depends on the filter being instantiated.
Filters gRPC requests based on their response status. If a gRPC status is not provided, the filter will infer the status from the HTTP status code.
Used in:
Logs only responses that have any one of the gRPC statuses in this field.
If included and set to true, the filter will instead block all responses with a gRPC status or inferred gRPC status enumerated in statuses, and allow all other responses.
Used in:
Filters requests based on the presence or value of a request header.
Used in:
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
Filters based on access log type.
Used in:
Logs only records which their type is one of the types defined in this field.
If this field is set to true, the filter will instead block all records with a access log type in types field, and allow all other records.
Filters based on matching dynamic metadata. If the matcher path and key correspond to an existing key in dynamic metadata, the request is logged only if the matcher value is equal to the metadata value. If the matcher path and key *do not* correspond to an existing key in dynamic metadata, the request is logged only if match_if_key_not_found is "true" or unset.
Used in:
Matcher to check metadata for specified value. For example, to match on the access_log_hint metadata, set the filter to "envoy.common" and the path to "access_log_hint", and the value to "true".
Default result if the key does not exist in dynamic metadata: if unset or true, then log; if false, then don't log.
Filters for requests that are not health check requests. A health check request is marked by the health check filter.
Used in:
(message has no fields)
Performs a logical “or” operation on the result of each individual filter. Filters are evaluated sequentially and if one of them returns true, the filter returns true immediately.
Used in:
Filters requests that received responses with an Envoy response flag set. A list of the response flags can be found in the access log formatter :ref:`documentation<config_access_log_format_response_flags>`.
Used in:
Only responses with the any of the flags listed in this field will be logged. This field is optional. If it is not specified, then any response flag will pass the filter check.
Filters requests based on runtime-configurable sampling rates.
Used in:
Specifies a key used to look up a custom sampling rate from the runtime configuration. If a value is found for this key, it will override the default sampling rate specified in ``percent_sampled``.
Defines the default sampling percentage when no runtime override is present. If not specified, the default is **0%** (with a denominator of 100).
Controls how sampling decisions are made. - Default behavior (``false``): * Uses the :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` as a consistent sampling pivot. * When :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` is present, sampling will be consistent across multiple hosts based on both the ``runtime_key`` and :ref:`x-request-id<config_http_conn_man_headers_x-request-id>`. * Useful for tracking related requests across a distributed system. - When set to ``true`` or :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` is missing: * Sampling decisions are made randomly based only on the ``runtime_key``. * Useful in complex filter configurations (like nested :ref:`AndFilter<envoy_v3_api_msg_config.accesslog.v3.AndFilter>`/ :ref:`OrFilter<envoy_v3_api_msg_config.accesslog.v3.OrFilter>` blocks) where independent probability calculations are desired. * Can be used to implement logging kill switches with predictable probability distributions.
Filters on HTTP response/status code.
Used in:
Comparison.
Filters for requests that are traceable. See the tracing overview for more information on how a request becomes traceable.
Used in:
(message has no fields)