VMware Aria Operations for LogsWebhook 的格式取决于创建它的查询类型。系统通知、用户警示消息查询,以及从聚合用户查询生成的警示每个都有不同的 Webhook 格式。

注: 要配置 VMware Aria Operations for Logs 以发送系统通知,您必须是与超级管理员角色或具有相应权限的角色相关联的用户。有关详细信息,请参见 创建和修改角色

系统通知的 Webhook 格式

以下示例显示了系统通知的 VMware Aria Operations for LogsWebhook 格式。
	
{
   "AlertName":" Admin Alert: Worker node has returned to service  (Host = 127.0.0.2)",
   "messages":[
      {
         "text":"This notification was generated from Operations for Logs node (Host = 127.0.0.2,  
	Node Identifier = a31cad22-65c2-4131-8e6c-27790892a1f9).
	A worker node has returned to service after having been in maintenance mode. 
	The Operations for Logs primary node reports that worker node has finished maintenance 
	and exited maintenance mode. The node will resume receiving configuration changes and 
	serving queries. The node is also now ready to start receiving incoming log messages."

         "timestamp":1458665320514,"fields":[]
      }
   ]
}