Top Locations
top_locationsTop locations by a metric. metric=http_requests returns countries by share of HTTP traffic; metric=dns_queries by DNS; metric=attacks by attack origin. Returns ranked list with share percentages.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 10,
"metric": "http_requests"
},
"name": "top_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 1-100 (default 10) | |
| metric | No | http_requests | dns_queries | attacks (default http_requests) | |
| date_range | No | Lookback window (default 28d) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | Metric type (http_requests, dns_queries, attacks) | |
| locations | Yes | Ranked list of top locations | |
| date_range | Yes | Lookback window applied |