Skip to content

Commit f58f355

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[observability_pipelines] Clarify Grok source description (DataDog#3941)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent ae89412 commit f58f355

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46179,7 +46179,7 @@ components:
4617946179
$ref: "#/components/schemas/ObservabilityPipelineParseGrokProcessorRuleMatchRule"
4618046180
type: array
4618146181
source:
46182-
description: The name of the field in the log event to apply the Grok rules to.
46182+
description: The value of the source field in log events to be processed by the Grok rules.
4618346183
example: "message"
4618446184
type: string
4618546185
support_rules:

api/datadogV2/model_observability_pipeline_parse_grok_processor_rule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type ObservabilityPipelineParseGrokProcessorRule struct {
1616
// A list of Grok parsing rules that define how to extract fields from the source field.
1717
// Each rule must contain a name and a valid Grok pattern.
1818
MatchRules []ObservabilityPipelineParseGrokProcessorRuleMatchRule `json:"match_rules"`
19-
// The name of the field in the log event to apply the Grok rules to.
19+
// The value of the source field in log events to be processed by the Grok rules.
2020
Source string `json:"source"`
2121
// A list of Grok helper rules that can be referenced by the parsing rules.
2222
SupportRules []ObservabilityPipelineParseGrokProcessorRuleSupportRule `json:"support_rules,omitempty"`

0 commit comments

Comments
 (0)