GetElasticsearchIngestion
Updated at:
Retrieves an ES/OpenSearch import task.
Try it now
Test
RAM authorization
Request syntax
GET /elasticsearchingestions/{esIngestionName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| esIngestionName |
string |
Yes |
The name of the ES/OpenSearch task. |
ingest-elasticsearch-123456 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
ali-test-project |
Response elements
|
Element |
Type |
Description |
Example |
| ESIngestion |
The ES/OpenSearch import task configuration. |
Examples
Success response
JSON format
{
"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"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?