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 of the query. Default value: 0. |
0 |
| size |
integer |
No |
The number of entries to query. 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 returned. |
10 |
| results |
array |
The list of ES/OpenSearch import tasks. |
|
| ESIngestion |
The configuration of an 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": "",
"ConnectorMode": "",
"EndTime": 0,
"Index": "",
"MaxDataDelaySec": 0,
"MinFragRangeSec": 0,
"Password": "",
"Query": "",
"StartTime": 0,
"TimeFieldName": "",
"TimeFormat": "",
"TimeZone": "",
"Username": "",
"VpcId": ""
}
},
"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.