Mendaftar Pekerjaan ingest Elasticsearch dan Pencarian Terbuka.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /elasticsearchingestions HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama Proyek. |
ali-test-project |
| offset |
integer |
No |
Baris tempat memulai kueri. Nilai default: 0. |
0 |
| size |
integer |
No |
Jumlah entri yang dikembalikan. Nilai default: 10. |
10 |
| logstore |
string |
No |
Nama penyimpanan log. |
ali-test-logstore |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| total |
integer |
The total number of Elasticsearch/OpenSearch import jobs in the project. |
80 |
| count |
integer |
The number of Elasticsearch/OpenSearch import jobs returned in the current request. |
10 |
| results |
array |
The list of Elasticsearch/OpenSearch import jobs. |
|
| ESIngestion |
The configuration of the Elasticsearch/OpenSearch import job. |
Contoh
Respons sukses
JSONformat
{
"total": 80,
"count": 10,
"results": [
{
"name": "ingest-es-123456",
"description": "es ingestion",
"displayName": "es ingestion",
"schedule": {
"type": "FixedRate",
"cronExpression": "0/5 * * * *",
"runImmediately": false,
"timeZone": "+0800",
"delay": 4,
"interval": "60s"
},
"configuration": {
"logstore": "test-logstore",
"source": {
"BootstrapServers": "",
"Index": "",
"Username": "",
"Password": "",
"TimeFieldName": "",
"TimeFormat": "",
"TimeZone": "",
"Query": "",
"ConnectorMode": "",
"StartTime": 0,
"EndTime": 0,
"MaxDataDelaySec": 0,
"MinFragRangeSec": 0,
"VpcId": ""
}
},
"createTime": 1714360481,
"lastModifiedTime": 1714360481,
"status": "RUNNING",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.