云数据库 TAURUSDB-查询慢日志:请求示例

时间:2024-12-11 17:00:06

请求示例

获取内核慢日志信息。

POST https://{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/86fd60a5256a4592b957e8e6bb2d1b59in07/clickhouse/slow-logs

{
  "node_id" : "aeb9e81135b34197bab8636fc8a1c569no16",
  "start_time" : "2023-12-12T00:14:27+0100",
  "end_time" : "2023-12-12T02:14:27+0100",
  "limit" : "10",
  "line_num" : "1669344916000",
  "operate_type" : "All",
  "database" : "DBS_NODE"
}
support.huaweicloud.com/api-gaussdbformysql/ShowClickHouseSlowLogDetail.html