Closed mbana closed 1 year ago
See: https://github.com/kubeshop/kusk-gateway/issues/784.
Resolves kubeshop/kusk-gateway#784.
{"response_code":200,"bytes_received":0,"bytes_sent":47,"upstream_local_address":"172.17.0.5:50434","response_flags":"-","start_time":"2022-12-14T14:51:21.281Z","protocol":"HTTP/1.1","upstream_transport_failure_reason":null,"upstream_host":"10.96.207.174:80","requested_server_name":null,"duration":0,"downstream_local_address":"172.17.0.5:8080","downstream_remote_address":"172.17.0.1:62724","response_code_details":"via_upstream","x_forwarded_for":null,"method":"GET","upstream_cluster":"traffic-splitting-httpbin-1.default.svc.cluster.local.-80","authority":"traffic-splitting-httpbin-1.default.svc.cluster.local.","route_name":"/uuid-GET","path":"/uuid","connection_termination_details":null,"request_id":"1c15c266-7e62-4dee-b5fa-cec1c83237f4","user_agent":"curl/7.85.0","upstream_service_time":"0"}
config/samples/gateway_v1_envoyfleet.yaml
Default to json format for envoy.access_loggers.stdout.
json
envoy.access_loggers.stdout
internal/envoy/config/logging.go
Slight refactoring.
cmd/kusk/manifests/dashboard.yaml
Update image to kubeshop/kusk-gateway-dashboard:v1.2.6.
kubeshop/kusk-gateway-dashboard:v1.2.6
cmd/kusk/manifests/fleets.yaml
cmd/kusk/manifests/devportal.yaml
cmd/kusk/manifests/dashboard_envoyfleet.yaml
Change
apiVersion: gateway.kusk.io/v1alpha1 kind: EnvoyFleet
to use JSON as the logging format by using:
accesslog: format: json
Same applies to:
smoketests/basic/envoyfleet.yaml
smoketests/mocking/envoyfleet.yaml
Signed-off-by: Mohamed Bana mohamed@bana.io
Issue and Discussion
See: https://github.com/kubeshop/kusk-gateway/issues/784.
Resolves kubeshop/kusk-gateway#784.
Example Output
Changes
config/samples/gateway_v1_envoyfleet.yaml
Default to
json
format forenvoy.access_loggers.stdout
.internal/envoy/config/logging.go
Slight refactoring.
cmd/kusk/manifests/dashboard.yaml
Update image to
kubeshop/kusk-gateway-dashboard:v1.2.6
.cmd/kusk/manifests/fleets.yaml
,cmd/kusk/manifests/devportal.yaml
andcmd/kusk/manifests/dashboard_envoyfleet.yaml
Change
to use JSON as the logging format by using:
Same applies to:
smoketests/basic/envoyfleet.yaml
.smoketests/mocking/envoyfleet.yaml
.smoketests/mocking/envoyfleet.yaml
.References
Signed-off-by: Mohamed Bana mohamed@bana.io