Advertisement
Guest User

elasticsearch.yml

a guest
Jun 23rd, 2016
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.20 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: my-application
  18. #
  19. # ------------------------------------ Node ------------------------------------
  20. #
  21. # Use a descriptive name for the node:
  22. #
  23. # node.name: node-1
  24. #
  25. # Add custom attributes to the node:
  26. #
  27. # node.rack: r1
  28. #
  29. # ----------------------------------- Paths ------------------------------------
  30. #
  31. # Path to directory where to store the data (separate multiple locations by comma):
  32. #
  33. # path.data: /path/to/data
  34. #
  35. # Path to log files:
  36. #
  37. # path.logs: /path/to/logs
  38. #
  39. # ----------------------------------- Memory -----------------------------------
  40. #
  41. # Lock the memory on startup:
  42. #
  43. # bootstrap.mlockall: true
  44. #
  45. # Make sure that the `ES_HEAP_SIZE` environment variable is set to about half the memory
  46. # available on the system and that the owner of the process is allowed to use this limit.
  47. #
  48. # Elasticsearch performs poorly when the system is swapping the memory.
  49. #
  50. # ---------------------------------- Network -----------------------------------
  51. #
  52. # Set the bind address to a specific IP (IPv4 or IPv6):
  53. #
  54.  network.host: 192.168.71.49
  55. #
  56. # Set a custom port for HTTP:
  57. #
  58.  http.port: 9200
  59. #
  60. # For more information, see the documentation at:
  61. # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html>
  62. #
  63. # --------------------------------- Discovery ----------------------------------
  64. #
  65. # Pass an initial list of hosts to perform discovery when new node is started:
  66. # The default list of hosts is ["127.0.0.1", "[::1]"]
  67. #
  68. # discovery.zen.ping.unicast.hosts: ["host1", "host2"]
  69. #
  70. # Prevent the "split brain" by configuring the majority of nodes (total number of nodes / 2 + 1):
  71. #
  72. # discovery.zen.minimum_master_nodes: 3
  73. #
  74. # For more information, see the documentation at:
  75. # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery.html>
  76. #
  77. # ---------------------------------- Gateway -----------------------------------
  78. #
  79. # Block initial recovery after a full cluster restart until N nodes are started:
  80. #
  81. # gateway.recover_after_nodes: 3
  82. #
  83. # For more information, see the documentation at:
  84. # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html>
  85. #
  86. # ---------------------------------- Various -----------------------------------
  87. #
  88. # Disable starting multiple nodes on a single system:
  89. #
  90. # node.max_local_storage_nodes: 1
  91. #
  92. # Require explicit names when deleting indices:
  93. #
  94. # action.destructive_requires_name: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement