envoyproxy / envoyproxy/gateway
Getting service, namespace of matched rule in accessLog
Open
stale
triage
- Dominant language
- Go
- Stars
- 3k
- Forks
- 864
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 140
Description
*Description*:
i have a use case such that in my dashboards i use namespace and service name to filter my traffic
now in envoy i want to add a field to my access log as below
```
UPS: _
```
how can i achieve it?
currently the solution i'm using is creating HTTPRoute for every service
```
UPS: %CEL(xds.route_metadata.filter_metadata['envoy-gateway']['resources'][0]['namespace'])%_%CEL(xds.route_metadata.filter_metadata['envoy-gateway']['resources'][0]['name'])%
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.