diff --git a/docs/getting-started/tutorial-load-dataset.asciidoc b/docs/getting-started/tutorial-load-dataset.asciidoc index 2eef175490e1..61b05c0b19e9 100644 --- a/docs/getting-started/tutorial-load-dataset.asciidoc +++ b/docs/getting-started/tutorial-load-dataset.asciidoc @@ -58,7 +58,7 @@ Before we load the Shakespeare and logs data sets, we need to set up {ref}/mappi Mapping divides the documents in the index into logical groups and specifies a field's characteristics, such as the field's searchability or whether or not it's _tokenized_, or broken up into separate words. -Use the following command in a terminal (eg `bash`) to set up a mapping for the Shakespeare data set: +Use the following command in the Kibana Console to set up a mapping for the Shakespeare data set: [source,js] PUT /shakespeare @@ -155,6 +155,12 @@ curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/shakespeare/doc/_bulk?pretty' --data-binary @shakespeare_6.0.json curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/_bulk?pretty' --data-binary @logs.jsonl +Or for Windows users, in Powershell: +[source,shell] +Invoke-RestMethod "http://localhost:9200/bank/account/_bulk?pretty" -Method Post -ContentType 'application/x-ndjson' -InFile "accounts.json" +Invoke-RestMethod "http://localhost:9200/shakespeare/doc/_bulk?pretty" -Method Post -ContentType 'application/x-ndjson' -InFile "shakespeare_6.0.json" +Invoke-RestMethod "http://localhost:9200/_bulk?pretty" -Method Post -ContentType 'application/x-ndjson' -InFile "logs.jsonl" + These commands may take some time to execute, depending on the computing resources available. Verify successful loading with the following command: