Advertisement
Guest User

Untitled

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