create new tag
view all tags

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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | More topic actions
Topic revision: r1 - 2018-02-20 - seuster
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback