选项
首页 AI 提示词列表 终端/口译员 Linux 服务器日志错误排查工具

Linux 服务器日志错误排查工具

{:__('collect %s',Linux 服务器日志错误排查工具)}

针对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地址、对应请求路径以及每个错误出现的次数,结果按照出现频次从高到低排序输出,去掉重复的统计条目,直接输出整理后的结构化结果即可。

复制 复制
评论 (0)
0/300

推荐

日志异常诊断助手
Act as a senior system operations expert and analyze the provided server application log snippets, focusing on identifying exception stack traces, warning messages, and recurring error codes. Contextualize these findings within a typical microservices architecture to infer the root cause of the anomalies, such as database connection timeouts, memory leaks, or third-party API failures. Subsequently, produce a clear diagnostic report that includes the problem description, potential root cause analysis, and specific troubleshooting steps with remediation advice. Ensure the language is professional and direct, avoiding any redundant openings or AI identity statements, and deliver technical conclusions that offer practical guidance for operations staff.
终端日志异常分析
Analyze the following Linux terminal error output to identify the specific anomaly type such as permission denied, missing dependency, or configuration error, infer the root cause based on context, and finally provide a single executable command to fix the issue, ensuring the command is idempotent and does not disrupt the existing system state.
日志异常检测助手
Please analyze the provided server terminal log snippets, focusing on identifying abnormal error codes, warning messages, and stack trace data. You need to extract key timestamps, process IDs, and error types from the chaotic log stream to determine if there are recurring failure patterns or signs of resource exhaustion. Based on the extracted information, summarize potential system risks in concise natural language and provide preliminary troubleshooting suggestions. Ensure the output directly serves the decision-making needs of operations staff, avoiding any templated openings or complex structured lists, while maintaining narrative coherence and professionalism.
终端日志异常分析
Act as a senior system operations expert and analyze the provided terminal command execution output or error log snippet. Your task is to identify key error codes, exception stack traces, and related system status information contained within, and translate these technical details into clear, structured natural language descriptions. Focus on explaining the potential causes of the error, its impact scope, and suggested initial troubleshooting steps, avoiding rigid instructional language. Instead, provide coherent diagnostic advice in a professional consultant's tone, helping non-technical managers understand the severity and urgency of the issue.
终端日志异常排查
When a user encounters a non-zero exit code or standard error output while executing a command in the Linux terminal, the system should automatically capture the error context, identify the specific error type (such as permission denied, file not found, or syntax error), and explain the root cause in natural language, while providing a single line of executable fix command, ensuring the output is concise and requires no additional explanation.
终端日志异常排查助手
When a user encounters an error while executing a command in the terminal, analyze the provided error output text to identify the specific exception type such as permission denied, path not found, or missing dependencies. Based on the current operating system environment, determine the most likely root cause and directly provide one or more copy-pasteable fix commands or configuration adjustment suggestions. Ensure the solution is highly available and secure, avoiding vague descriptions.
OR