34
針對Linux伺服器上的Nginx存取日誌,快速定位5xx錯誤請求的來源IP、請求路徑與出現頻率,協助運維人員快速排查服務異常。
複製
Process the provided Linux server Nginx access log text, count all requests with 5xx HTTP status codes, organize the source IP, request path and occurrence count of each error, sort results from highest to lowest by frequency, remove duplicate entries, and output the structured sorted result directly.
複製
你需要處理提供的Linux伺服器上的Nginx存取日誌文字,統計所有HTTP狀態碼為5xx的請求,整理出這些請求的來源IP位址、對應請求路徑以及每個錯誤出現的次數,將結果按照出現頻率由高到低排序輸出,移除重複的統計項目,直接輸出整理後的結構化結果即可。
複製
推薦





首頁
