Torch Log Service
Name | Type | Required | Description |
Name | Type | Required | Description |
field | String | Yes | Field name to be processed by the LogCollector plugin. |
delimiter | String | Yes | Separator Enter the correct separator based on the log format to ensure each segment can be accurately extracted. Notice
|
quote | String | No | Quotation marks. Content wrapped by quotation marks will not be separated by the separator, but will be parsed as a complete field. Notice
|
keys | Array of String | Yes | The field name (key) for the subfields parsed from the field specified. The order of each key should correspond one-to-one with the parsed fields, and the quantity must match. Otherwise, the LogCollector plugin configuration fails to execute. Notice Keys must not be duplicated or left blank. |
when | Object | No | The plugin execution condition. This plugin is executed only when the condition is evaluated as true. For more details, see Plugin execution conditions. |
trim_values.mode | String | No | The trim_values specifies whether to remove strings from both ends of the value string, with the mode parameter defining the removal method.
|
trim_values.chars | String | No | The trim_values is used to specify whether to remove characters from both ends of the value. The chars parameter defines the range of characters to be removed. By default, it is double quotation mark ("). |
allow_empty_values | Boolean | No | If a specified field value contains a subfield with an empty value after parsing, this parameter determines whether to keep this key-value pair.
|
allow_overwrite_keys | Boolean | No | If the key specified in keys duplicates an existing key in the collection configuration, this parameter determines whether to overwrite the field corresponding to the existing key.
|
Name | Type | Required | Dscription |
Name | Type | Required | Dscription |
field | String | Yes | Field name to be processed by the LogCollector plugin. |
pattern | String | Yes | Each capture group in a regular expression corresponds to one parsed value. |
keys | Array of String | Yes | The field name (key) for the subfields parsed from the field specified. The order of each key should correspond one-to-one with the parsed fields. Notice Keys must not be duplicated or left blank. |
when | Object | No | The plugin execution condition. This plugin is executed only when the condition is evaluated as true. For more details, see Plugin execution conditions. |
trim_values.mode | String | No | The trim_values specifies whether to remove strings from both ends of the value string, with the mode parameter defining the removal method.
|
trim_values.chars | String | No | The trim_values is used to specify whether to remove characters from both ends of the value. The chars parameter defines the range of characters to be removed. By default, it is double quotation mark ("). |
allow_empty_values | boolean | No | If a specified field value contains a subfield with an empty value after parsing, this parameter determines whether to keep this key-value pair.
|
allow_overwrite_keys | boolean | No | If the key specified in keys duplicates an existing key in the collection configuration, this parameter determines whether to overwrite the field corresponding to the existing key.
|
Name | Type | Required | Dscription |
Name | Type | Required | Dscription |
field | String | Yes | Field name to be processed by the LogCollector plugin. |
when | Object | No | The plugin execution condition. This plugin is executed only when the condition is evaluated as true. For more details, see Plugin execution conditions. |
split_pattern | string | No | The separator between key-value pairs. If this parameter is not specified, the separator is a space. |
quote | String | No | Quotation marks. Content wrapped by quotation marks will not be separated by the separator, but will be parsed as a complete field. Notice
|
kv_split_pattern | string | No | The separator between the key and value in each key-value pair. If this parameter is not specified, the separator defaults to equals sign (=). |
trim_keys.mode | string | No | The trim_keys specifies whether to remove characters from both ends of the key. The mode parameter defines the removal method.
|
trim_keys.chars | string | No | The trim_keys mode specifies whether to remove characters from both ends of the key; the chars parameter defines the range of characters to be removed. By default, it is double quotation mark ("). |
trim_values.mode | String | No | The trim_values is used to specify whether to remove characters from both ends of the value; the mode parameter determines the removal method.
|
trim_values.chars | String | No | The trim_values specifies whether to remove strings from both ends of the value string; the chars parameter defines the range of characters to remove. By default, it is double quotation mark ("). |
allow_empty_values | boolean | No | If a specified field value contains a subfield with an empty value after parsing, this parameter determines whether to keep this key-value pair.
|
allow_overwrite_keys | boolean | No | If the key specified in keys duplicates an existing key in the collection configuration, this parameter determines whether to overwrite the field corresponding to the existing key.
|