ListElasticsearchIngestions
Lists ES/OpenSearch import tasks.
Try it now
Test
RAM authorization
Request syntax
GET /elasticsearchingestions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
ali-test-project |
| offset |
integer |
No |
The starting row for the query. Default value: 0. |
0 |
| size |
integer |
No |
The number of entries to return. Default value: 10. |
10 |
| logstore |
string |
No |
The name of the Logstore. |
ali-test-logstore |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| count |
integer |
The number of ES/OpenSearch import tasks listed. |
10 |
| results |
array |
The list of ES/OpenSearch import tasks. |
|
| ESIngestion |
The configuration of the ES/OpenSearch import task. |
||
| total |
integer |
The total number of ES/OpenSearch import tasks in the specified project. |
80 |
Examples
Success response
JSON format
{
"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
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.