log-parser

Parses application log files into structured JSON summaries of errors and warnings.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/xiaoli123/agentscope-core --skill log-parser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: log-parser
Source: https://github.com/xiaoli123/agentscope-core/tree/main/agentscope-core/src/test/resources/e2e-skills/log-parser
Command: npx skills add https://github.com/xiaoli123/agentscope-core --skill log-parser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Reducing the time spent manually scanning log files by automatically extracting errors, warnings, and relevant patterns into a concise, structured report.

Core Features & Use Cases

  • Parses log files to extract timestamped errors and warnings with their messages.
  • Generates a JSON summary suitable for dashboards or incident reports.
  • Supports optional level filtering (ALL, ERROR, WARN) to tailor results for debugging, on-call alerts, and post-incident analysis.

Quick Start

Run the script on your log file to produce a structured summary of errors and warnings.

Frequently Asked Questions about log-parser

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

FAQPage Schema
How do I extract errors and warnings from application log files?

To extract errors and warnings from application log files, run the Python-based parser via CLI to capture timestamps, log levels, and messages, producing a structured JSON summary for debugging and incident investigation.

What is the best way to parse application logs into JSON format?

Parsing application logs into JSON format is done by running a Python script that processes timestamped entries and extracts relevant patterns, generating a concise structured report suitable for dashboards or post-incident analysis.

Can I filter log parsing results by log level for post-incident analysis?

Yes, you can filter log parsing results by log level. The parser supports optional level filtering using ALL, ERROR, and WARN options to tailor the extracted output for on-call alerts and specific debugging needs.

Does this log parser work for staging and production environments?

Yes, this log parser works across development, staging, and production environments. It automatically extracts timestamped errors and warnings from application logs, reducing the time spent manually scanning files during incident investigation.

What limitations should I expect when automating log analysis with a Python script?

When automating log analysis with this Python script, expect it to focus strictly on extracting timestamped errors, warnings, and patterns into a JSON summary. It provides basic parsing capabilities without advanced correlation or real-time streaming features.