Advertisement
Guest User

elasticsearch.yml

a guest
Nov 1st, 2016
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. # ======================== Elasticsearch Configuration =========================
  2. #
  3. # NOTE: Elasticsearch comes with reasonable defaults for most settings.
  4. # Before you set out to tweak and tune the configuration, make sure you
  5. # understand what are you trying to accomplish and the consequences.
  6. #
  7. # The primary way of configuring a node is via this file. This template lists
  8. # the most important settings you may want to configure for a production cluster.
  9. #
  10. # Please see the documentation for further information on configuration options:
  11. # <http://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration.html>
  12. #
  13. # ---------------------------------- Cluster -----------------------------------
  14. #
  15. # Use a descriptive name for your cluster:
  16. #
  17. cluster.name: dev-elk
  18. #
  19. #
  20. # Add custom attributes to the node:
  21. #
  22. #node.attr.rack: r1
  23. #
  24. # ----------------------------------- Paths ------------------------------------
  25. #
  26. # Path to directory where to store the data (separate multiple locations by comma):
  27. #
  28. #path.data: /var/lib/elasticsearch/
  29. #
  30. # Path to log files:
  31. #
  32. path.logs: /var/logs/elasticsearch/
  33. #
  34. # ----------------------------------- Memory -----------------------------------
  35. #
  36. # Lock the memory on startup:
  37. #
  38. #bootstrap.memory_lock: true
  39. #
  40. # Make sure that the heap size is set to about half the memory available
  41. # on the system and that the owner of the process is allowed to use this
  42. # limit.
  43. #
  44. # Elasticsearch performs poorly when the system is swapping the memory.
  45. #
  46. # ---------------------------------- Network -----------------------------------
  47. #
  48. # Set the bind address to a specific IP (IPv4 or IPv6):
  49. #
  50. network.host: IP
  51. #
  52. # Set a custom port for HTTP:
  53. #
  54. #http.port: 9200
  55. #
  56. # For more information, see the documentation at:
  57. # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html>
  58. #
  59. # --------------------------------- Discovery ----------------------------------
  60. #
  61. # Pass an initial list of hosts to perform discovery when new node is started:
  62. # The default list of hosts is ["127.0.0.1", "[::1]"]
  63. #
  64. discovery.zen.ping.unicast.hosts: ["host1", "host2"]
  65. #
  66. # Prevent the "split brain" by configuring the majority of nodes (total number of nodes / 2 + 1):
  67. #
  68. discovery.zen.minimum_master_nodes: 1
  69. # For more information, see the documentation at:
  70. # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery.html>
  71. #
  72. # ---------------------------------- Gateway -----------------------------------
  73. #
  74. # Block initial recovery after a full cluster restart until N nodes are started:
  75. #
  76. #gateway.recover_after_nodes: 3
  77. #
  78. # For more information, see the documentation at:
  79. # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html>
  80. #
  81. # ---------------------------------- Various -----------------------------------
  82. #
  83. # Disable starting multiple nodes on a single system:
  84. #
  85. #node.max_local_storage_nodes: 1
  86. #
  87. # Require explicit names when deleting indices:
  88. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement