May 2017
Beginner to intermediate
596 pages
15h 2m
English
An Index in Elasticsearch cluster can be created by following command (curl), that can be run in Linux’s ssh console:
curl -XPUT http://<es-server-ip>:9200/datalake -d '{"settings":{"number_of_shards": 2, "number_of_replicas": 2}}'
{"acknowledged":true,"shards_acknowledged":true}
The reason that we installed Kibana was to simplify such query executions. We can also run the same query using Kibana as shown here. This approach is a much more convenient and user-friendly (REST UI). We would be using this UI for the remaining examples in this chapter; however, the preceding indicates that simple curl commands can also be used from machines that do not have Kibana installed.