Torch Log Service
Name | Type | Required | Description |
Name | Type | Required | Description |
field | String | Yes | Name of the field to be parsed. |
format | String | Yes |
|
time_zone | String | No | Configure the time zone. The default time zone is the same as the server where LogCollector is located, and both GMT and UTC are supported. For example: GMT+08:00, Asia/Shanghai. |
extract_regex | String | No | Regular expression for extracting time. If you only need to parse part of the time from a field, you can use a regular expression to extract it. |
enable_nanosecond | Boolean | No | This parameter determines whether to enable high-precision time. When enabled, the parsed log time is accurate to nanosecond. By default, log time has millisecond precision. |
set_year | String | No | If the log timestamp is missing the year information, you can add the year information to the log time via this parameter.
|