File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,9 @@ The response includes metadata that {es} generates for the document:
9494[[add-multiple-documents]]
9595==== Add multiple documents
9696
97- To add multiple documents in one request, use the bulk API . Bulk data must be
98- newline-delimited JSON (NDJSON). Each line must end in a newline character
99- (`\n`), including the last line.
97+ Use the `_bulk` endpoint to add multiple documents in one request. Bulk data
98+ must be newline-delimited JSON (NDJSON). Each line must end in a newline
99+ character (`\n`), including the last line.
100100
101101[source,console]
102102----
@@ -113,11 +113,9 @@ PUT logs-my_app-default/_bulk
113113[[qs-search-data]]
114114=== Step 4. Search data
115115
116- Indexed documents are available for search in near real-time. To search your
117- data stream, use the search API.
118-
119- The following search matches all log entries in `logs-my_app-default` and
120- sorts them by `@timestamp` in descending order.
116+ Indexed documents are available for search in near real-time. The following
117+ search matches all log entries in `logs-my_app-default` and sorts them by
118+ `@timestamp` in descending order.
121119
122120[source,console]
123121----
You can’t perform that action at this time.
0 commit comments