dt-obs-log-semantic-mapping
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesedt-obs-log-semantic-mapping
dt-obs-log-semantic-mapping
Build and validate semantic-dictionary-aligned mappings for audit log integrations.
构建并验证与语义字典对齐的审计日志集成映射。
Purpose
用途
Use this skill when a user wants to:
- Suggest a mapping from a raw vendor audit log payload to Dynatrace fields (Workflow A).
fetch logs - Validate a mapping against a pasted ingested log event (Workflow B1 — static).
- Validate against live tenant data via live tenant access (Workflow B2 — runtime: fetches logs by , then runs B1 on the result).
log.source
当用户需要以下操作时,可使用此技能:
- 建议从原始供应商审计日志负载到Dynatrace 字段的映射(工作流A)。
fetch logs - 验证粘贴的已摄入日志事件对应的映射(工作流B1 — 静态验证)。
- 验证通过实时租户访问获取的实时租户数据对应的映射(工作流B2 — 运行时验证:通过获取日志,然后对结果执行工作流B1)。
log.source
Log Classes
日志类别
| Class | Description | Key namespaces | Example sources |
|---|---|---|---|
| Login, logout, MFA, token | | CyberArk, Okta, Azure SignInLogs |
| Access decisions, permission changes | | CyberArk, Okta |
| CRUD on platform resources | | Okta, GitHub, Sonatype |
| HTTP request/response (WAF, network devices) | | Akamai SIEM, Cloudflare |
| 类别 | 描述 | 键命名空间 | 示例来源 |
|---|---|---|---|
| 登录、登出、多因素认证(MFA)、令牌 | | CyberArk, Okta, Azure SignInLogs |
| 访问决策、权限变更 | | CyberArk, Okta |
| 平台资源的增删改查(CRUD)操作 | | Okta, GitHub, Sonatype |
| HTTP请求/响应(Web应用防火墙、网络设备) | | Akamai SIEM, Cloudflare |
Workflows
工作流
| Mode | Input | Source |
|---|---|---|
| Workflow A — Suggest mapping | Raw vendor log payload | |
| Workflow B1 — Static validation | Pasted ingested log event | |
| Workflow B2 — Runtime validation | | |
| 模式 | 输入 | 来源 |
|---|---|---|
| 工作流A — 建议映射 | 原始供应商日志负载 | |
| 工作流B1 — 静态验证 | 粘贴的已摄入日志事件 | |
| 工作流B2 — 运行时验证 | | |
Key Concepts
核心概念
Content field burial: The primary validation concern. Fields in (the raw vendor payload) that could be promoted to top-level semantic attributes but are not. The skill always inventories buried vs promoted fields and proposes OpenPipeline extraction rules to fix gaps.
contentPrerequisite: When proposing OpenPipeline processor extraction rules, load theskill first. OpenPipeline processors use DQL functions (dt-dql-essentials,parse,fieldsAdd, etc.) — using non-DQL syntax produces invalid rules.splitString
Sparse mappings are valid: Integrations like GitHub or Sonatype may only populate core fields. Minimum required: , , , , , .
timestamplog.sourcecontentloglevelaudit.actionaudit.identity内容字段埋藏: 这是主要的验证关注点。(原始供应商负载)中可提升为顶级语义属性但未被提升的字段。本技能会始终清点已埋藏和已提升的字段,并提出OpenPipeline提取规则来填补差距。
content前置条件: 在提出OpenPipeline处理器提取规则前,需先加载技能。OpenPipeline处理器使用DQL函数(dt-dql-essentials、parse、fieldsAdd等)—— 使用非DQL语法会生成无效规则。splitString
稀疏映射是有效的: 像GitHub或Sonatype这类集成可能仅填充核心字段。最低必填字段:、、、、、。
timestamplog.sourcecontentloglevelaudit.actionaudit.identityReferences
参考资料
- — Log SD field taxonomy, audit namespace, enums, sample-derived patterns and known discrepancies
references/data-model-notes.md - — Intake checklist, Workflow A and B1 procedures, content field analysis, field priority order
references/mapping-workflow.md - — Required fields, content/enum/type rules, discrepancy severity
references/validation-rules.md - — OpenPipeline processor command/function/operator/matcher restrictions;
references/openpipeline-constraints.mdunavailability +parseJson→parsealternative; iterative operators for array castingfieldsFlatten - — Mapping table, diff table, OpenPipeline sketch, Validation Summary templates
references/report-format.md - — Workflow B2: fetch live records, then run B1
references/runtime-validation.md - — Mapped samples: CyberArk, Okta, Azure SignInLogs, Sonatype, GitHub
samples/audit-logs.json - — Mapped samples: Akamai SIEM (WAF/HTTP class)
samples/http-logs.json - Dynatrace Log Semantic Dictionary
- — 日志SD字段分类、审计命名空间、枚举、样本衍生模式及已知差异
references/data-model-notes.md - — 摄入检查清单、工作流A和B1流程、内容字段分析、字段优先级顺序
references/mapping-workflow.md - — 必填字段、内容/枚举/类型规则、差异严重程度
references/validation-rules.md - — OpenPipeline处理器命令/函数/运算符/匹配器限制;
references/openpipeline-constraints.md不可用的替代方案parseJson→parse;数组转换的迭代运算符fieldsFlatten - — 映射表、差异表、OpenPipeline草图、验证摘要模板
references/report-format.md - — 工作流B2:获取实时记录,然后执行工作流B1
references/runtime-validation.md - — 已映射样本:CyberArk、Okta、Azure SignInLogs、Sonatype、GitHub
samples/audit-logs.json - — 已映射样本:Akamai SIEM(WAF/HTTP类别)
samples/http-logs.json - Dynatrace 日志语义字典