Torch Log Service
Parameter | Type | Required | Example value | Description |
Parameter | Type | Required | Example value | Description |
AlarmNotifyGroupName | String | No | group1 | Alert notification group name. |
AlarmNotifyGroupId | String | No | a***** | Alert notification group ID. |
ReceiverName | String | No | zhangsan | IAM user name for receiving alerts. |
IamProjectName | String | No | default | Filter by the IAM project name associated with the alert group. Exact match. |
PageNumber | Integer | No | 1 | The page number for paginated queries. The default value is 1, which means that data is returned starting from the first page. |
PageSize | Integer | No | 20 | Page size. The default is 20, and the maximum is 100. |
Parameter | Type | Example value | Description |
Parameter | Type | Example value | Description |
AlarmNotifyGroups | [ { "AlarmNotifyGroupName": "test1", "AlarmNotifyGroupId": "6ef************", "NotifyType": [ "Recovery", "Trigger" ], "Receivers": [ { "ReceiverType": "User", "ReceiverNames": [ "******" ], "ReceiverChannels": [ "Sms" ], "StartTime": "00:00:00", "EndTime": "23:59:59" } ], "IamProjectName": "default", "CreateTime": "2022-04-21 07:31:09", "ModifyTime": "2022-04-21 07:31:09" } ] | List of alarm notification groups. | |
Total | Integer | 1 | Total number of alert notification groups that meet the criteria. |
Parameter | Type | Example value | Description |
Parameter | Type | Example value | Description |
Receivers | / | The list of IAM users who receive alerts. You can configure 1 to 10 IAM users. | |
CreateTime | String | 2024-07-23 11:41:29 | The creation time of the alert notification group. |
ModifyTime | String | 2024-07-23 11:41:32 | The time when the alert notification group was modified. |
NotifyType | Array of String | Trigger | Types of alert notifications. Optional values: select one or more:
|
IamProjectName | String | default | The IAM project to which the alert group belongs. |
AlarmNotifyGroupId | String | t**** | Alert notification group ID. |
AlarmNotifyGroupName | String | test-alarm-nofify | The alert notification group name |
NoticeRules | / | Notification group rules. |
Parameter | Type | Example value | Description |
Parameter | Type | Example value | Description |
EndTime | String | 23:59:59 | End time for receiving alert notifications. 24-hour format: HH:mm:ss, time range: 00:00:00–23:59:59. StartTime cannot be greater than EndTime. |
StartTime | String | 00:00:00 | The start time for receiving alarm notifications. 24-hour format, in the format HH:mm:ss, with a time range of 00:00:00 to 23:59:59. StartTime cannot be greater than EndTime. |
ReceiverType | String | User | Recipient type. Can be set to:
|
ReceiverNames | Array of String | ["Andy"] | IAM user or user group name. |
ReceiverChannels | Array of String | ["Sms"] | Notification channels.
|
GeneralWebhookUrl | String | https://xxxx.feushu.com/xxxx | A custom interface callback address |
GeneralWebhookBody | String | / | Custom WebHook request bodies 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 | user1 | Username to be notified when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration configuration tip
|
AlarmWebhookIsAtAll | Boolean | true | When configuring Webhook integration to send notifications to Feishu, DingTalk, or WeCom, should all users be notified? true: Remind everyone. false: Does not notify everyone. tip
|
AlarmWebhookAtGroups | Array of String | group1 | When configuring Webhook integration to send notifications to Feishu, DingTalk, or WeCom, you need to specify the name of the user group to be notified. tip When you have configured parameters that start with AlarmWebhook, this means you are managing the Webhook address by using Webhook integration configuration. In this case, please leave parameters that start with GeneralWebhook blank; no configuration is required. |
GeneralWebhookMethod | String | POST | Custom interface callback methods can only be set to POST or PUT. |
GeneralWebhookHeaders | / | Custom interface callback request headers | |
AlarmContentTemplateId | String | al**** | Alarm content template ID. |
AlarmWebhookIntegrationId | String | 1f4a9e21**** | ID of the alert webhook integration configuration. tip When you configure parameters starting with AlarmWebhook, this means you are using the Webhook integration configuration method to manage the Webhook address. In this case, please leave parameters starting with GeneralWebhook blank; no configuration is required. |
AlarmWebhookIntegrationName | String | test | The name of the alert Webhook integration configuration. tip When you configure 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. |
Parameter | Type | Example value | Description |
Parameter | Type | Example value | Description |
Parameter | Type | Example value | Description |
key | String | Content-Type | Key for a custom request header. |
value | String | application/json | Value of the custom request header. |
Parameter | Type | Example value | Description |
Parameter | Type | Example value | Description |
Type | String | Operation | Current node type. Optional values:
|
Value | Array of String | / | Node value. |
Children | [ "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. |
500 | InternalServerError | We encountered an unexpected server error . Please try again later. | Internal server error. |