analyze_service_health
Aggregate logs to calculate error versus success rates for a service over a specified time period.
Instructions
Aggregate logs to determine error vs. success rates
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": {
"serviceName": "<serviceName>",
"hoursBack": "<hoursBack>",
"index": "<index>"
},
"name": "analyze_service_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Elasticsearch index pattern | |
| hoursBack | Yes | Number of hours to look back | |
| serviceName | Yes | Name of the service to analyze |