Advertisement
Light1992

elasticsearch.yml

May 21st, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1.  
  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 consult the documentation for further information on configuration options:
  12. # https://www.elastic.co/guide/en/elasticsearch/reference/index.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.attr.rack: r1
  29. #
  30. # ----------------------------------- Paths ------------------------------------
  31. #
  32. # Path to directory where to store the data (separate multiple locations by comma):
  33. #
  34. path.data: /var/lib/elasticsearch
  35. #
  36. # Path to log files:
  37. #
  38. path.logs: /var/log/elasticsearch
  39. #
  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. # Set the bind address to a specific IP (IPv4 or IPv6):
  55. #
  56. network.host: 0.0.0.0
  57. #
  58. # Set a custom port for HTTP:
  59. #
  60. http.port: 9200
  61. #
  62. # For more information, consult the network module documentation.
  63. #
  64. #
  65. # ---------------------------------- Various -----------------------------------
  66. #
  67. # Require explicit names when deleting indices:
  68. #
  69. #action.destructive_requires_name: true
  70.  
  71. network.host: 0.0.0.0
  72.  
  73. index.number_of_shards: 1
  74.  
  75. index.number_of_replicas: 0
  76.  
  77. node.data: false
  78.  
  79. node.master: false
  80.  
  81. script.disable_dynamic: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement