本文介绍CSB微服务网关日志字段详情。
字段名 | 名称 |
---|---|
__topic__ | 日志主题,固定为csb_gateway_access_log。 |
http_method | 请求方法 |
path | 请求路径 |
remote_user | 客户端请求发起方的标识信息 |
request_length | 客户端请求体的长度 |
status | 网关返回的响应状态 |
upstream_status | upstream返回的响应状态 |
http_user_agent | 客户端浏览器等信息 |
http_referer | URL跳转来源 |
body_bytes_sent | 发送给客户端的字节数 |
request_time | 从网关收到请求到返回给客户端的响应时间 |
upstream_response_time | upstream返回的响应时间 |
upstream_response_length | upstream返回的响应体长度 |
upstream_addr | upstream地址 |
matching_apis | 本次请求路径匹配到的API |
req_headers | 请求头信息 |
host | 网关地址 |
inbound_filter_time | 前置过滤器处理请求的时间 |
gateway_id | 网关ID |
zuul_exception_status | Zuul网关自身异常情况 |
outbound_filter_time | 后置过滤器处理请求的时间 |
matching_route_id | 本次请求路径匹配到的Route ID |
cache | 缓存大小 |
request_id | 请求ID |
response_length | 响应长度 |
client_ip | 客户端IP地址 |
在文档使用中是否遇到以下问题
更多建议
匿名提交