Skip to content

Commit a9cfa21

Browse files
committed
update PR num and update file_input readme
1 parent b1bb218 commit a9cfa21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.chloggen/add_include_file_line_number.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ component: filelogreceiver
1010
note: If include_file_line_number is true, it will add the record's file line number as the attribute `log.file.line_number`
1111

1212
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13-
issues: [PR_NUM_TBD]
13+
issues: [33530]
1414

1515
# (Optional) One or more lines of additional information to render under the primary note.
1616
# These lines will be padded with 2 spaces and then inserted directly into the document.

pkg/stanza/docs/operators/file_input.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ The `file_input` operator reads logs from files. It will place the lines read in
1919
| `include_file_name_resolved` | `false` | Whether to add the file name after symlinks resolution as the attribute `log.file.name_resolved`. |
2020
| `include_file_path_resolved` | `false` | Whether to add the file path after symlinks resolution as the attribute `log.file.path_resolved`. |
2121
| `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`. |
2324
| `preserve_leading_whitespaces` | `false` | Whether to preserve leading whitespaces. |
2425
| `preserve_trailing_whitespaces` | `false` | Whether to preserve trailing whitespaces. |
2526
| `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

Comments
 (0)