Quake Service Aggregation
quake_service_aggregationAggregate Quake service data by fields like country or service, with optional filters for IP lists and time ranges.
Instructions
Run Quake service aggregation query with /api/v3/aggregation/quake_service.
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": {
"query": "<query>",
"aggregation_list": "<aggregation_list>"
},
"name": "quake_service_aggregation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | Service data collection rule name for IP-list collections. | |
| size | No | Aggregation bucket count per field. | |
| query | Yes | Quake query, for example country:"China". | |
| latest | No | Whether to use latest data. | |
| ip_list | No | Comma-separated IP list. | |
| end_time | No | UTC end time, for example 2020-10-14 00:00:00. | |
| start_time | No | UTC start time, for example 2020-10-14 00:00:00. | |
| ignore_cache | No | Whether to ignore cached data. | |
| aggregation_list | Yes | One or two comma-separated aggregation fields, for example service or country,service. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||