get_log_charts
Retrieves log count distribution over time from a ClickHouse table, using start and end times and an optional SQL filter, to analyze log trends.
Instructions
Get log histogram data (log count distribution over time).
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": {
"table_id": "<table_id>",
"st": "<st>",
"et": "<et>"
},
"name": "get_log_charts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| et | Yes | End time (same formats as st) | |
| st | Yes | Start time (unix seconds, ISO 8601, or 'YYYY-MM-DD HH:MM:SS') | |
| query | No | Optional SQL WHERE condition | |
| table_id | Yes | Numeric table ID |