You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/stanza/docs/operators/file_input.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@ The `file_input` operator reads logs from files. It will place the lines read in
19
19
|`include_file_name_resolved`|`false`| Whether to add the file name after symlinks resolution as the attribute `log.file.name_resolved`. |
20
20
|`include_file_path_resolved`|`false`| Whether to add the file path after symlinks resolution as the attribute `log.file.path_resolved`. |
21
21
|`include_file_owner_name`|`false`| Whether to add the file owner name as the attribute `log.file.owner.name`. Not supported for windows. |
22
-
|`include_file_owner_group_name`|`false`| Whether to add the file group name as the attribute `log.file.owner.group.name`. Not supported for windows. |
22
+
|`include_file_owner_group_name`|`false`| Whether to add the file group name as the attribute `log.file.owner.group.name`. Not supported for windows. |
23
+
|`include_file_line_number`|`false`| Whether to add the record's line number in the file as the attribute `log.file.line_number`. |
23
24
|`preserve_leading_whitespaces`|`false`| Whether to preserve leading whitespaces. |
24
25
|`preserve_trailing_whitespaces`|`false`| Whether to preserve trailing whitespaces. |
25
26
|`start_at`|`end`| At startup, where to start reading logs from the file. Options are `beginning` or `end`. This setting will be ignored if previously read file offsets are retrieved from a persistence mechanism. |
0 commit comments