Set-Filter-State Network Filter
This filter should be configured with the type URL
type.googleapis.com/envoy.extensions.filters.network.set_filter_state.v3.Config
.
This filter is configured with a sequence of values to update the connection filter state using the connection data. The filter state value can then be used for routing, load balancing decisions, telemetry, etc. See the well-known filter state keys for the controls used by Envoy extensions.
Warning
This filter allows overriding the behavior of other extensions and significantly and indirectly altering the connection processing logic.
Examples
A sample filter configuration that propagates the downstream SNI as the upstream SNI:
on_new_connection:
- object_key: envoy.network.upstream_server_name
format_string:
text_format_source:
inline_string: "%REQUESTED_SERVER_NAME%"
Statistics
Currently, this filter generates no statistics.