field-extraction-parsing

Convert unstructured log data into queryable fields using OPAL extraction and JSONPath.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rustomax/observe-community-mcp --skill field-extraction-parsing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: field-extraction-parsing
Source: https://github.com/rustomax/observe-community-mcp/tree/main/skills/field-extraction-parsing
Command: npx skills add https://github.com/rustomax/observe-community-mcp --skill field-extraction-parsing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts unstructured log text into structured, queryable fields using OPAL's extraction and parsing functions, enabling reliable data analysis, filtering, and correlation across large log datasets.

Core Features & Use Cases

  • Named-capture extraction with extract_regex() to create new columns from log lines.
  • Delimited data handling with split() and split_part() to break apart paths, CSV-like data, and identifiers.
  • JSON support with parse_json() and JSONPath navigation to access nested fields in JSON-embedded logs.
  • Practical workflows: parse timestamps, IDs, metrics, and nested values for observability and incident analysis.

Quick Start

Use a representative log line and an OPAL workflow to extract fields (timestamps, levels, IDs) and to access nested JSON values using JSONPath.

Frequently Asked Questions about field-extraction-parsing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse unstructured logs into structured queryable fields?

You can parse unstructured logs into structured fields using OPAL extraction functions like extract_regex for named captures, split_part for delimited data, and parse_json for embedded JSON strings.

Can I extract nested values from JSON embedded in log lines?

Yes, you can extract nested values from JSON embedded in log lines by applying the parse_json function to JSON strings and then navigating the resulting structure using JSONPath.

How do I split delimited text in application logs for analysis?

You can split delimited text in application logs by applying OPAL split and split_part functions to break apart paths, CSV-like data, and identifiers into individual queryable columns.

Does field extraction support type casting for metrics and timestamps?

Yes, field extraction supports type casting alongside named captures in extract_regex, allowing you to pull and properly type timestamps, IDs, and metrics for observability and incident analysis.

What is the best way to correlate log data across large datasets?

The best way to correlate log data across large datasets is converting unstructured text into structured queryable fields using OPAL parsing, enabling reliable filtering and correlation.

Are there limitations when using regex extraction on complex log formats?

Regex extraction works best on consistent log patterns; if log formats vary significantly or contain highly irregular nested structures, combining extract_regex with parse_json and JSONPath yields more reliable structured data.