亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

這種怎么提取request和x-request-id的組合

remote_addr=[172.17.5.152] http_x_forward=[-] time=[2023-04-29T16:25:12+08:00] request=[GET /api/sale/customer/manage/customer/status/in/shop/list?customer_id=16035228&shop_ids=566%2C423%2C76%2C-1%2C-1%2C466%2C46%2C423%2C466%2C44 HTTP/1.1] status=[200] byte=[293] elapsed=[0.249] refer=[-] body=[-] ua=[okhttp/3.6.0] cookie=[-] gzip=[-] log_id=[sale-customer-manage-v2-8579575566-mdz5j71682756712.371939-302232] msec=[1682756712.371] http_host=[sale-customer-manage.production.svc.renrenaiche.cn] http_accept=[*/*|gzip|-] upstream_response_time=[0.249] sent_http_set_cookie=[-] session_id=[-] rrc_tg=[-] x-request-id=[9b03de42-2291-9162-8588-46b706e2b88e]


正在回答

1 回答

sed 's/remote_addr.*rtime=\([.*]\+\) request=\([.*]\+\) .*$/\1\2/' access.log?

發現這么寫不好使

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

這種怎么提取request和x-request-id的組合

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號