VMware Aria Operations for Logs Webhook 的格式取決於其建立來源的查詢類型。系統通知、使用者警示訊息查詢和產生自彙總使用者查詢的警示各有不同的 Webhook 格式。

備註: 若要配置 VMware Aria Operations for Logs,以傳送系統通知,您必須是與「超級管理員」角色或具有相關權限的角色相關聯的使用者。如需詳細資訊,請參閱 建立和修改角色

系統通知的 Webhook 格式

下列範例顯示系統通知的 VMware Aria Operations for Logs Webhook 格式。
	
{
   "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":[]
      }
   ]
}