Skip to content

Instantly share code, notes, and snippets.

@bianpengyuan
Created September 1, 2020 16:07
Show Gist options
  • Save bianpengyuan/637dc199276cd1d40171f81f07bfb813 to your computer and use it in GitHub Desktop.
Save bianpengyuan/637dc199276cd1d40171f81f07bfb813 to your computer and use it in GitHub Desktop.
Envoy gRPC access log API attributes bag
connection.requested_server_name : outbound_.9080_._.productpage.default.svc.cluster.local
context.protocol : http
context.reporter.kind : inbound
context.reporter.uid : envoy_accesslog_service
destination.ip : [0 0 0 0 0 0 0 0 0 0 255 255 10 48 2 7]
destination.port : 9080
destination.principal : cluster.local/ns/default/sa/bookinfo-productpage
destination.service.host : productpage.default.svc.cluster.local
destination.service.name : productpage
destination.service.namespace : default
request.headers : stringmap[:authority:35.225.168.47]
request.host : 35.225.168.47
request.method : GET
request.path : /productpage
request.scheme : http
request.time : 2020-08-31 18:59:15.942035 +0000 UTC
request.useragent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
response.code : 200
response.headers : stringmap[]
response.size : 5179
response.time : 2020-08-31 18:59:16.061522435 +0000 UTC
response.total_size : 5325
source.ip : [0 0 0 0 0 0 0 0 0 0 255 255 10 48 2 25]
source.port : 46436
source.principal : cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account
---
destination.container.name : productpage
destination.labels : stringmap[app:productpage istio.io/rev:default pod-template-hash:646dfd54d4 security.istio.io/tlsMode:istio service.istio.io/canonical-name:productpage service.istio.io/canonical-revision:v1 version:v1]
destination.name : productpage-v1-646dfd54d4-ph6gz
destination.namespace : default
destination.owner : kubernetes://apis/apps/v1/namespaces/default/deployments/productpage-v1
destination.serviceAccount : bookinfo-productpage
destination.uid : kubernetes://productpage-v1-646dfd54d4-ph6gz.default
destination.workload.name : productpage-v1
destination.workload.namespace: default
destination.workload.uid : istio://default/workloads/productpage-v1
source.labels : stringmap[app:istio-ingressgateway chart:gateways heritage:Tiller istio:ingressgateway pod-template-hash:768c6bf77b release:istio service.istio.io/canonical-name:istio-ingressgateway service.istio.io/canonical-revision:latest]
source.name : istio-ingressgateway-768c6bf77b-d46tn
source.namespace : istio-system
source.owner : kubernetes://apis/apps/v1/namespaces/istio-system/deployments/istio-ingressgateway
source.serviceAccount : istio-ingressgateway-service-account
source.uid : kubernetes://istio-ingressgateway-768c6bf77b-d46tn.istio-system
source.workload.name : istio-ingressgateway
source.workload.namespace : istio-system
source.workload.uid : istio://istio-system/workloads/istio-ingressgateway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment