Skip to content

access_logs: DNS filter access logs using custom tags in gRPC access logs fails validation #43396

@AntonKanug

Description

@AntonKanug

When using DNS filter access logs with grpc access logger and custom tags using substitution %QUERY_NAME% following error is produced:

delta config for type.googleapis.com/envoy.config.listener.v3.Listener rejected: Error adding/updating listener(s) listener: Not supported field in StreamInfo: QUERY_NAME

In the gRPC access logs, when custom tags are created the command parser isnt passed down (ignored here when passed, createCustomTag takes command parsers). When validation is done to ensure commands in custom tags exist, it is effectively only looking at globally registered built in command parsers. This results in DNS filter (or any non tcp proxy and http conn man filter) commands not being recognized leading to validation failures as DNS filter access log commands arent globally registered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions