全部產品
Search
文件中心

Simple Log Service:GetElasticsearchIngestion

更新時間:Oct 26, 2026

取得 ES/OpenSearch 匯入任務。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

GET /elasticsearchingestions/{esIngestionName} HTTP/1.1

路徑參數

名稱

類型

必填

描述

樣本值

esIngestionName

string

是

ES/OpenSearch 任務名稱。

ingest-elasticsearch-123456

請求參數

名稱

類型

必填

描述

樣本值

project

string

是

Project 名稱。

ali-test-project

返回參數

名稱

類型

描述

樣本值

ESIngestion

ES/OpenSearch 匯入任務設定。

樣本

正常返回樣本

JSON格式

{
  "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"
}

錯誤碼

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

變更歷史

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