splunk-spl2-pipeline-kit

为思科数据织物、Splunk 摄取处理器和边缘处理器生成与检查可复用的 SPL2 管道模板,涵盖路由、脱敏、采样、查找、指标、OCSF、解密、统计、自定义模板、SPL 到 SPL2 兼容性及 PCRE2 迁移检查。适用于编写、审查或为摄取/边缘处理器工作流创建共享 SPL2 模板的场景。

仓库最近推送
GitHub Stars
212
Forks
664
Issues / PRs
21

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "splunk-spl2-pipeline-kit":https://skillpi.com/zh/skills/deepskill-7391d6afa10e945e57e02976cb34e541d40a117895dac9a6cd324e9c82fcf807。安装前核对上游来源和版本:https://github.com/Kilo-Org/kilo-marketplace。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

为思科数据织物、Splunk 摄取处理器和边缘处理器生成与检查可复用的 SPL2 管道模板,涵盖路由、脱敏、采样、查找、指标、OCSF、解密、统计、自定义模板、SPL 到 SPL2 兼容性及 PCRE2 迁移检查。适用于编写、审查或为摄取/边缘处理器工作流创建共享 SPL2 模板的场景。

0 下载

介绍来源: third_party · Kilo-Org · 0.0.1 参考来源

SkillPi 解读

输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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.

版本历史

  1. skills-20261103210927-6c1b454 GitHub ↗
    原版更新说明

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    原版更新说明

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    原版更新说明

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    原版更新说明

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    原版更新说明

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

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

亮点

  • 触发词覆盖完整,区分 ingestProcessor/edgeProcessor 两种 profile
  • 使用场景描述清晰,边界明确
结构规范85/100

待提升项

  • 缺少显式的 Phase 划分和出口条件说明 原报告严重程度:轻微

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

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

亮点

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

待提升项

  • 未明确说明离线模式下的依赖项 原报告严重程度:轻微

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

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

亮点

  • 工具来源明确,指向 GitHub 仓库和具体 commit
  • 参数说明清晰,覆盖主要异常场景
  • 不可逆操作有确认机制,安全处理私钥材料
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。