splunk-spl2-pipeline-kit

Render and inspect reusable SPL2 pipeline templates for Cisco Data Fabric, Splunk Ingest Processors, and Edge Processors. Covers routing, masking, sampling, lookups, metrics, OCSF, decryption, aggregation, custom templates, SPL-to-SPL2 compatibility, and PCRE2 migration checks. Intended for writing, reviewing, or creating shared SPL2 templates for ingest and edge workflows.

Last repository push
GitHub Stars
212
Forks
664
Issues / PRs
21

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "splunk-spl2-pipeline-kit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7391d6afa10e945e57e02976cb34e541d40a117895dac9a6cd324e9c82fcf807. Verify the upstream source and version against https://github.com/Kilo-Org/kilo-marketplace before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Render and inspect reusable SPL2 pipeline templates for Cisco Data Fabric, Splunk Ingest Processors, and Edge Processors. Covers routing, masking, sampling, lookups, metrics, OCSF, decryption, aggregation, custom templates, SPL-to-SPL2 compatibility, and PCRE2 migration checks. Intended for writing, reviewing, or creating shared SPL2 templates for ingest and edge workflows.

0 Downloads

Introduction source: third_party · Kilo-Org · 0.0.1 Reference

SkillPi interpretation

Inputs and outputs
The default output directory is `splunk-spl2-pipeline-kit-rendered/`: `templates/<profile>/*.spl2` - route, branch, redact, sample, lookup, extract, timestamp, JSON/XML, OCSF, decrypt, metrics, stats, S3, and compatibility starters where supported. `custom-template-app/default/data/spl2/*.spl2` - SPL2 custom template module examples using `@template` and runtime profile metadata. `lint-report.json` and `lint-report.md`. `coverage-report.json`.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: splunk-spl2-pipeline-kit
description: >-
  Render and lint reusable SPL2 pipeline templates for Cisco Data Fabric, Splunk
  Ingest Processor, and Edge Processor, including routing, redaction, sampling,
  lookups, metrics, OCSF, decrypt, stats, custom templates, SPL-to-SPL2
  compatibility, and PCRE2 migration checks. Use when the user needs SPL2
  pipeline authoring, conversion review, compatibility linting, or shared
  templates for Ingest Processor or Edge Processor workflows, including Cisco
  Data Fabric or telemetry pipeline management requests that need reusable SPL2
  pipeline logic.
metadata:
  category: observability
  source:
    repository: 'https://github.com/chambear2809/splunk-cisco-skills'
    path: skills/splunk-spl2-pipeline-kit
    license_path: LICENSE
    commit: 99b2c778dbeaad84023765d24e1a13f414009f6a

Splunk SPL2 Pipeline Kit

This skill is the shared SPL2 authoring and validation surface for splunk-ingest-processor-setup and splunk-edge-processor-setup. It is offline-only: it renders starter SPL2, lints pipeline files, and reports profile compatibility issues without calling Splunk APIs.

For newer Cisco Data Fabric wording, this is the reusable SPL2 authoring route. Native Observability Metrics Pipeline Management remains a separate UI workflow covered by splunk-observability-deep-native-workflows.

Agent Behavior

  • Use ingestProcessor for Splunk-hosted Ingest Processor pipelines.
  • Use edgeProcessor for Edge Processor pipelines.
  • Keep real samples, private keys, HEC tokens, Observability tokens, and lookup contents out of chat and rendered files. Render placeholders and file-path handoffs only.
  • Treat SPL-to-SPL2 conversion as review assistance. Splunk's in-product conversion tool remains the authoritative conversion workflow.
  • Read reference.md before changing supported commands, templates, or lint rules.

Quick Start

Render every template and lint the rendered output:

bash skills/splunk-spl2-pipeline-kit/scripts/setup.sh --phase all --profile both

Lint a user-provided pipeline:

bash skills/splunk-spl2-pipeline-kit/scripts/setup.sh \
  --phase lint \
  --profile ingestProcessor \
  --pipeline-file pipelines/my_pipeline.spl2

Run the offline smoke test:

bash skills/splunk-spl2-pipeline-kit/scripts/smoke_offline.sh

Outputs

The default output directory is splunk-spl2-pipeline-kit-rendered/:

  • templates/<profile>/*.spl2 - route, branch, redact, sample, lookup, extract, timestamp, JSON/XML, OCSF, decrypt, metrics, stats, S3, and compatibility starters where supported.
  • custom-template-app/default/data/spl2/*.spl2 - SPL2 custom template module examples using @template and runtime profile metadata.
  • lint-report.json and lint-report.md.
  • coverage-report.json.

Guardrails

  • logs_to_metrics requires an import logs_to_metrics from /splunk.ingest.commands style import and is Ingest Processor-only.
  • decrypt is Ingest Processor-only and must be treated as a private-key lookup handoff. Do not render private-key material.
  • stats linting rejects avg() because Ingest Processor documents sum()/count() as the supported average pattern. Edge Processor stats is supported and includes newer state-window behavior on current EP versions.
  • object_to_array() is deprecated in SPL2 release notes; use json_entries().
  • Regex guidance is PCRE2-oriented. Prefer named captures like (?P<fieldName>...).
  • Edge Processor-only and Ingest Processor-only differences are reported in the lint output rather than hidden in comments.

Version history

  1. skills-20261103210927-6c1b454 GitHub ↗
    Original release notes

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    Original release notes

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    Original release notes

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    Original release notes

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    Original release notes

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向 Splunk SPL2 管道模板生成与校验的专业工具
  • 解决企业用户在 SPL2 迁移和管道标准化中的实际痛点
  • 支持思科数据织物、摄取处理器和边缘处理器多场景
Trigger Precision90/100

Highlights

  • 触发词覆盖完整,区分 ingestProcessor/edgeProcessor 两种 profile
  • 使用场景描述清晰,边界明确
Structure and Standards85/100

Areas to improve

  • 缺少显式的 Phase 划分和出口条件说明 Reported severity: Minor

    文档结构良好但缺少明确的阶段划分和执行出口条件说明

    Recommendation: 建议添加 Phase 划分和执行条件说明以提升可读性

Highlights

  • 结构完整,包含 Agent Behavior、Quick Start、Outputs、Guardrails 等关键章节
  • 提供具体使用示例和命令调用方式
Execution Reliability90/100

Areas to improve

  • 未明确说明离线模式下的依赖项 Reported severity: Minor

    未明确说明离线模式下的本地执行环境依赖项

    Recommendation: 建议补充离线模式下的依赖项说明

Highlights

  • 工具来源明确,指向 GitHub 仓库和具体 commit
  • 参数说明清晰,覆盖主要异常场景
  • 不可逆操作有确认机制,安全处理私钥材料
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.