accesslog: expose all fields in FileAccessLogger in data.accesslog.v3.AccessLog for ALS
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
*Title*: *expose all fields in FileAccessLogger into data.accesslog.v3.AccessLog for ALS*
*Description*:
>There are multiple fields availiable in [FileAccessLogger](https://github.com/envoyproxy/envoy/blob/ec4faf01d9da2a971623d79b2c28714b278d34db/source/common/formatter/stream_info_formatter.cc#L638), but some of them were not exposed in [ALS](https://github.com/envoyproxy/envoy/blob/main/api/envoy/data/accesslog/v3/accesslog.proto), considering ALS have better performance compare with FileAccessLogger to collect access logs, expose those fields in ALS is what needed.
e.g.
`DOWNSTREAM_PEER_ISSUER`, `UPSTREAM_PEER_CERT`, `DOWNSTREAM_PEER_FINGERPRINT_256`, `DOWNSTREAM_PEER_FINGERPRINT_1`, `DOWNSTREAM_PEER_SERIAL`, `DOWNSTREAM_HANDSHAKE_DURATION` etc...
Contributor guide
Assessment
This issue has not been assessed yet.