Logo Splunk Connect For Otlp Setup

Splunk Connect For Otlp Setup

Cộng đồng
chambear2809
splunk-connect-for-otlp-setup

Use when the user asks to deploy the OTLP modular input, expose OTLP gRPC/HTTP listeners, configure OTel SDK or Collector senders to Splunk Platform, verify HEC token/index routing, or troubleshoot Splunk Connect for OTLP. Install, administer, validate, diagnose, repair, and render sender handoffs for Splunk Connect for OTLP (`splunk-connect-for-otlp`, Splunkbase app 8704).

Tổng quan

Nhà phát hànhchambear2809
Kho mãsplunk-cisco-skills
Tên kỹ năngsplunk-connect-for-otlp-setup
Sao
40
Bản fork
7
Tệp đi kèm
7
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được chambear2809 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Splunk Connect For Otlp Setup trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-connect-for-otlp-setup
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chambear2809/splunk-cisco-skills.git /tmp/splunk-cisco-skills
mkdir -p .claude/skills
cp -r /tmp/splunk-cisco-skills/skills/splunk-connect-for-otlp-setup .claude/skills/splunk-connect-for-otlp-setup
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Splunk Connect For Otlp Setup trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Splunk Connect For Otlp Setup ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Splunk Connect For Otlp Setup với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Splunk Connect for OTLP Setup

Prerequisites

Tool or accessPurposeVerify
Bash and Python 3Run bundled setup and validation helpersbash --version && python3 --version
Required product/platform accessInspect or configure the selected targetComplete the documented preflight
Credential files for live modesKeep secrets out of chatVerify paths only

Workflow Overview

text
┌───────────┐   ┌───────────────┐   ┌───────────────┐   ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘   └───────────────┘   └───────────────┘   └─────────────────┘

When to Activate

  • Deploy the OTLP modular input, expose OTLP gRPC/HTTP listeners, configure OTel SDK or Collector senders to Splunk Platform, verify HEC token/index routing, or troubleshoot Splunk Connect for OTLP.
  • Preview and review the splunk connect for otlp setup workflow before any live apply phase.
  • Diagnose failed prerequisites, generated assets, configuration, or validation evidence.

Scope

Follow the documented read-only or render-first path whenever it is available. This skill does not imply permission to mutate live systems. Require explicit apply flags, protected credentials, and operator review for state changes.

Examples

Inspect the supported setup modes before selecting one:

bash
bash skills/splunk-connect-for-otlp-setup/scripts/setup.sh --help

Expected output: usage, supported modes, and required arguments are displayed without changing the target environment.

Inspect validation modes before running completion checks:

bash
bash skills/splunk-connect-for-otlp-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.

Troubleshooting

IssueCauseResolution
Preflight failsA required tool or access path is missingResolve it before rendering or applying
Rendered assets are incompleteRequired non-secret inputs are absentComplete intake and render again
Apply is blockedReview, credentials, or explicit acceptance is missingUse the documented handoff
Validation is incompleteLive evidence is unavailableRecord the gap and keep completion open

Shared add-on completion gate

Whenever this workflow installs, configures, or hands off a registry-listed Splunk app or add-on, follow the shared completion gate. Package delivery alone is not success; capture applicable configuration, ingest/readiness, and shipped-view evidence, or explicit package evidence that no dashboards ship.

Use this skill for the full lifecycle of Splunk Connect for OTLP, the Splunk Platform modular input that accepts OTLP logs, metrics, and traces and emits HEC-shaped events through Splunk modular-input stdout.

Safety Rules

  • Never ask for HEC token values in chat.
  • Never pass token values as argv, URL query strings, or environment-variable prefixes.
  • Token creation and updates are delegated to splunk-hec-service-setup.
  • Use local token files for sender examples, for example:
bash
bash skills/shared/scripts/write_secret_file.sh /tmp/splunk_otlp_hec_token

Known Package Facts

The audited release is Splunkbase app 8704, package/app ID splunk-connect-for-otlp, version 0.4.1, compatible with Splunk 9.4 through 10.5.

That platform-version list is not Cloud install approval. The public release API reports cloud_compatible=false, install_method_single=rejected, and install_method_distributed=rejected. Do not install 8704 on a Victoria search tier through ACS. Splunk Cloud 10.5 can be the data destination while the receiver runs on a customer-managed heavy forwarder or an IDM placement explicitly approved and coordinated by Splunk Support.

The inspected package contains only conf/UI metadata plus platform binaries:

  • default/app.conf
  • default/inputs.conf
  • default/props.conf
  • default/data/ui/manager/splunk-connect-for-otlp.xml
  • metadata/default.meta
  • README/inputs.conf.spec
  • linux_x86_64/bin/splunk-connect-for-otlp
  • windows_x86_64/bin/splunk-connect-for-otlp

There is no dashboard, setup page, KV Store collection, saved search, custom REST handler, Python runtime, Darwin binary, or default bin/ executable.

Primary Workflow

  1. On a customer-managed Splunk Enterprise search tier or heavy forwarder, install or update the app through the shared installer:
bash
bash skills/splunk-connect-for-otlp-setup/scripts/setup.sh --install
  1. Prepare or verify a HEC token with splunk-hec-service-setup; keep the token value in a local file.

  2. Configure the modular input:

bash
bash skills/splunk-connect-for-otlp-setup/scripts/setup.sh \
  --configure-input \
  --input-name otlp-main \
  --index otlp_events \
  --grpc-port 4317 \
  --http-port 4318 \
  --listen-address 0.0.0.0 \
  --enable-ssl true \
  --server-cert /opt/splunk/etc/auth/otlp/server.pem \
  --server-key /opt/splunk/etc/auth/otlp/server.key

Receiver and sender TLS default to enabled. A non-loopback plaintext listener or sender is rejected unless the operator supplies --accept-insecure-plaintext-listener; reserve that exception for an isolated, short-lived lab.

  1. Render sender assets:
bash
bash skills/splunk-connect-for-otlp-setup/scripts/setup.sh \
  --render-sender-config \
  --receiver-host otlp-hf.example.com \
  --expected-index otlp_events \
  --hec-token-file /tmp/splunk_otlp_hec_token
  1. Validate the deployment:
bash
bash skills/splunk-connect-for-otlp-setup/scripts/validate.sh \
  --expected-index otlp_events \
  --input-name otlp-main
  1. Diagnose and render conservative repair guidance:
bash
bash skills/splunk-connect-for-otlp-setup/scripts/setup.sh --doctor

--repair returns nonzero when a requested fix can only render a HEC or sender handoff. Run the rendered handoff, validate the resulting state, and rerun the repair/validation workflow; a rendered packet is not reported as a completed live repair.

Cloud And Topology

Use the split-runtime model:

  • Splunk Cloud Victoria and Classic: do not ACS-install app 8704 on the managed search tier. The listing rejects both Cloud install methods.
  • Default to a customer-managed heavy forwarder with explicit firewall, load balancer, TLS, HEC allowed-index, and onward Splunk Cloud routing validation.
  • An IDM placement is valid only after Splunk Support explicitly approves and coordinates it; do not model that as self-service ACS installation.
  • The setup script refuses install, uninstall, input configuration, and repair mutations when the active credentials resolve to a managed Cloud profile. Read-only validation/doctor and sender/HEC handoff rendering remain safe.
  • The skill remains conditional for Cloud 10.5 because Cloud is a supported destination for events emitted by the customer-managed/approved receiver.

OTLP Sender Contract

  • gRPC receiver endpoint: host:4317
  • HTTP receiver endpoints:
    • http(s)://host:4318/v1/logs
    • http(s)://host:4318/v1/metrics
    • http(s)://host:4318/v1/traces
  • Auth header: Authorization: Splunk <HEC_TOKEN>
  • Attribute mapping:
    • com.splunk.index -> Splunk index
    • com.splunk.sourcetype -> Splunk sourcetype
    • com.splunk.source -> Splunk source
    • host.name -> Splunk host

The rendered telemetrygen helper intentionally exits nonzero because its OTLP header option would expose the HEC token in process arguments. Use the rendered Collector or SDK profile for an actionable, file-backed sender path.

Render explicit com.splunk.index sender configuration and smoke-test routing before claiming default-index behavior. The inspected 0.4.1 binary validates token allowed indexes but does not pass the HEC token default index into the exporter path.

Read reference.md for REST endpoints, repair IDs, package caveats, and sender configuration details.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Splunk Connect For Otlp Setup làm được gì?

Use when the user asks to deploy the OTLP modular input, expose OTLP gRPC/HTTP listeners, configure OTel SDK or Collector senders to Splunk Platform, verify HEC token/index routing, or troubleshoot Splunk Connect for OTLP. Install, administer, validate, diagnose, repair, and render sender handoffs for Splunk Connect for OTLP (`splunk-connect-for-otlp`, Splunkbase app 8704).

Vì sao nên dùng Splunk Connect For Otlp Setup trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Splunk Connect For Otlp Setup là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Splunk Connect For Otlp Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-connect-for-otlp-setup. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Splunk Connect For Otlp Setup?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Splunk Connect For Otlp Setup với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Splunk Connect For Otlp Setup với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Splunk Connect For Otlp Setup có miễn phí không?

Có. Kỹ năng này được chambear2809 phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇