Platform | Metrics | Logs | Traces |
---|---|---|---|
Linux | ✓ | ||
Windows | ✓ | ||
macOS | ✓ |
Parameter | Type | Default | Description |
---|---|---|---|
file_path | strings |
File or directory paths to tail for logs. | |
exclude_file_log_path | strings |
File or directory paths to exclude. | |
delimiter | enum |
tab | Delimiter character used between the fields of the W3C log line. Valid values include: tab , space . |
encoding | enum |
utf-8 | The encoding of the file being read. Valid values include: nop , utf-8 , utf-16le , utf-16be , ascii , big5 . |
header_delimiter | enum |
default | Delimiter character used between fields in the W3C Field header. The value of the “Delimiter” parameter is used by default. Valid values include: tab , space , default . |
include_file_name_attribute | bool |
true | Whether to add the file name as the attribute “log.file.name”. |
include_file_path_attribute | bool |
false | Whether to add the file path as the attribute “log.file.path”. |
include_file_name_resolved_attribute | bool |
false | Whether to add the file name after symlinks resolution as the attribute “log.file.name_resolved”. |
include_file_path_resolved_attribute | bool |
false | Whether to add the file path after symlinks resolution as the attribute “log.file.path_resolved”. |