--- config/elasticsearch.yml +++ config/elasticsearch.yml 2019-05-09 13:16:24.000000000 -0400 @@ -14,7 +14,7 @@ # # Use a descriptive name for your cluster: # -#cluster.name: my-application +cluster.name: elasticsearch # # ------------------------------------ Node ------------------------------------ # @@ -30,17 +30,21 @@ # # Path to directory where to store the data (separate multiple locations by comma): # -#path.data: /path/to/data +path.data: @PREFIX@/var/elasticsearch # # Path to log files: # -#path.logs: /path/to/logs +path.logs: @PREFIX@/var/log/elasticsearch +# +# Path to directory where to snapshot and restore the data (separate multiple locations by comma): +# +path.repo: @PREFIX@/var/elasticsearch/backup # # ----------------------------------- Memory ----------------------------------- # # Lock the memory on startup: # -#bootstrap.memory_lock: true +bootstrap.memory_lock: true # # Make sure that the heap size is set to about half the memory available # on the system and that the owner of the process is allowed to use this @@ -53,6 +57,8 @@ # Set the bind address to a specific IP (IPv4 or IPv6): # #network.host: 192.168.0.1 +# Bind to localhost unless explicitly changed +network.host: 127.0.0.1 # # Set a custom port for HTTP: #