Torch Log Service
Parameter | Type | Required | Example value | Description |
Parameter | Type | Required | Example value | Description |
AlarmNotifyGroupId | String | Is | p**** | Alert notification group ID. |
AlarmNotifyGroupName | String | No | test-alarm-nofify | |
NotifyType | Array of String | No | ["Recovery", "Trigger"] | Types of alert notifications. Can be set to:
tip
|
Receivers | No | [ { "ReceiverType": "User", "ReceiverNames": ["******"], "ReceiverChannels": ["Sms"], "StartTime": "00:00:00", "EndTime": "23:59:59" } ] | List of IAM users who receive alerts. You can create 1 to 10 IAM users. tip
| |
NoticeRules | No | / | Alert notification group configuration tip
|
Parameter | Type | Required | Example value | Description |
Parameter | Type | Required | Example value | Description |
EndTime | String | Is | 23:59:59 | End time for receiving alert notifications. 24-hour format, with the format HH:mm:ss and a time range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime. |
StartTime | String | Is | 00:00:00 | The start time for receiving alarm notifications. Use the 24-hour time format: HH:mm:ss. The valid time range is 00:00:00–23:59:59. StartTime cannot be greater than EndTime. |
ReceiverType | String | Is | User | Receive object types. Can be set to:
|
ReceiverNames | Array of String | Is | ["Andy"] | IAM user or user group names. |
ReceiverChannels | Array of String | Is | ["Sms"] | Channels for receiving notifications. Supports configuring one or more channels. Can be set to:
tip
|
GeneralWebhookUrl | String | No | https://xxxx.feushu.com/xxxx | Custom interface callback address. |
GeneralWebhookBody | String | No | / | Customize a WebHook request body. It is recommended to set the request body content according to the format requirements of the callback interface for the corresponding service. |
AlarmWebhookAtUsers | Array of String | No | user1 | When configuring Webhook integration to send notifications to Feishu, DingTalk, or WeCom, specify the username to be notified. tip
|
AlarmWebhookIsAtAll | Boolean | No | true | When sending notifications to Feishu, DingTalk, or WeCom through Webhook integration configuration, should all users be notified? true: Remind everyone. false: Do not notify everyone. tip
|
AlarmWebhookAtGroups | Array of String | No | group1 | The name of the user group to be notified when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration configuration. tip When you configure parameters that start with AlarmWebhook, you have chosen to manage the Webhook address using Webhook integration. In this case, please leave parameters that start with GeneralWebhook blank; no configuration is required. |
GeneralWebhookMethod | String | No | POST | Custom interface callback methods can only be set to POST or PUT. |
GeneralWebhookHeaders | No | / | A custom request header for interface callbacks | |
AlarmContentTemplateId | String | No | al**** | Alarm content template ID. |
AlarmWebhookIntegrationId | String | No | 1f4a9e21**** | The ID of the alert Webhook integration configuration. tip When you have configured parameters that start with AlarmWebhook, it indicates that you have chosen to manage the Webhook address using the Webhook integration configuration method. In this case, please leave parameters that start with GeneralWebhook blank; no configuration is required. |
AlarmWebhookIntegrationName | String | No | test | Name of the alert Webhook integration configuration. tip When you configure parameters that start with AlarmWebhook, it means you have chosen to manage the Webhook address using the Webhook integration configuration method. In this case, please leave parameters that start with GeneralWebhook blank. No configuration is required. |
Parameter | Type | Required | Example value | Description |
Parameter | Type | Required | Example value | Description |
HasNext | Boolean | No | true | Conditional check for whether to proceed to the next layer. |
RuleNode | No | / | Rule nodes. | |
HasEndNode | Boolean | No | true | Is there an end node afterwards. |
ReceiverInfos | No | / | Notification channel information. |
Parameter | Type | Required | Example value | Description |
Parameter | Type | Required | Example value | Description |
key | String | No | Content-Type | Key of the custom request header. |
value | String | No | application/json | The Value of a custom request header. |
Parameter | Type | Required | Example value | Description |
Parameter | Type | Required | Example value | Description |
Type | String | No | Operation | The current node type. Optional values:
|
Value | Array of String | No | / | Node value. |
Children | No | [ "AND"] | Child node. |
HTTP status codes | Error codes | Error message | Description |
HTTP status codes | Error codes | Error message | Description |
400 | InvalidArgument | Invalid argument key %s, value %s, please check argument. | Invalid parameter. |
400 | AlarmNoticeUserNotExist | Alarm notice user %s not exist | Alert notification user does not exist. |
404 | AlarmNotifyGroupNotExist | AlarmNotify Group does not exist. | The alert notification group does not exist. |
409 | NotifyGroupAlreadyExist | Notify group already exist | The alert notification group already exists. |
500 | InternalServerError | We encountered an unexpected server error . Please try again later. | Internal server error. |