get_analytics
Retrieve security analytics data from Fastly's Next-Gen WAF, including top attacks and timeseries metrics, to monitor and analyze web application threats.
Instructions
Get analytics data (top attacks, timeseries, etc.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>"
},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| corpName | No | Corporation name (uses context default if not provided) | |
| siteName | No | Site name (uses context default if not provided) | |
| type | Yes | Analytics type | |
| from | No | Unix timestamp start | |
| until | No | Unix timestamp end | |
| groupBy | No | Group by field (for top attacks) | |
| tags | No | Filter by tags (for timeseries) | |
| rollup | No | Rollup interval in seconds (for timeseries) | |
| limit | No | Maximum results |