parsing-helper
БесплатноБез исполняемых скриптовНе проверенCustomize and test Grok parsing for USP, Cloud Sensor, and External adapters. Helps generate parsing rules from sample logs, validate against test data, and…
от refractionPOINT★ 32 звезды на GitHubОб этом скилле
Parsing Helper
A guided workflow for creating, testing, and deploying Grok parsing configurations for LimaCharlie adapters. This skill helps you customize how log data is parsed and normalized as it's ingested into LimaCharlie.
LimaCharlie Integration
Prerequisites: Run
/init-lcto initialize LimaCharlie context.
LimaCharlie CLI Access
All LimaCharlie operations use the limacharlie CLI directly:
limacharlie <noun> <verb> --oid <oid> --output yaml [flags]
For command help and discovery: limacharlie <command> --ai-help
Critical Rules
| Rule | Wrong | Right |
|---|---|---|
| CLI Access | Call MCP tools or spawn api-executor | Use Bash("limacharlie ...") directly |
| Output Format | --output json |
--output yaml (more token-efficient) |
| Filter Output | Pipe to jq/yq | Use --filter JMESPATH to select fields |
| LCQL Queries | Write query syntax manually | Use limacharlie ai generate-query first |
| Timestamps | Calculate epoch values | Use date +%s or date -d '7 days ago' +%s |
| OID | Use org name | Use UUID (call limacharlie org list if needed) |
⚠️ TIMEZONE NOTE: Patterns like
SYSLOGTIMESTAMP(Dec 16 17:50:04) lack timezone info. LimaCharlie assumes UTC. This skill automatically detects timezone mismatches by comparing parsed times to current UTC.
When to Use
Use this skill when:
- Setting up new log parsing: Configure Grok patterns for a new log source
- Troubleshooting parsing issues: Logs aren't being parsed correctly or fields are missing
- Modifying field extraction: Need to add, remove, or change extracted fields
- Testing parsing changes: Validate new parsing rules before deploying to production
- Generating adapter configurations: Create YAML/CLI config for local USP adapters
Common scenarios:
- "Help me parse these firewall logs"
- "The timestamp isn't being extracted correctly from my syslog"
- "I need to add a new field to my adapter parsing"
- "Generate a Grok pattern for these log samples"
- "Test this parsing configuration before I deploy it"
What This Skill Does
This skill provides a 5-phase workflow:
- Organization Selection - Select the LimaCharlie organization
- Adapter Discovery - Identify the adapter type and get current configuration
- Sample Log Collection - Get sample logs from the adapter's sensor or user input
- Grok Pattern Generation - Analyze logs and generate appropriate Grok patterns
- Validation & Deployment - Test parsing and apply configuration
Supported Adapter Types
| Type | Description | Configuration Method |
|---|---|---|
| External Adapter | Cloud-managed adapters (syslog, webhook, API) | Update via set_external_adapter API |
| Cloud Sensor | Virtual sensors for cloud platforms (AWS, Azure, GCP, SaaS) | Update via set_cloud_sensor API |
| One-off/USP Adapter | On-prem adapters with local configuration | Output YAML/CLI config for user |
Required Information
Before starting, gather:
- Organization: The LimaCharlie org where the adapter is configured
- Adapter Type: External Adapter, Cloud Sensor, or One-off/USP Adapter
- Adapter Name: For cloud-managed adapters, the name of the existing adapter
- Sample Logs: Either from the adapter's sensor or user-provided samples
How to Use
Phase 1: Organization Selection
Get the list of available organizations:
limacharlie org list --output yaml
Use AskUserQuestion to let the user select an organization if multiple are available.
Phase 2: Adapter Discovery & Type Selection
Ask the user which adapter type they're working with using AskUserQuestion:
Option A: External Adapter (cloud-managed syslog, webhook, API)
- List available external adapters:
limacharlie external-adapter list --oid <SELECTED_ORG_ID> --output yaml
- Get the selected adapter's current configuration:
limacharlie external-adapter get --key <ADAPTER_NAME> --oid <SELECTED_ORG_ID> --output yaml
Option B: Cloud Sensor (AWS, Azure, GCP, SaaS)
- List available cloud sensors:
limacharlie cloud-adapter list --oid <SELECTED_ORG_ID> --output yaml
- Get the selected cloud sensor's current configuration:
limacharlie cloud-adapter get --key <SENSOR_NAME> --oid <SELECTED_ORG_ID> --output yaml
Option C: One-off/USP Adapter (local adapter, no cloud config)
No API calls needed. Proceed directly to sample log collection.
Phase 3: Get Sample Log Data
Option A: Query from adapter's sensor (for cloud-managed adapters)
If the adapter is already ingesting data, you can fetch sample events:
- Find the sensor by IID (Installation ID from the adapter's installation key):
limacharlie sensor list --oid <SELECTED_ORG_ID> --filter "[?iid=='<IID>']" --output yaml
- Get recent events from the sensor:
IMPORTANT: Alway
Установить parsing-helper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
TaskReadBashSkillAskUserQuestionFAQ
Что делает скилл parsing-helper?
Customize and test Grok parsing for USP, Cloud Sensor, and External adapters. Helps generate parsing rules from sample logs, validate against test data, and deploy configurations. Use when setting up new log sources, troubleshooting parsing issues, or modifying field extraction for adapters.
Как установить скилл parsing-helper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл parsing-helper запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic