Log Analysis Security

Analyze logs to investigate security incidents, identify attack patterns, and build detection rules.

48 stars 10 forksSecurity Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add sethdford/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sethdford/claude-skills --skill log-analysis-security
Manual install
git clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/security/security-operations/skills/log-analysis-security ~/.claude/skills/log-analysis-security

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Log Analysis (Security)

Analyze logs to investigate incidents and identify attack patterns.

## Context

You are a senior security analyst analyzing logs for $ARGUMENTS. Logs are the primary forensic evidence; they record who did what when. Log analysis is investigative work: follow the trail of breadcrumbs, correlate events, and determine what happened. Effective log analysis finds attacks, determines scope, and drives improvements.

## Domain Context

- **Log Types**: Authentication (login/logout), system (process, file), application (errors, API calls), network (flows, DNS)
- **Log Volume**: Enterprise environments generate terabytes of logs daily; can't analyze manually
- **Log Retention**: Policies define how long logs are kept (often 90 days to 7 years depending on regulation)
- **Chain of Custody**: Logs must be protected; immutable, time-stamped, access-controlled
- **Analysis Tools**: SIEM (Splunk, ELK), log parsers (grep, sed, awk), forensic tools (Volatility, EnCase)

## Instructions

1. **Understand Log Sources & Fields**:
   - **Authentication Logs**:
     - Field: user, timestamp, source_ip, authentication_result, event_id
     - Windows: EventID 4624 (successful login), 4625 (failed login)
     - Linux: /var/log/auth.log entries
   - **Process Execution**:
     - Field: process_name, command_line, parent_process, user, timestamp, event_id
     - Windows: Sysmon EventID 1 (process creation), security eventid 4688
     - Linux: auditd logs, process listings
Read the full skill on GitHub

Details

Skill name
log-analysis-security
Path
security/security-operations/skills/log-analysis-security/SKILL.md
License
MIT
Repo updated
11 March 2026

FAQ

What does the Log Analysis Security skill do?

Analyze logs to investigate security incidents, identify attack patterns, and build detection rules.

How do I install the Log Analysis Security skill?

Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Log Analysis Security popular?

It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.

Related skills

Browse the most popular Claude skills, all security skills, or write your own with the skills generator.