jinjianming commented on issue #9440:
URL: https://github.com/apache/apisix/issues/9440#issuecomment-1648996322
> @jinjianming你解决这个问题了吗?
Thank you for your reply. It has been resolved through modification
accessLogFormat
```
accessLogFormat: |-
{"@timestamp": "$time_local", "client_ip": "$remote_addr", "status":
"$status", "method": "$request_method", "uri": "$request_uri", "version":
"$server_protocol", "body_bytes_sent": "$body_bytes_sent", "http_referer": "
$http_referer", "http_x_register_referrer": "$http_x_register_referrer",
"http_user_agent": "$http_user_agent", "request_length": "$request_length",
"upstream_connect_time": "$upstream_connect_time", "upstream_header_time":
"$upstream_header_time", "request_time": "$request_time", "upstream_addr":
"$upstream_addr", "upstream_response_length": "$upstream_response_length",
"upstream_response_time": "$upstream_response_time", "upstream_status":
"$upstream_status", "host": "$host", "req_id": "$request_id"}
# -- Allows setting json or default characters escaping in variables
accessLogFormatEscape: json
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]