Skip to content

Commit

Permalink
Added access logs to envoy stdout as a w3c access log
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjt committed Sep 30, 2024
1 parent 5b14824 commit f7e7ad9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/frontendproxy/envoy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ static_resources:
route: { cluster: flagservice, prefix_rewrite: "/", timeout: 0s }
- match: { prefix: "/" }
route: { cluster: frontend }
access_log:
- name: envoy.access_loggers.file
typed_config:
"@type": type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog
http_filters:
- name: envoy.filters.http.fault
typed_config:
Expand All @@ -63,7 +67,7 @@ static_resources:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router

clusters:
- name: opentelemetry_collector_grpc
type: STRICT_DNS
Expand Down

0 comments on commit f7e7ad9

Please sign in to comment.