# Sdl log parser

> Sdl log parser is an open-source agent skill for files and documents. Authors, debugs and validates SentinelOne SDL log parsers for raw log text. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Sentinel-One/ai-siem/tree/main/plugins/s1-secops-skills/skills/sdl-log-parser
- **Repository:** https://github.com/sentinel-one/ai-siem
- **GitHub stars:** 105
- **License:** AGPL-3.0
- **Skill name:** sdl-log-parser
- **Collection:** https://github.com/Sentinel-One/ai-siem
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill helps an agent write, edit, debug and explain parser definitions for the SentinelOne Singularity Data Lake. A parser is an augmented-JSON file stored under the tenant's log parsers path that pulls structured fields out of each ingested log line. The workflow starts by checking whether a parser can run on the source at all, since only the message and parser attributes are visible to it. It then looks for an existing parser in the community catalog to adapt before drafting a new one.

The skill carries a set of hard rules and DSL pitfalls, such as required metadata attributes, mapping order, regex escaping and OCSF field naming. It recommends running an offline lint script before deployment. Validation is done against live events by bumping the parser version, deploying it, and querying the stream for populated fields, with a synthetic ingest fallback for sources that are not currently sending data.

Using it requires access to the SentinelOne MCP server for deploying and querying files, plus a tenant with credentials. Sample raw logs are needed as input, and the skill also covers the case where fields should be parsed in Data Pipeline Management instead.

## When your agent uses it

> Use whenever the user wants to author, edit, debug, validate, or explain a SentinelOne Singularity Data Lake (SDL) log parser, the augmented-JSON files at /logParsers/ that extract fields from raw log text before ingestion. Trigger on "SDL parser", "Skylight parser", "log parser", "parser editor", "write a parser", "test parser", or any pasted raw log the user wants turned into structured fields. Also trigger on parser-DSL keywords like `formats:`, `patterns:`, `lineGroupers:`, `rewrites:`, `discardAttributes:`, `aliasTo:`, `{parse=...}`, `{regex=...}`. Especially trigger when the user pastes a raw log (CEF, syslog, JSON, key=value, multi-line, CSV) and asks to extract fields, normalize timestamps, or drop noise. If the project is SDL/Singularity/Scalyr and the user says "parse this log", use this skill. Always validates end-to-end via putFile → HEC ingest (parser applied) → query. NOT for PowerQuery (use powerquery), NOT for plain ingest without a parser (use sdl-api).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/Sentinel-One/ai-siem/tree/HEAD/plugins/s1-secops-skills/skills/sdl-log-parser)
- [No network calls found in its scripts](https://github.com/Sentinel-One/ai-siem/tree/HEAD/plugins/s1-secops-skills/skills/sdl-log-parser)
- [License: AGPL-3.0](https://github.com/Sentinel-One/ai-siem/tree/HEAD/plugins/s1-secops-skills/skills/sdl-log-parser)

## Features

- **Parser eligibility check:** Determines whether an SDL parser can run on a source based on the message and parser attributes.
- **Offline lint script:** Checks a parser file against known DSL traps before it is deployed to the tenant.
- **Catalog-first authoring:** Starts from existing community or marketplace parsers where one matches the vendor product.
- **OCSF field mapping:** Maps captured fields to OCSF dotted paths and class metadata using a bundled schema reference.
- **Live stream validation:** Deploys a versioned parser and confirms the fields populate on events the source is already sending.
- **Synthetic ingest fallback:** Sends sample logs through the deployed parser when the source is not currently ingesting.

## Good for

- Write a parser for a firewall syslog sample
- Extract fields from a pasted CEF or key=value log line
- Debug why a parsed field is null after ingest
- Map vendor log fields to OCSF names
- Add a rewrite that masks a password in events
- Fix a multi-line log by adding a line grouper

## Install

### Claude Code

This skill ships in the `s1-secops-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Sentinel-One/ai-siem
/plugin install s1-secops-skills@sentinelone
```

Or copy only this skill to `~/.claude/skills/sdl-log-parser`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sdl-log-parser &&
cp -R "$tmp/plugins/s1-secops-skills/skills/sdl-log-parser" ~/.claude/skills/sdl-log-parser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sdl-log-parser` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sdl-log-parser` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sdl-log-parser &&
cp -R "$tmp/plugins/s1-secops-skills/skills/sdl-log-parser" ~/.agents/skills/sdl-log-parser &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sdl-log-parser` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sdl-log-parser` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sdl-log-parser &&
cp -R "$tmp/plugins/s1-secops-skills/skills/sdl-log-parser" ~/.cursor/skills/sdl-log-parser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sdl-log-parser` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Sentinel-One/ai-siem.git --path plugins/s1-secops-skills/skills/sdl-log-parser
```

Or copy the folder to `~/.gemini/skills/sdl-log-parser` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sdl-log-parser`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sdl-log-parser &&
cp -R "$tmp/plugins/s1-secops-skills/skills/sdl-log-parser" ~/.copilot/skills/sdl-log-parser &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sdl-log-parser` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git
```

Then copy `ai-siem/plugins/s1-secops-skills/skills/sdl-log-parser` into your agent's skills folder as `sdl-log-parser`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Sdl log parser can write a parser?

It needs a sample of the raw log and access to the SentinelOne MCP tools that deploy and query files. The events must carry a message and a parser attribute for an SDL parser to run.

### Does Sdl log parser change parsers on a live source?

It edits the parser the source already uses and bumps metadata.version on each deploy. Saved parser edits only apply to newly ingested events and do not re-parse history.

### When should I not use Sdl log parser?

For PowerQuery authoring or for plain ingestion that needs no parser. If fields are already promoted upstream, the skill points to Data Pipeline Management instead.

### How do I install Sdl log parser in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sdl-log-parser to use it in all your projects, or to .claude/skills/sdl-log-parser in one project. Or install the s1-secops-skills plugin, which includes it: /plugin marketplace add Sentinel-One/ai-siem, then /plugin install s1-secops-skills@sentinelone.

### Does Sdl log parser run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sdl log parser?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Sdl log parser?

The closest alternatives to Sdl log parser are Sdl API, Sdl dashboard, Sdl solutions, Crowdsec hub authoring and Sarif parsing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Sdl API](https://ai-powered.com/skills/sdl-api): Sdl API is an open-source agent skill for security.
- [Sdl dashboard](https://ai-powered.com/skills/sdl-dashboard): Sdl dashboard is an open-source agent skill for analytics and data.
- [Sdl solutions](https://ai-powered.com/skills/sdl-solutions): Sdl solutions is an open-source agent skill for security.
- [Crowdsec hub authoring](https://ai-powered.com/skills/crowdsec-hub-authoring): Crowdsec hub authoring is an open-source agent skill for security.
- [Sarif parsing](https://ai-powered.com/skills/sarif-parsing): Sarif parsing is an open-source agent skill for security.
- [Parser differential route confusion](https://ai-powered.com/skills/parser-differential-route-confusion): Parser differential route confusion is an open-source agent skill for security.
- [Powerquery](https://ai-powered.com/skills/powerquery): Powerquery is an open-source agent skill for security.
- [Detection as code](https://ai-powered.com/skills/detection-as-code): Detection as code is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/sdl-log-parser
