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 #network.host: 192.168.0.1
59 # Set a custom port for HTTP:
63 # For more information, consult the network module documentation.
65 # --------------------------------- Discovery ----------------------------------
67 # Pass an initial list of hosts to perform discovery when new node is started:
68 # The default list of hosts is ["127.0.0.1", "[::1]"]
70 #discovery.zen.ping.unicast.hosts: ["host1", "host2"]
72 # Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
74 #discovery.zen.minimum_master_nodes: 3
76 # For more information, consult the zen discovery module documentation.
78 # ---------------------------------- Gateway -----------------------------------
80 # Block initial recovery after a full cluster restart until N nodes are started:
82 #gateway.recover_after_nodes: 3
84 # For more information, consult the gateway module documentation.
86 # ---------------------------------- Various -----------------------------------
88 # Require explicit names when deleting indices:
90 #action.destructive_requires_name: true