{"specversion":"1.0","id":"13a3f42d-7258-4ada-da6d-023a333b4662","source":"${ProductName}.cloud.tencent","type":"cvm:ErrorEvent:ping_unreachable","subject":"${resource ID}","time": 1615430559146,"region":"ap-guangzhou","resource":["qcs::eb:ap-guangzhou:uid1250000000:eventbusid/eventruleid"],"datacontenttype":"application/json;charset=utf-8","tags":{"key1":"value1","key2":"value2"},"status":"1","data":{"appId":"1250000011","instanceId":"ins-sjdksjk","projectId":"11","dimensions":{"ip":"127.0.0.1"},"additionalMsg":{"IP":"something unnormal"}}}
Field | Description | String |
specversion | Event structure version (CloudEvents version), which is 1.0.2. | String |
ID | ID returned by PUT Event . | String |
type | Type of the event passed in PUT Event . The standard format of a Tencent Cloud service alarm event is ${ProductName}:ErrorEvent:${EventType} , where colons (:) are used to separate type fields. | String |
source | Event source (which is required for a Tencent Cloud service event and is the abbreviation of subject ). The value is xxx.cloud.tencent by default for a Tencent Cloud service. | String |
subject | Event source details, which can be customized. QCS description such as qcs::dts:ap-guangzhou:appid/uin:xxx is used for a Tencent Cloud service by default. | String |
timer | Event time, which is a GMT+0 timestamp in milliseconds, such as 1615430559146 . | Timestamp |
datacontenttype | Data media type declaration. | String |
region | Region. | String |
status | Alert event status. Valid values: 1 (abnormal), 0 (resolved), and - (stateless). | String |
tags | Resource tags. | JSON |
data | Details of the event input through PUT Event , which are customizable based on the specific business. | JSON |
{"source":"cvm.cloud.tencent"}
{"source":"cvm.cloud.tencent","type":"cvm:ErrorEvent:PingUnreachable"}
subject
varies for different event sources. You can check the formats in the complete event delivered to CLS.{"source":"cvm.cloud.tencent","subject":"ins-xxxxxx"}
{"source":"cvm.cloud.tencent","subject":["ins-xxxxxx","ins-xxxxxx"]}
data
field, while other fields are fixed and cannot be customized.${ProductName} Alarm NotificationDear user,An alarm is triggered for Tencent Cloud ${ProductName} under your account (Account ID: ${1}; Name: ${2}). Check and resolve the issue in time.Alert event: ${EventType}Service: ${ProductName}Resource: ${Subject}Region: ${Region}Event occurrence time: ${Time}Event status: ${} (It can be `error`, `recovered`, or `stateless`)For more details, log in to the EventBridge console.
{"sessionId": "xxxxxxxxxxxxxxxx", // Event ID"alarmStatus": "1",//Event.Status"alarmType": "event",// The value is fixed, indicating an event alert"alarmObjInfo": {"region": "sh", // Event region"dimensions": { // Additional description of the resource, which is subjected to the related Tencent Cloud service (CVM here)"unInstanceId": "ins-xxxxx","objDetail": {"deviceLanIp": "xxxx","deviceWanIp": """uniqVpcId": "vpc-xxx"},"deviceName": "xxx"}},"alarmPolicyInfo": { // Alarm policy information, which is compatible with existing TCOP callbacks"policyName": "xxxx", // EventBridge event rule name"conditions": {"productName": "cvm", // Abbreviation of the related Tencent Cloud service"eventName": "guest_reboot", // Event type"alarmNotifyType": "", // It is left empty and is compatible with existing TCOP callbacks"alarmNotifyPeriod": "" // It is left empty and is compatible with existing TCOP callbacks}},"additionalMsg": [{ // Additional information of the event, which is determined by the event reporter (CVM here)"key": "alias","value": "xxxx"}, {"key": "deviceLanIp","value": "xxxx"}, {"key": "deviceWanIp","value": ""}, {"key": "uniqVpcId","value": ""}],"firstOccurTime": "2021-10-19 11:15:47", // Alerted time"durationTime": 0, // Duration"recoverTime": "0" // Recovery time}
Was this page helpful?