log-analyzer

Analyze MikoPBX Docker logs to diagnose API, worker, and system issues.

569|85|Updated Jun 7, 2019
One-click install
npx skills add https://github.com/mikopbx/Core --skill log-analyzer-mikopbx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: log-analyzer
Source: https://github.com/mikopbx/Core/tree/main/.claude/skills/log-analyzer
Command: npx skills add https://github.com/mikopbx/Core --skill log-analyzer-mikopbx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Efficiently analyze Docker container logs for diagnosing problems, monitoring health, and understanding system behavior.

Core Features & Use Cases

  • Identifies relevant log files for API, worker, and system issues
  • Filters noise to show only actionable entries
  • Correlates logs across multiple files and containers
  • Tracks worker processes and their status
  • Supports host-path access and docker exec for flexible analysis

Quick Start

Quick access suggests using host-mounted logs for speed and docker exec for process checks. Examples cover API issues, worker status, and real-time monitoring.

Frequently Asked Questions about log-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose Docker container log errors quickly?

Analyze Docker container logs by accessing system logs, PHP error logs, and nginx logs stored in /storage/usbdisk1/mikopbx/log/. Filter entries using grep to isolate relevant errors, then correlate across files to identify root causes for API failures, worker issues, or health problems.

Can I troubleshoot MikoPBX API failures using container logs?

Yes. Log analysis identifies API failures by examining nginx and system logs together, correlating timing and error patterns across multiple files to pinpoint whether issues originate in application code, worker processes, or infrastructure.

What's the best way to monitor worker process status in Docker?

Use docker exec to access live container processes while cross-referencing system and PHP error logs. This dual approach tracks worker state changes and correlates process failures with error entries to diagnose performance or crash issues.

How do I filter noise when analyzing large log files?

Apply grep tools to isolate actionable entries by searching for specific error keywords, timestamps, or process IDs across system/messages, php/error.log, and nginx logs, reducing clutter to focus on genuine issues.

Does log analysis work with host-mounted Docker volumes?

Yes. Host-mounted log paths like /storage/usbdisk1/mikopbx/log/ enable fast direct access without entering the container, supporting quick diagnostics while docker exec provides process-level context when needed.

Why correlate logs across multiple files instead of checking one at a time?

System behavior spans multiple services—nginx handles requests, PHP processes application logic, and system logs record infrastructure events. Correlating entries across files reveals causation chains that single-file inspection misses, enabling root-cause diagnosis.