anonymize-logs

Official

Sanitize logs without altering structure.

Authorelastic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Anonymize and sanitize customer-provided log files before they are committed to source control. Performs a line-by-line review and replaces all sensitive values inline, preserving log structure and format exactly — never re-indents, re-formats, or restructures content. Invoke manually with /anonymize-logs.

Core Features & Use Cases

  • Line-by-line replacement of sensitive values (authentication artifacts, personal identifiers, and infrastructure identifiers) while preserving field names, delimiters, and layout.
  • Maintains exact whitespace, delimiters, and line structure to ensure downstream parsers continue to work without changes.
  • Supports common log formats (NDJSON, Syslog, key-value logs) and multiline entries; suitable for test fixtures, sample events, and security/data privacy reviews.

Quick Start

Provide log files to sanitize and run the anonymize-logs workflow to generate sanitized outputs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: anonymize-logs
Download link: https://github.com/elastic/integration-skills/archive/main.zip#anonymize-logs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.