我正在尝试诊断问题。有没有人知道Bluemix中RTR日志消息的格式是什么?
例如:
somehost.mybluemix.net - [02/03/2017:16:00:23.428 +0000] "GET / HTTP/1.1" 200 0 306 "-" "-" 44.44.44.44:4444 x_forwarded_for:"55.5.55.55" x_forwarded_proto:"http" vcap_request_id:abc-123 response_time:0.005884674 app_id:abc-123 x_global_transaction_id:"55555555"
答案 0 :(得分:0)
从v217开始,格式为:
<hostname> - [<time>] "<verb> <path> <http_spec>" <status> <request_bytes_received> <body_bytes_sent> <referer> <http_user_agent> x_forwarded_for:<x_forwarded_for> x_forwarded_proto:<x_forwarded_proto> vcap_request_id:<vcap_request_id> response_time:<response_time> app_id:<app_id>