Skip to content

Commit 26565dc

Browse files
vtintillierKarstenSchnitter
authored andcommitted
Fix typo in fields documentation
1 parent b9a0dda commit 26565dc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cf-java-logging-support-core/beats/app-logs/docs/fields.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,16 +498,16 @@ type: object
498498

499499
example: "#cf": {
500500
"string": [
501-
{"l":"some_label", "v":"some_value", "i": 0},
502-
{"l":"other_label", "v":"other_value", "i": 1}
501+
{"k":"some_key", "v":"some_value", "i": 0},
502+
{"k":"other_key", "v":"other_value", "i": 1}
503503
]
504504
}
505505

506506

507507
required: False
508508

509509
An object containing collections of non-standard fields.
510-
The field "string" contains custom fields with label "l", value "v" and an index "i".
510+
The field "string" contains custom fields with key "k", value "v" and an index "i".
511511
The index can be used for field order during parsing.
512512

513513
NOTE: As this is "custom" there are no predefined fields here!

cf-java-logging-support-core/beats/app-logs/etc/fields.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,13 @@ app-logs:
348348
example: |
349349
"#cf": {
350350
"string": [
351-
{"l":"some_label", "v":"some_value", "i": 0},
352-
{"l":"other_label", "v":"other_value", "i": 1}
351+
{"k":"some_key", "v":"some_value", "i": 0},
352+
{"k":"other_key", "v":"other_value", "i": 1}
353353
]
354354
}
355355
description: |
356356
An object containing collections of non-standard fields.
357-
The field "string" contains custom fields with label "l", value "v" and an index "i".
357+
The field "string" contains custom fields with key "k", value "v" and an index "i".
358358
The index can be used for field order during parsing.
359359
360360
NOTE: As this is "custom" there are no predefined fields here!

0 commit comments

Comments
 (0)