- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.webhooks.getStatistics
Get statistics for a given webhook.
HTTP request
Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the Webhook to get statistics for. Format: projects/{project}/locations/{location}/instances/{instance}/webhooks/{webhook}/statistics |
Request body
The request body must be empty.
Response body
Response message for WebhookStats.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "amountAlertsInLastDay": integer, "avgAlertsPerDay": integer } |
| Fields | |
|---|---|
amountAlertsInLastDay |
Required. Amount of alerts in last day coming from this webhook |
avgAlertsPerDay |
Required. Average alerts per day coming from this webhook |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
chronicle.webhooks.get
For more information, see the IAM documentation.