Skip to content

parse-log

by official

Data

Summarize and analyze log files

data logs analysis
# parse-log

Summarize and analyze log files

## Installation

This is a CmdForge tool. Install it from the registry:

```bash
cmdforge install parse-log
```

## Usage

Parse and analyze log files by piping them into the tool:

```bash
# Analyze a log file
cat app.log | parse-log

# Focus on specific issues
cat error.log | parse-log --focus "database connection issues"

# Analyze recent logs
tail -100 /var/log/syslog | parse-log --focus "security events"

# Process compressed logs
zcat archive.log.gz | parse-log
```

## Arguments

| Flag | Default | Description |
|------|---------|-------------|
| `--focus` | "errors and warnings" | What aspects of the log to focus on during analysis |

## How It Works

1. **AI Analysis** - Sends the log content to Claude Haiku with focus on specified aspects, generating a summary and analysis of key issues, patterns, and insights

## Dependencies

None

No reviews yet.

Issues

No issues reported for this tool.