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: docs/operators/file_input.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ The `file_input` operator reads logs from files. It will place the lines read in
16
16
|`encoding`|`nop`| The encoding of the file being read. See the list of supported encodings below for available options |
17
17
|`include_file_name`|`true`| Whether to add the file name as the label `file_name`|
18
18
|`include_file_path`|`false`| Whether to add the file path as the label `file_path`|
19
+
|`include_file_name_resolved`|`false`| Whether to add the file name after symlinks resolution as the label `file_name_resolved`|
20
+
|`include_file_path_resolved`|`false`| Whether to add the file path after symlinks resolution as the label `file_path_resolved`|
19
21
|`start_at`|`end`| At startup, where to start reading logs from the file. Options are `beginning` or `end`|
20
22
|`fingerprint_size`|`1kb`| The number of bytes with which to identify a file. The first bytes in the file are used as the fingerprint. Decreasing this value at any point will cause existing fingerprints to forgotten, meaning that all files will be read from the beginning (one time). |
21
23
|`max_log_size`|`1MiB`| The maximum size of a log entry to read before failing. Protects against reading large amounts of data into memory |
0 commit comments