Torch Log Service
Name | Type | Required | Description |
Name | Type | Required | Description |
field | String | Yes | Name of the field to be replaced. Field names must be unique and non-empty, and can not contain periods (.). |
type | String | Yes | Log replacement methods Supported settings:
|
pattern | String | Yes | Log content matching pattern. When there is one or more matches of the pattern in the original field, all of them will be replaced by the value corresponding to the replacement.
|
replacement | String | Yes | A string used to replace specified log content. |
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. |
ignore_missing | Boolean | No | This parameter determines whether to ignore fields that do not exist.
|