Menu
Bulk stream (PUT /_bulk/stream)
Bulk stream
PUT
/_bulk/streamUse it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Bulk stream (PUT /_bulk/stream) action (under core).
- Fill in the fields below, then reference the result from later steps as
{{bulkStreamPutBulkStream.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{bulkStreamPutBulkStream.response.data.<field>}}.
{
"errors": false,
"items": [
{
"index": {
"_index": "string",
"status": 0,
"_type": "string",
"_id": "string",
"error": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
],
"header": {}
},
"_primary_term": 0,
"result": "string",
"_seq_no": 0,
"_shards": {
"failed": 0,
"successful": 0,
"total": 0,
"failures": [
{
"reason": null,
"shard": null,
"primary": null,
"index": null,
"node": null,
"status": null
}
]
},
"_version": 0,
"forced_refresh": false,
"get": {
"found": false,
"fields": {},
"_seq_no": 0,
"_primary_term": 0,
"_routing": "string",
"_source": {}
}
},
"create": {
"_index": "string",
"status": 0,
"_type": "string",
"_id": "string",
"error": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
],
"header": {}
},
"_primary_term": 0,
"result": "string",
"_seq_no": 0,
"_shards": {
"failed": 0,
"successful": 0,
"total": 0,
"failures": [
{
"reason": null,
"shard": null,
"primary": null,
"index": null,
"node": null,
"status": null
}
]
},
"_version": 0,
"forced_refresh": false,
"get": {
"found": false,
"fields": {},
"_seq_no": 0,
"_primary_term": 0,
"_routing": "string",
"_source": {}
}
},
"update": {
"_index": "string",
"status": 0,
"_type": "string",
"_id": "string",
"error": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
],
"header": {}
},
"_primary_term": 0,
"result": "string",
"_seq_no": 0,
"_shards": {
"failed": 0,
"successful": 0,
"total": 0,
"failures": [
{
"reason": null,
"shard": null,
"primary": null,
"index": null,
"node": null,
"status": null
}
]
},
"_version": 0,
"forced_refresh": false,
"get": {
"found": false,
"fields": {},
"_seq_no": 0,
"_primary_term": 0,
"_routing": "string",
"_source": {}
}
},
"delete": {
"_index": "string",
"status": 0,
"_type": "string",
"_id": "string",
"error": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
],
"header": {}
},
"_primary_term": 0,
"result": "string",
"_seq_no": 0,
"_shards": {
"failed": 0,
"successful": 0,
"total": 0,
"failures": [
{
"reason": null,
"shard": null,
"primary": null,
"index": null,
"node": null,
"status": null
}
]
},
"_version": 0,
"forced_refresh": false,
"get": {
"found": false,
"fields": {},
"_seq_no": 0,
"_primary_term": 0,
"_routing": "string",
"_source": {}
}
}
}
],
"took": 0,
"ingest_took": 0
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?