2 #============LICENSE_START==================================================
4 #===========================================================================
5 # Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 #===========================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 #============LICENSE_END==================================================
21 # ======================== Elasticsearch Configuration =========================
23 # NOTE: Elasticsearch comes with reasonable defaults for most settings.
24 # Before you set out to tweak and tune the configuration, make sure you
25 # understand what are you trying to accomplish and the consequences.
27 # The primary way of configuring a node is via this file. This template lists
28 # the most important settings you may want to configure for a production cluster.
30 # Please consult the documentation for further information on configuration options:
31 # https://www.elastic.co/guide/en/elasticsearch/reference/index.html
33 # ---------------------------------- Cluster -----------------------------------
35 # Use a descriptive name for your cluster:
37 #cluster.name: my-application
38 cluster.name: ${{FQDN}}-policy-sa
40 # ------------------------------------ Node ------------------------------------
42 # Use a descriptive name for the node:
45 node.name: "${{FQDN}}"
47 # Add custom attributes to the node:
51 # ----------------------------------- Paths ------------------------------------
53 # Path to directory where to store the data (separate multiple locations by comma):
55 #path.data: /path/to/data
59 path.logs: ${{POLICY_HOME}}/logs
61 # ----------------------------------- Memory -----------------------------------
63 # Lock the memory on startup:
65 #bootstrap.memory_lock: true
67 # Make sure that the heap size is set to about half the memory available
68 # on the system and that the owner of the process is allowed to use this
71 # Elasticsearch performs poorly when the system is swapping the memory.
73 # ---------------------------------- Network -----------------------------------
75 # Set the bind address to a specific IP (IPv4 or IPv6):
77 # Only allow to run on localhost so it can't be queried from outside
78 network.bind_host: ["_local_"]
80 # Set a custom port for HTTP:
84 # For more information, consult the network module documentation.
86 # --------------------------------- Discovery ----------------------------------
88 # Pass an initial list of hosts to perform discovery when new node is started:
89 # The default list of hosts is ["127.0.0.1", "[::1]"]
91 #discovery.zen.ping.unicast.hosts: ["host1", "host2"]
93 # Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
95 #discovery.zen.minimum_master_nodes: 3
97 # For more information, consult the zen discovery module documentation.
99 # ---------------------------------- Gateway -----------------------------------
101 # Block initial recovery after a full cluster restart until N nodes are started:
103 #gateway.recover_after_nodes: 3
105 # For more information, consult the gateway module documentation.
107 # ---------------------------------- Various -----------------------------------
109 # Require explicit names when deleting indices:
111 #action.destructive_requires_name: true
112 #--------------------------------- Scripting -----------------------------------
113 # These will be removed in v6.0