messages_histogram
Count log messages per hour, day or week, to see when errors started, spiked or stopped. Empty buckets are included with a count of 0. Use messages_count for a single total.
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": {
"logId": "<logId>"
},
"name": "messages_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Search to this date (default now). | |
| from | No | Search from this date (default is the start of the organization's retention period). | |
| logId | Yes | The ID (Guid) of the log. | |
| query | No | Full-text or Lucene query, e.g. statusCode:500 && url:*\/api\/*. Searchable fields are listed in the server instructions. | |
| hidden | No | Include hidden messages (default false). | |
| interval | No | Bucket size: hour|day|week. Default is chosen from the date range (hour up to 2 days, day up to 100 days, otherwise week). At most 200 buckets are returned. | |
| severity | No | Optional severity filter. |