Advertisement
Giasod

elasticsearch.yml

Feb 6th, 2023
956
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 3.49 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 consult the documentation for further information on configuration options:
  11. # https://www.elastic.co/guide/en/elasticsearch/reference/index.html
  12. #
  13. # ---------------------------------- Cluster -----------------------------------
  14. #
  15. # Use a descriptive name for your cluster:
  16. #
  17. cluster.name: elasticsearch_amiran
  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.attr.rack: r1
  28. #
  29. # ----------------------------------- Paths ------------------------------------
  30. #
  31. # Path to directory where to store the data (separate multiple locations by comma):
  32. #
  33. path.data: /opt/homebrew/var/lib/elasticsearch/
  34. #
  35. # Path to log files:
  36. #
  37. path.logs: /opt/homebrew/var/log/elasticsearch/
  38. #
  39. xpack.ml.enabled: false
  40. # ----------------------------------- Memory -----------------------------------
  41. #
  42. # Lock the memory on startup:
  43. #
  44. #bootstrap.memory_lock: true
  45. #
  46. # Make sure that the heap size is set to about half the memory available
  47. # on the system and that the owner of the process is allowed to use this
  48. # limit.
  49. #
  50. # Elasticsearch performs poorly when the system is swapping the memory.
  51. #
  52. # ---------------------------------- Network -----------------------------------
  53. #
  54. # By default Elasticsearch is only accessible on localhost. Set a different
  55. # address here to expose this node on the network:
  56. #
  57. network.host: 127.0.0.1
  58. #
  59. # By default Elasticsearch listens for HTTP traffic on the first free port it
  60. # finds starting at 9200. Set a specific HTTP port here:
  61. #
  62. http.port: 9200
  63. #
  64. # For more information, consult the network module documentation.
  65. #
  66. # --------------------------------- Discovery ----------------------------------
  67. #
  68. # Pass an initial list of hosts to perform discovery when this node is started:
  69. # The default list of hosts is ["127.0.0.1", "[::1]"]
  70. #
  71. discovery.seed_hosts: ["127.0.0.1"]
  72. #
  73. # Bootstrap the cluster using an initial set of master-eligible nodes:
  74. #
  75. #cluster.initial_master_nodes: ["node-1", "node-2"]
  76. #
  77. # For more information, consult the discovery and cluster formation module documentation.
  78. #
  79. # ---------------------------------- Various -----------------------------------
  80. #
  81. # Require explicit names when deleting indices:
  82. #
  83. #action.destructive_requires_name: true
  84. #
  85. # ---------------------------------- Security ----------------------------------
  86. #
  87. #                                 *** WARNING ***
  88. #
  89. # Elasticsearch security features are not enabled by default.
  90. # These features are free, but require configuration changes to enable them.
  91. # This means that users don’t have to provide credentials and can get full access
  92. # to the cluster. Network connections are also not encrypted.
  93. #
  94. # To protect your data, we strongly encourage you to enable the Elasticsearch security features.
  95. # Refer to the following documentation for instructions.
  96. #
  97. # https://www.elastic.co/guide/en/elasticsearch/reference/7.16/configuring-stack-security.html
  98.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement