1 # ======================== Elasticsearch Configuration =========================
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.
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.
10 # Please consult the documentation for further information on configuration options:
11 # https://www.elastic.co/guide/en/elasticsearch/reference/index.html
13 # ---------------------------------- Cluster -----------------------------------
15 # Use a descriptive name for your cluster:
17 #cluster.name: my-application
18 cluster.name: ${{FQDN}}-policy-sa
20 # ------------------------------------ Node ------------------------------------
22 # Use a descriptive name for the node:
25 node.name: "${{FQDN}}"
27 # Add custom attributes to the node:
31 # ----------------------------------- Paths ------------------------------------
33 # Path to directory where to store the data (separate multiple locations by comma):
35 #path.data: /path/to/data
39 path.logs: ${{POLICY_HOME}}/logs
41 # ----------------------------------- Memory -----------------------------------
43 # Lock the memory on startup:
45 #bootstrap.memory_lock: true
47 # Make sure that the heap size is set to about half the memory available
48 # on the system and that the owner of the process is allowed to use this
51 # Elasticsearch performs poorly when the system is swapping the memory.
53 # ---------------------------------- Network -----------------------------------
55 # Set the bind address to a specific IP (IPv4 or IPv6):
57 # Only allow to run on localhost so it can't be queried from outside
58 network.bind_host: ["_local_"]
60 # Set a custom port for HTTP:
64 # For more information, consult the network module documentation.
66 # --------------------------------- Discovery ----------------------------------
68 # Pass an initial list of hosts to perform discovery when new node is started:
69 # The default list of hosts is ["127.0.0.1", "[::1]"]
71 #discovery.zen.ping.unicast.hosts: ["host1", "host2"]
73 # Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
75 #discovery.zen.minimum_master_nodes: 3
77 # For more information, consult the zen discovery module documentation.
79 # ---------------------------------- Gateway -----------------------------------
81 # Block initial recovery after a full cluster restart until N nodes are started:
83 #gateway.recover_after_nodes: 3
85 # For more information, consult the gateway module documentation.
87 # ---------------------------------- Various -----------------------------------
89 # Require explicit names when deleting indices:
91 #action.destructive_requires_name: true