log-analyzer
Parse, search, and analyze application logs across formats. Use when debugging from log files, setting up structured logging, analyzing error patterns, correlating events across services, parsing stack traces, or monitoring log output in real time.
Why use this skill?
Master log analysis with the OpenClaw log-analyzer. Easily parse structured JSON, troubleshoot stack traces, and correlate service logs to speed up your debugging.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/gitgoodordietrying/log-analyzerWhat This Skill Does
The log-analyzer is a powerful utility within the OpenClaw ecosystem designed to streamline the process of parsing, searching, and interpreting application logs. It bridges the gap between raw, unstructured text files and structured data, enabling users to quickly isolate critical events across diverse formats. Whether you are dealing with standard plain-text logs, JSON-formatted streams, or complex multi-line stack traces, this skill provides a unified interface to query and extract actionable insights. By leveraging battle-tested tools like grep, awk, and jq, it transforms logs into a readable debugging format, allowing for rapid identification of bottlenecks, correlation of request flows, and pattern recognition in high-volume environments.
Installation
To integrate this tool into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/gitgoodordietrying/log-analyzer
Use Cases
- Production Troubleshooting: Quickly filter through thousands of lines to find 'error' or 'fatal' tags during a system outage.
- System Observability: Extract performance metrics, such as request latency, from unstructured logs to identify performance regressions.
- Audit Trails: Search by specific correlation or request IDs to trace the life cycle of a transaction across microservices.
- Log Normalization: Parse mixed-format logs that contain both plain text and structured JSON entries into a clean, searchable stream.
- Error Reporting: Automatically aggregate error types to generate high-level summaries for post-mortem analysis.
Example Prompts
- "Analyze app.log to find the top 10 most frequent error messages occurring in the last hour."
- "Extract all JSON log entries from the log directory where the user ID is 'user-987' and print them as a tab-separated list."
- "Filter the access.log for all 5xx HTTP status codes and list the request paths and timestamps associated with them."
Tips & Limitations
- Performance: For massive log files, try to use
tailorheadto restrict the search range before processing withjqorawkto save memory. - Timezones: Always verify if your logs are in UTC or local time, as ISO timestamp comparisons require consistent formatting to work accurately.
- Security: Be cautious when running this skill on logs containing PII (Personally Identifiable Information). Ensure you have appropriate redaction policies in place before analyzing production-sensitive data.
- Format Consistency: While the tool handles mixed formats, it works best when the target log files maintain a somewhat consistent structure for extraction logic.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-gitgoodordietrying-log-analyzer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
shell-scripting
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
api-dev
Scaffold, test, document, and debug REST and GraphQL APIs. Use when the user needs to create API endpoints, write integration tests, generate OpenAPI specs, test with curl, mock APIs, or troubleshoot HTTP issues.
skill-writer
Write high-quality agent skills (SKILL.md files) for ClawdHub/MoltHub. Use when creating a new skill from scratch, structuring skill content, writing effective frontmatter and descriptions, choosing section patterns, or following best practices for agent-consumable technical documentation.
emergency-rescue
Recover from developer disasters. Use when someone force-pushed to main, leaked credentials in git, ran out of disk space, killed the wrong process, corrupted a database, broke a deploy, locked themselves out of SSH, lost commits after a bad rebase, or hit any other "oh no" moment that needs immediate, calm, step-by-step recovery.
data-validation
Validate data with schemas across languages and formats. Use when defining JSON Schema, using Zod (TypeScript) or Pydantic (Python), validating API request/response shapes, checking CSV/JSON data integrity, or setting up data contracts between services.