Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions content/en/api/v2/observability-pipelines/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"data": {
"attributes": {
"config": {
"destinations": [
{
"id": "datadog-logs-destination",
"inputs": [
"my-processor-group"
],
"type": "datadog_logs"
}
],
"processor_groups": [
{
"enabled": true,
"id": "my-processor-group",
"include": "service:my-service",
"inputs": [
"datadog-agent-source"
],
"processors": [
{
"enabled": true,
"id": "ocsf-mapper-processor",
"include": "service:my-service",
"type": "ocsf_mapper",
"keep_unmatched": true,
"mappings": [
{
"include": "source:cloudtrail",
"mapping": "CloudTrail Account Change"
}
]
}
]
}
],
"sources": [
{
"id": "datadog-agent-source",
"type": "datadog_agent"
}
]
},
"name": "OCSF Mapper Keep Unmatched Pipeline"
},
"type": "pipelines"
}
}
5 changes: 5 additions & 0 deletions data/api/v2/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,11 @@
"suffix": "_3024756866",
"description": "Validate an observability pipeline with OCSF mapper custom mapping returns \"OK\" response"
},
{
"group": "observability_pipelines",
"suffix": "_3067748504",
"description": "Validate an observability pipeline with OCSF mapper keep_unmatched returns \"OK\" response"
},
{
"group": "observability_pipelines",
"suffix": "_3565101276",
Expand Down
5 changes: 5 additions & 0 deletions data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44878,6 +44878,11 @@ components:
targets.
example: service:my-service
type: string
keep_unmatched:
description: Whether to keep an event that does not match any of the mapping
filters.
example: false
type: boolean
mappings:
description: A list of mapping rules to convert events to the OCSF format.
items:
Expand Down
Loading