bfe
bfe copied to clipboard
记录 所有的req_headers
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
在日志中要记录 请求头 ,使用 ${User_Agent}req_header 这种指定的变量 来记录指定的req_Header 但是在生产环境中 可能 用户有很多请求头,并且不是固定的, nginx 可以通过 lua脚本来 获取req_headers 中的所有header
BFE 能否记录所有的req_Header Key和value 如下图
@arrow2012 感谢你的关注和反馈!后续版本会考虑支持