lts__ListLogHistogram
Queries keyword match counts in Huawei Cloud LTS logs across a specified time range and returns histogram data for trend analysis by log group and stream.
Instructions
[LTS] 查询关键词搜索条数
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": {
"end_time": "<end_time>",
"group_id": "<group_id>",
"key_word": "<key_word>",
"project_id": "<project_id>",
"start_time": "<start_time>",
"step_interval": "<step_interval>",
"stream_id": "<stream_id>"
},
"name": "lts__ListLogHistogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | Yes | 结束时间 | |
| group_id | Yes | 日志组ID | |
| key_word | Yes | 关键词 | |
| stream_id | Yes | 日志流ID | |
| project_id | Yes | 项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。 | |
| start_time | Yes | 开始时间 | |
| is_iterative | No | 日志迭代查询,默认为false(不开启迭代),true为开启迭代。 | |
| step_interval | Yes | 步长间隔 |