Difference: ElasticSearchTips ( vs. 1)

Revision 12018-02-20 - seuster

Line: 1 to 1

Tips when running and using elasticsearch, logstack and kibana et al.

Note that below I am running the curl commands on the private network interface on the normal port. For accessing the server on the public interface add 10000 to the port number and change to https.

Our installation has only one node, so we only need one replica for all shards:

curl -XPUT  -H "Accept: application/json" -H "Content-Type: application/json" '' -d '{
  "index": { "number_of_replicas": 0
} } '
Otherwise the health of the server will always be yellow, because it cannot replicate any shards.

Set also the default for future new indices:

curl -XPUT -H "Accept: application/json" -H "Content-Type: application/json"  '' -d '{
  "index.number_of_replicas" : "0"

-- seuster - 2018-02-20

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback