log-summary-date-ranges

Parse log files, count entries by severity, and generate CSV reports.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Zurybr/lefarma-skills --skill log-summary-date-ranges-zurybr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: log-summary-date-ranges
Source: https://github.com/Zurybr/lefarma-skills/tree/main/letta/benchmarks/trajectory-only/log-summary-date-ranges
Command: npx skills add https://github.com/Zurybr/lefarma-skills --skill log-summary-date-ranges-zurybr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of analyzing log files to generate summary statistics across various date ranges, simplifying the identification of trends and issues.

Core Features & Use Cases

  • Log Parsing: Parses log entries to extract timestamps and severity levels (ERROR, WARNING, INFO).
  • Date Range Aggregation: Aggregates log counts by predefined date ranges like 'today', 'last 7 days', 'last 30 days', and 'month-to-date'.
  • Report Generation: Produces summary statistics, optionally in CSV format.
  • Use Case: Analyze server logs from the past week to count the number of ERROR messages per day and identify any spikes.

Quick Start

Analyze the log files in the /var/log/app/ directory to count error messages for the last 7 days and output the results to error_summary.csv.

Frequently Asked Questions about log-summary-date-ranges

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

FAQPage Schema
How do I summarize log files by specific date ranges?

You can parse log files to extract timestamps and severity levels, aggregating counts across predefined ranges like 'last 7 days' or 'month-to-date' to produce summary statistics for trend identification.

Can I generate a CSV report of error messages from server logs?

Yes, you can parse server logs to count ERROR messages across a specified date range and output the aggregated summary statistics directly to a CSV file.

How does log analysis handle counts for different severity levels?

Log analysis parses each entry to identify ERROR, WARNING, and INFO severity levels, then aggregates these counts by predefined date ranges to reveal daily spikes or trends in your application logs.

What is the best way to count daily error spikes in application logs?

The best way to count error spikes is to parse timestamps and count ERROR severities per day across predefined date ranges, producing summary statistics that highlight abnormal activity.

Do I need any specific dependencies to parse logs and calculate date ranges?

No specific dependencies are required to parse logs and calculate date ranges; this Skill provides standalone guidance for robust parsing techniques and accurate date range calculations.