全部產品
Search
文件中心

Simple Log Service:ListElasticsearchIngestions

更新時間:Oct 26, 2026

列出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": "FixedRate",
        "cronExpression": "0/5 * * * *",
        "runImmediately": false,
        "timeZone": "+0800",
        "delay": 4,
        "interval": "60s"
      },
      "scheduleId": "c7f01719d9feb105fc9d8df92af62010",
      "status": "RUNNING"
    }
  ],
  "total": 80
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。