Log Analysis & SIEM Integration

Log Analysis & SIEM Integration is a skill for Claude Code from Masriyan/Claude-Code-CyberSecurity-Skill. It costs 39 tokens per session (4,058 once invoked), scanned A, original, MIT.

A set of methods for reading security logs and creating searches and correlation rules for SIEM systems. A SIEM is software that collects security records in one place for investigation.

In plain words
What is it for?
It is for analyzing Windows, Linux, and application logs; writing searches for Splunk, Elastic, QRadar, or Sentinel; creating portable Sigma rules; and detecting attack patterns.
Why use it?
It helps analysts find unusual activity and connect related events across different log sources and monitoring platforms.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the cybersecurity plugin — 20 skills shipped together

Good fit It is for analyzing Windows, Linux, and application logs; writing searches for…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/masriyan/claude-code-cybersecurity-skill/12-log-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Masriyan/Claude-Code-CyberSecurity-Skill --skill 12-log-analysis
Clone the repo
git clone --depth 1 https://github.com/Masriyan/Claude-Code-CyberSecurity-Skill

Made for: Claude Code.

Or install cybersecurity, the plugin that ships this one along with the rest of its 20 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Log Analysis & SIEM Integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/12-log-analysis.svg)](https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/12-log-analysis)
Your own site
<a href="https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/12-log-analysis"><img src="https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/12-log-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,058 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.04058
Opus 5 $0.00019 $0.02029
Sonnet 5 $0.00008 $0.00812
Haiku 4.5 $0.00004 $0.00406

Measured 7d ago against content hash 5ac395f757b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Log Analysis & SIEM Integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/anomaly_detector.py, scripts/log_parser.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/12-log-analysis/SKILL.md · 437 lines

How it starts

The opening of the file, as written. The whole thing — 437 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Log Analysis & SIEM Integration

Purpose

Enable Claude to assist with security log analysis across all major platforms. Claude directly parses and analyzes log samples provided by the user, builds SIEM queries for any platform, creates Sigma rules for portable detection, develops correlation rules, and identifies anomalous patterns in log data.


Activation Triggers

This skill activates when the user asks about:

  • Parsing Windows Event Logs, Linux syslog, or application logs
  • Building Splunk SPL, Elastic KQL/EQL, QRadar AQL, or Sentinel KQL queries
  • Creating Sigma rules for platform-agnostic detection
  • Detecting anomalies or attack patterns in log data
  • Building SIEM correlation rules for complex attack scenarios
  • Converting queries between SIEM platforms
  • Log source health monitoring and gap analysis
  • Detecting lateral movement, privilege escalation, or persistence in logs
  • EVTX analysis or Windows audit log review

Prerequisites

pip install pandas pyyaml python-dateutil

Platform tools:

  • Splunk — Splunk Web, SPL, and SOAR
  • Elastic Stack — Kibana, KQL, EQL
  • Microsoft Sentinel — KQL, Workbooks
  • IBM QRadar — AQL, Rules
  • Sigma — Platform-agnostic rule format
  • python-evtx — Parse Windows .evtx files without Windows

Core Capabilities

1. Log Parsing & Analysis

When the user pastes logs or provides log files:

Claude directly reads and analyzes logs to extract security-relevant events.

Windows Event Log — Critical Event IDs:

Event ID Log Description
4624 Security Successful logon — Logon Type 3 (network) is interesting
4625 Security Failed logon — track source IP for brute force
4648 Security Logon with explicit credentials (RunAs)
4688 Security New process created — needs CommandLine auditing enabled
4698 Security Scheduled task created
4702 Security Scheduled task updated
4720 Security User account created
4728/4732 Security Member added to security/local group
4768/4769 Security Kerberos TGT/TGS requested
4776 Security NTLM authentication
4946 Security Windows Firewall rule added
5140 Security Network share accessed
5145 Security Network share file access
7045 System New service installed
1102 Security Audit log cleared
4103/4104 PowerShell PowerShell module/script block logging

Read the full file on GitHub · 437 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 437 lines · 39 tokens per session scan A 5ac395f757b2

Subscribe to this mod's changes

Log Analysis & SIEM Integration is a skill published in the GitHub repository Masriyan/Claude-Code-CyberSecurity-Skill (397 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 4,058 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

building-detection-rules-with-sigma

Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting community Sigma rules into…

adriannoes/awesome-agentic-ai · 77 tokens

building-detection-rules-with-sigma

Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting community Sigma rules into…

26zl/cybersec-toolkit · 77 tokens

building-detection-rules-with-sigma

Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting community Sigma rules into…

autohandai/community-skills · 77 tokens

building-detection-rules-with-sigma

Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting community Sigma rules into…

Youngmaidainon/Agent-Level-Up · 77 tokens

building-detection-rules-with-sigma

Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting community Sigma rules into…

Njones17/AI-agent-master-cyber-skills-list · 77 tokens

building-detection-rules-with-sigma

Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting community Sigma rules into…

RobotFlow-Labs/skills-repo · 77 tokens