获取配置下发日志

最近更新时间: 2026-09-17 00:05:47

1. 接口描述

接口请求域名: tbdsnew.api3.fincloud.tencent.cn。

获取配置下发日志记录

默认接口请求频率限制:20次/秒。

接口更新时间:2025-09-11 19:57:29。

接口既验签名又鉴权。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数

参数名称 必选 允许NULL 类型 描述
Action String 公共参数,本接口取值:ListConfLogs
Version String 公共参数,本接口取值:2019-01-03
Region String 公共参数,地域信息可通过DescribeRegions接口查看产品支持的地域列表
InstanceId String 实例ID
示例值: tbds-664nmwbe
Offset Int64 页编号,默认值为0,表示第一页
示例值: 0
Limit Int64 每页返回数量,默认值为10,最大值为100
示例值: 10
ServiceName String 服务名称
示例值: HDFS
ConfLogType String 维度范围,0:集群维度  1:节点维度
示例值: 1
ConfFileName String 配置文件
示例值:
ConfGroupId Int64 配置组ID
示例值: 1
DisplayStrategy String 展示策略,默认为空,容器化版传 "native"
示例值: 1

3. 输出参数

参数名称 类型 描述
TotalCnt Int64 配置下发记录总数
示例值: 1
LogList Array of ConfSubmissionLog 配置下发记录列表
注意:此字段可能返回 null,表示取不到有效值。
示例值:查看
ConfFilters ConfFilterBase 筛选器列表
注意:此字段可能返回 null,表示取不到有效值。
示例值:查看
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码

错误码 描述
InternalError.WoodServerError 内部服务调用异常。
FailedOperation 操作失败。
ResourceNotFound.InstanceNotFound 无法找到该实例。
InternalError 内部错误。
InternalError.CamCgwError 内部服务调用异常。

5. 示例

示例1 获取配置下发日志

输入示例

POST / HTTP/1.1
Host: tbdsnew.api3.{conf.main_domain}
Content-Type: application/json
X-TC-Action: ListConfLogs
<公共请求参数>

{
  "Offset": 0,
  "Limit": 10,
  "InstanceId": "tbds-664nmwbe",
  "ServiceName": "HDFS",
  "ConfFileName": ""
}

输出示例

{
  "Response": {
    "ConfFilters": {
      "ConfCategoryFilterList": null,
      "ConfFileFilterList": [
        {
          "FileName": "core-site.xml",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "hadoop-env.sh",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "hdfs-site.xml",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "hdfs_at_auto_conf_file6330",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "user",
            "Type": "Customize"
          }
        },
        {
          "FileName": "httpfs-env.sh",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "httpfs-site.xml",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "log4j.properties",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "ranger-hdfs-audit.xml",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "ranger-hdfs-security.xml",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "ssl-client.xml",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        },
        {
          "FileName": "ssl-server.xml",
          "FileProperty": {
            "Display": true,
            "Editable": true,
            "FileOwner": "sys",
            "Type": "KeyValue"
          }
        }
      ],
      "ServiceComponentTypeFilterList": null
    },
    "LogList": [
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 0,
        "Detail": "[{\"fileName\":\"hdfs-site.xml\",\"serviceName\":\"HDFS\",\"key\":\"hadoop.zk.address\",\"newValue\":\"tbds-10-4-2-120:2182,tbds-10-4-2-13:2182,tbds-10-4-2-93:2182\",\"oldValue\":\"\",\"changeType\":\"add\",\"ip\":\"\",\"securityValue\":false},{\"fileName\":\"hdfs-site.xml\",\"serviceName\":\"HDFS\",\"key\":\"ha.zookeeper.quorum\",\"newValue\":\"tbds-10-4-2-120:2182,tbds-10-4-2-13:2182,tbds-10-4-2-93:2182\",\"oldValue\":\"tbds-10-4-2-120:2181,tbds-10-4-2-13:2181,tbds-10-4-2-93:2181\",\"changeType\":\"add\",\"ip\":\"\",\"securityValue\":false},{\"fileName\":\"hdfs-site.xml\",\"serviceName\":\"HDFS\",\"key\":\"alluxio.zookeeper.address\",\"newValue\":\"tbds-10-4-2-120:2182,tbds-10-4-2-13:2182,tbds-10-4-2-93:2182\",\"oldValue\":\"\",\"changeType\":\"add\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21949,
        "Ips": null,
        "IsValidity": -1,
        "OperationFlag": 0,
        "Remark": "confpush-relation",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 12:42:59"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 0,
        "Detail": "[{\"fileName\":\"core-site.xml\",\"serviceName\":\"\",\"key\":\"fs.trash.interval\",\"newValue\":\"10080\",\"oldValue\":\"10010\",\"changeType\":\"update\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21937,
        "Ips": null,
        "IsValidity": -1,
        "OperationFlag": 0,
        "Remark": "Rollback",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 04:33:04"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 0,
        "Detail": "[{\"fileName\":\"core-site.xml\",\"serviceName\":\"HDFS\",\"key\":\"fs.trash.interval\",\"newValue\":\"10010\",\"oldValue\":\"10080\",\"changeType\":\"update\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21936,
        "Ips": null,
        "IsValidity": -1,
        "OperationFlag": 0,
        "Remark": "auto-test-cluster",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 04:32:23"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 1,
        "Detail": "[{\"fileName\":\"core-site.xml\",\"serviceName\":\"\",\"key\":\"test_key\",\"newValue\":\"\",\"oldValue\":\"test_value\",\"changeType\":\"update\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21924,
        "Ips": [
          "10.4.2.13"
        ],
        "IsValidity": -1,
        "OperationFlag": 0,
        "Remark": "Rollback",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 03:59:18"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 0,
        "Detail": "[{\"fileName\":\"hdfs-site.xml\",\"serviceName\":\"HDFS\",\"key\":\"test_key\",\"newValue\":\"test_value\",\"oldValue\":\"\",\"changeType\":\"add\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21922,
        "Ips": null,
        "IsValidity": 0,
        "OperationFlag": 1,
        "Remark": "auto-test-cluster",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 03:55:37"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 1,
        "Detail": "[{\"fileName\":\"core-site.xml\",\"serviceName\":\"HDFS\",\"key\":\"test_key\",\"newValue\":\"test_value\",\"oldValue\":\"\",\"changeType\":\"update\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21920,
        "Ips": [
          "10.4.2.13"
        ],
        "IsValidity": -1,
        "OperationFlag": 0,
        "Remark": "auto-test-node",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 03:49:37"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 0,
        "Detail": "[{\"fileName\":\"hadoop-env.sh\",\"serviceName\":\"HDFS\",\"key\":\"test_key\",\"newValue\":\"test_value\",\"oldValue\":\"\",\"changeType\":\"add\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21915,
        "Ips": null,
        "IsValidity": 0,
        "OperationFlag": 1,
        "Remark": "auto-test-cluster",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 03:39:23"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 0,
        "Detail": "[{\"fileName\":\"log4j.properties\",\"serviceName\":\"HDFS\",\"key\":\"test_key\",\"newValue\":\"test_value\",\"oldValue\":\"\",\"changeType\":\"add\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21911,
        "Ips": null,
        "IsValidity": 0,
        "OperationFlag": 1,
        "Remark": "auto-test-cluster",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 03:31:04"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "hdfs-core-defaultGroup",
        "ConfIdList": "",
        "ConfLogType": 2,
        "Detail": "[{\"fileName\":\"core-site.xml\",\"serviceName\":\"HDFS\",\"key\":\"test_key\",\"newValue\":\"test_value\",\"oldValue\":\"\",\"changeType\":\"update\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21906,
        "Ips": null,
        "IsValidity": 0,
        "OperationFlag": 1,
        "Remark": "auto-test-group",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 03:19:55"
      },
      {
        "ClusterId": 78000006,
        "ConfGroupName": "",
        "ConfIdList": "",
        "ConfLogType": 0,
        "Detail": "[{\"fileName\":\"core-site.xml\",\"serviceName\":\"HDFS\",\"key\":\"test_key\",\"newValue\":\"test_value\",\"oldValue\":\"\",\"changeType\":\"update\",\"ip\":\"\",\"securityValue\":false}]",
        "FileConf": "{\"Editable\":true,\"Display\":true,\"Type\":\"KeyValue\",\"FileOwner\":\"\"}",
        "Id": 21904,
        "Ips": null,
        "IsValidity": 0,
        "OperationFlag": 1,
        "Remark": "auto-test-cluster",
        "ServiceName": "HDFS",
        "ServiceType": 1,
        "SubTime": "2025-05-19 03:14:59"
      }
    ],
    "RequestId": "69e27087-6fd3-42f5-a600-367895010555",
    "TotalCnt": 20
  }
}