ListElasticsearchIngestions - 列出ES/OpenSearch导入任务

更新时间:
复制 MD 格式

列出ES/OpenSearch导入任务

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET /elasticsearchingestions HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

project

string

是

Project 名称

ali-test-project

offset

integer

否

查询开始行。默认值为 0。

0

size

integer

否

指定查询数量,默认值为 10。

10

logstore

string

否

logstore 名称。

ali-test-logstore

返回参数

名称

类型

描述

示例值

object

Schema of Response

count

integer

当前列出的 ES/OpenSearch 导入任务数量

10

results

array

具体 ES/OpenSearch 导入任务列表

ESIngestion

ES/OpenSearch 导入任务配置

total

integer

指定 Project 下 ES/OpenSearch 导入任务数量

80

示例

正常返回示例

JSON格式

{
  "count": 10,
  "results": [
    {
      "configuration": {
        "logstore": "test-logstore",
        "source": {
          "BootstrapServers": "http://es-cluster.example.com:9200",
          "ConnectorMode": "incremental",
          "EndTime": 1742032800000,
          "Index": "my_application_logs",
          "MaxDataDelaySec": 300,
          "MinFragRangeSec": 3600,
          "Password": "***",
          "Query": "\"{\\\"match_all\\\": {}}\"",
          "StartTime": 1736666800000,
          "TimeFieldName": "@timestamp",
          "TimeFormat": "epochMillis",
          "TimeZone": "GMT+08:00\n",
          "Username": "yourUsername",
          "VpcId": "vpc-nn5xxxxx"
        }
      },
      "createTime": 1714360481,
      "description": "es ingestion",
      "displayName": "es ingestion",
      "lastModifiedTime": 1714360481,
      "name": "ingest-es-123456",
      "schedule": {
        "type": "Cron",
        "cronExpression": "0/5 * * * *",
        "runImmediately": false,
        "timeZone": "+0800",
        "delay": 4,
        "interval": "1m"
      },
      "scheduleId": "c7f01719d9feb105fc9d8df92af62010",
      "status": "RUNNING"
    }
  ],
  "total": 80
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。