Advertisement
Guest User

Elasticsearch.yml

a guest
Dec 9th, 2020
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.87 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: 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.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: /var/lib/elasticsearch
  34. #
  35. # ----------------------------------- Memory -----------------------------------
  36. #
  37. # Lock the memory on startup:
  38. #
  39. #bootstrap.memory_lock: true
  40. #
  41. # Make sure that the heap size is set to about half the memory available
  42. # on the system and that the owner of the process is allowed to use this
  43. # limit.
  44. #
  45. # Elasticsearch performs poorly when the system is swapping the memory.
  46. #
  47. # ---------------------------------- Network -----------------------------------
  48. #
  49. # Set the bind address to a specific IP (IPv4 or IPv6):
  50. #
  51. network.host: 0.0.0.0
  52. # Set a custom port for HTTP:
  53. #
  54. http.port: 9200
  55. #
  56. # For more information, consult the network module documentation.
  57. #
  58. # --------------------------------- Discovery ----------------------------------
  59. #
  60. # Pass an initial list of hosts to perform discovery when this node is started:
  61. # The default list of hosts is ["127.0.0.1", "[::1]"]
  62. #
  63. discovery.seed_hosts: ["172.16.128.208"]
  64. #
  65. # Bootstrap the cluster using an initial set of master-eligible nodes:
  66. #
  67. #cluster.initial_master_nodes: ["node-1", "node-2"]
  68. #
  69. # For more information, consult the discovery and cluster formation module documentation.
  70. #
  71. # ---------------------------------- Gateway -----------------------------------
  72. #
  73. # Block initial recovery after a full cluster restart until N nodes are started:
  74. #
  75. #gateway.recover_after_nodes: 3
  76. #
  77. # For more information, consult the gateway module documentation.
  78. #
  79. # ---------------------------------- Various -----------------------------------
  80. #
  81. # Require explicit names when deleting indices:
  82. #
  83. #action.destructive_requires_name: true
  84. #
  85. xpack.security.enabled: true
  86. #
  87. discovery.type: single-node
  88. #
  89.  
  90.  
  91.  
  92.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement