input-configurations

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

input-configurations

输入配置

When to use

使用场景

Load this skill whenever tasks include:
  • building, modifying, or reviewing
    agent/stream/*.yml.hbs
    templates for non-CEL input types
  • configuring request, response, pagination, cursor, or authentication blocks in HTTPJSON templates
  • wiring up cloud storage inputs (AWS S3, GCS, Azure Blob, Azure EventHub)
  • setting up network inputs (TCP, UDP, HTTP Endpoint, WebSocket)
  • configuring file-based inputs (Filestream, Logfile, Journald, Winlog)
当任务包含以下内容时,加载此技能:
  • 构建、修改或审核非CEL输入类型的
    agent/stream/*.yml.hbs
    模板
  • 在HTTPJSON模板中配置请求、响应、分页、游标或认证块
  • 配置云存储输入(AWS S3、GCS、Azure Blob、Azure EventHub)
  • 设置网络输入(TCP、UDP、HTTP Endpoint、WebSocket)
  • 配置基于文件的输入(Filestream、Logfile、Journald、Winlog)

When not to use

不适用场景

Do not use this skill as the primary guide for:
  • CEL program development (
    cel-programs
    ) -- CEL templates have their own structure, state model, and mito workflow
  • ingest pipeline processor design (
    ingest-pipelines
    )
  • field mappings and ECS compliance (
    ecs-field-mappings
    )
请勿将此技能作为以下内容的主要指南:
  • CEL程序开发(
    cel-programs
    )——CEL模板有其自身的结构、状态模型和mito工作流
  • 摄入管道处理器设计(
    ingest-pipelines
  • 字段映射与ECS合规性(
    ecs-field-mappings

Mandatory first read

必读前置文档

Always load
references/common-input-patterns.md
first.
It covers patterns that apply to every input type (tags, processors passthrough, variable conventions,
forwarded
/
publisher_pipeline.disable_host
coupling). These patterns are prerequisites for all type-specific guides.
请始终先加载
references/common-input-patterns.md
。它涵盖了适用于所有输入类型的模式(标签、处理器传递、变量约定、
forwarded
/
publisher_pipeline.disable_host
关联)。这些模式是所有特定类型指南的先决条件。

Type routing table

类型路由表

Detect the input type from the filename pattern in
agent/stream/
or from the data stream manifest
input:
field, then load the matching guide.
Input typeFilename patternGuide
HTTPJSON
httpjson.yml.hbs
references/httpjson-guide.md
AWS S3
aws-s3.yml.hbs
references/aws-s3-guide.md
CloudWatch
aws-cloudwatch.yml.hbs
references/aws-cloudwatch-guide.md
Azure Blob Storage
azure-blob-storage.yml.hbs
references/azure-blob-guide.md
Azure Event Hub
azure-eventhub.yml.hbs
references/azure-eventhub-guide.md
GCS
gcs.yml.hbs
references/gcs-guide.md
GCP Pub/Sub
gcp-pubsub.yml.hbs
references/gcp-pubsub-guide.md
TCP
tcp.yml.hbs
references/tcp-guide.md
UDP
udp.yml.hbs
references/udp-guide.md
HTTP Endpoint
http_endpoint.yml.hbs
references/http-endpoint-guide.md
Filestream
filestream.yml.hbs
references/filestream-guide.md
Logfile
log.yml.hbs
references/logfile-guide.md
Journald
journald.yml.hbs
references/journald-guide.md
Winlog
winlog.yml.hbs
references/winlog-guide.md
WebSocket
websocket.yml.hbs
references/websocket-guide.md
Load only the guide for the detected input type, not all guides.
agent/stream/
中的文件名模式或数据流清单的
input:
字段检测输入类型,然后加载匹配的指南。
输入类型文件名模式指南
HTTPJSON
httpjson.yml.hbs
references/httpjson-guide.md
AWS S3
aws-s3.yml.hbs
references/aws-s3-guide.md
CloudWatch
aws-cloudwatch.yml.hbs
references/aws-cloudwatch-guide.md
Azure Blob Storage
azure-blob-storage.yml.hbs
references/azure-blob-guide.md
Azure Event Hub
azure-eventhub.yml.hbs
references/azure-eventhub-guide.md
GCS
gcs.yml.hbs
references/gcs-guide.md
GCP Pub/Sub
gcp-pubsub.yml.hbs
references/gcp-pubsub-guide.md
TCP
tcp.yml.hbs
references/tcp-guide.md
UDP
udp.yml.hbs
references/udp-guide.md
HTTP Endpoint
http_endpoint.yml.hbs
references/http-endpoint-guide.md
Filestream
filestream.yml.hbs
references/filestream-guide.md
Logfile
log.yml.hbs
references/logfile-guide.md
Journald
journald.yml.hbs
references/journald-guide.md
Winlog
winlog.yml.hbs
references/winlog-guide.md
WebSocket
websocket.yml.hbs
references/websocket-guide.md
仅加载检测到的输入类型对应的指南,而非所有指南。

Handoff

移交说明

  • For CEL programs (
    cel.yml.hbs
    ), hand off to the
    cel-programs
    skill.
  • For pipeline issues discovered while reviewing input templates, hand off to the
    ingest-pipelines
    skill.
  • For field mapping issues found in template variable wiring, hand off to the
    ecs-field-mappings
    skill.
  • 对于CEL程序
    cel.yml.hbs
    ),移交至
    cel-programs
    技能。
  • 对于审核输入模板时发现的管道问题,移交至
    ingest-pipelines
    技能。
  • 对于模板变量关联中发现的字段映射问题,移交至
    ecs-field-mappings
    技能。

References

参考文档

  • references/common-input-patterns.md
    -- tags, processors passthrough, variable conventions, review flags (applies to ALL input types)
  • references/httpjson-guide.md
    -- HTTPJSON template syntax, structure, validation rules, pagination patterns, authentication, cursor persistence
  • references/common-input-patterns.md
    —— 标签、处理器传递、变量约定、审核标记(适用于所有输入类型)
  • references/httpjson-guide.md
    —— HTTPJSON模板语法、结构、验证规则、分页模式、认证、游标持久化