Update yml to use $POLICY_LOGS
[policy/engine.git] / packages / base / src / files / install / elk / config / elasticsearch.yml
1 #
2 #============LICENSE_START==================================================
3 #  ONAP Policy Engine
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
10 #
11 #         http://www.apache.org/licenses/LICENSE-2.0
12 #
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==================================================
19 #
20
21 # ======================== Elasticsearch Configuration =========================
22 #
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.
26 #
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.
29 #
30 # Please consult the documentation for further information on configuration options:
31 # https://www.elastic.co/guide/en/elasticsearch/reference/index.html
32 #
33 # ---------------------------------- Cluster -----------------------------------
34 #
35 # Use a descriptive name for your cluster:
36 #
37 #cluster.name: my-application
38 cluster.name: ${{FQDN}}-policy-sa
39 #
40 # ------------------------------------ Node ------------------------------------
41 #
42 # Use a descriptive name for the node:
43 #
44 #node.name: node-1
45 node.name: "${{FQDN}}"
46 #
47 # Add custom attributes to the node:
48 #
49 #node.attr.rack: r1
50 #
51 # ----------------------------------- Paths ------------------------------------
52 #
53 # Path to directory where to store the data (separate multiple locations by comma):
54 #
55 #path.data: /path/to/data
56 #
57 # Path to log files:
58 #
59 path.logs: ${{POLICY_LOGS}}
60 #
61 # ----------------------------------- Memory -----------------------------------
62 #
63 # Lock the memory on startup:
64 #
65 #bootstrap.memory_lock: true
66 #
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
69 # limit.
70 #
71 # Elasticsearch performs poorly when the system is swapping the memory.
72 #
73 # ---------------------------------- Network -----------------------------------
74 #
75 # Set the bind address to a specific IP (IPv4 or IPv6):
76 #
77 # Only allow to run on localhost so it can't be queried from outside
78 network.bind_host: ["_local_"]
79 #
80 # Set a custom port for HTTP:
81 #
82 #http.port: 9200
83 #
84 # For more information, consult the network module documentation.
85 #
86 # --------------------------------- Discovery ----------------------------------
87 #
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]"]
90 #
91 #discovery.zen.ping.unicast.hosts: ["host1", "host2"]
92 #
93 # Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
94 #
95 #discovery.zen.minimum_master_nodes: 3
96 #
97 # For more information, consult the zen discovery module documentation.
98 #
99 # ---------------------------------- Gateway -----------------------------------
100 #
101 # Block initial recovery after a full cluster restart until N nodes are started:
102 #
103 #gateway.recover_after_nodes: 3
104 #
105 # For more information, consult the gateway module documentation.
106 #
107 # ---------------------------------- Various -----------------------------------
108 #
109 # Require explicit names when deleting indices:
110 #
111 #action.destructive_requires_name: true
112 #--------------------------------- Scripting -----------------------------------
113 # These will be removed in v6.0
114 script.inline: false
115 script.stored: false
116 script.file: false