Skip to content

Commit 8d65118

Browse files
authored
Add note about 'Reserve_Data True' in parsing example
1 parent 44dbfbf commit 8d65118

File tree

1 file changed

+2
-0
lines changed
  • examples/fluent-bit/parse-common-log-formats

1 file changed

+2
-0
lines changed

examples/fluent-bit/parse-common-log-formats/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ Service Section in external Fluent Bit config file:
4343
[SERVICE]
4444
Parsers_File /fluent-bit/parsers/custom_parser.conf
4545
```
46+
47+
One final note, if you do not specify `Reserve_Data True`, then the ECS Log metadata fields will be removed from your log events. This is because without that field, Fluent Bit will produce a final log event which consists solely of the JSON that resulted from parsing the `log` key (which contains the actual log line from your application container).

0 commit comments

Comments
 (0)