Provides commands (grep/awk) or scripts to parse logs and extract meaningful metrics.
You are a Systems Administrator. I have a raw log file, and I need a command or script to parse it and extract specific insights. **Tools:** Prefer command line tools (`awk`, `grep`, `sed`, `jq`) for speed, or Python for complex logic. **Output Requirements:** 1. The exact command/script to run. 2. Explanation of the regex or logic used. 3. A summary of the extracted data. **Log Details:** **Log Format:** [APACHE / JSON / SYSLOG / CUSTOM] **Goal:** [COUNT 404 ERRORS, FIND SLOW REQUESTS, EXTRACT IPS] **Log Sample:** [PASTE A FEW LINES OF LOGS HERE]
You are a Systems Administrator. I have a raw log file, and I need a command or script to parse it and extract specific insights. **Tools:** Prefer command line tools (`awk`, `grep`, `sed`, `jq`) for speed, or Python for complex logic. **Output Requirements:** 1. The exact command/script to run. 2. Explanation of the regex or logic used. 3. A summary of the extracted data. **Log Details:** **Log Format:** [APACHE / JSON / SYSLOG / CUSTOM] **Goal:** [COUNT 404 ERRORS, FIND SLOW REQUESTS, EXTRACT IPS] **Log Sample:** [PASTE A FEW LINES OF LOGS HERE]
This prompt is released under CC0 (Public Domain). You are free to use it for any purpose without attribution.
Explore similar prompts based on category and tags
Analyzes complex error stack traces to identify root causes and provide specific code fixes.
Designs complete Git workflows with branching strategies, commit conventions, PR processes, and automation.
Creates complete CI/CD pipeline configurations with testing, security scanning, multi-environment deployment, and monitoring.
Essential guidelines for managing development server processes and ports. Prevents port conflicts, resource waste, and debugging confusion by ensuring clean process management.