Advertisement
tatdat171

Elasticsearch

Apr 23rd, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.30 KB | None | 0 0
  1. # ---------------------------------- Cluster -----------------------------------
  2.  
  3. cluster.name: my-cluster
  4. #
  5. # ------------------------------------ Node ------------------------------------
  6. #
  7. # Use a descriptive name for the node:
  8. #
  9. node.name: Elastic-01
  10.  
  11. node.master: true
  12. node.data: false
  13.  
  14. # ----------------------------------- Paths ------------------------------------
  15.  
  16. path.data: /data/elasticsearch/data
  17.  
  18. path.logs: /data/elasticsearch/log
  19.  
  20. # ----------------------------------- Memory -----------------------------------
  21. #
  22. # Lock the memory on startup:
  23. #
  24. bootstrap.memory_lock: true
  25.  
  26. # ---------------------------------- Network -----------------------------------
  27.  
  28. network.host: {myip}
  29.  
  30. # --------------------------------- Discovery ----------------------------------
  31.  
  32. discovery.zen.ping.unicast.hosts: ["node01", "node02", "node03", "node04"]
  33. discovery.zen.minimum_master_nodes: 2
  34.  
  35. # ---------------------------------- Various -----------------------------------
  36.  
  37. #action.destructive_requires_name: true
  38.  
  39. xpack.ssl.key: /etc/elasticsearch/x-pack/elastic-01.key
  40. xpack.ssl.certificate: /etc/elasticsearch/x-pack/elastic-01.crt
  41. xpack.ssl.certificate_authorities: [ "/etc/elasticsearch/x-pack/ca.crt" ]
  42. xpack.security.transport.ssl.enabled: true
  43. xpack.security.http.ssl.enabled: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement