Add Document
Adds a JSON document to the specified data stream or index and makes it searchable. If the target is an index and the document already exists, the request updates the document and increments its version.
Parameters
Parameter | Description |
---|---|
Content | The JSON document content. |
Require Alias | If true, the destination must be an index alias. Defaults to false. |
Target Index | Name of the data stream or index to target.If the target doesn’t exist and matches the name or wildcard (*) pattern of an index template with a data_stream definition, this request creates the data stream.If the target doesn’t exist and doesn’t match a data stream template, this request creates the index. |
Workflow Library Example
Add Document with Elasticsearch and Send Results Via Email
Preview this Workflow on desktop