[LOG-37]Config Elasticsearch Storage of ONAP Logs
[logging-analytics.git] / elasticstack / elasticsearch / conf / elasticsearch.properties
1 #
2 # Name of the Elasticsearch cluster.
3 # A node can only join a cluster when it shares its cluster.name with all the other nodes in the cluster. 
4 # The default name is elasticsearch, but you should change it to an appropriate name which describes the 
5 # purpose of the cluster. 
6 cluster.name: onap-logging
7 #
8 # It is better to provide different meaningful names for different elastic nodes.
9 # By default, Elasticsearch will take the 7 first character of the randomly generated uuid used as the node id. 
10 # Note that the node id is persisted and does not change when a node restarts
11 #node.name: onap-logging-data-1
12 #
13 # ---------------------------------- Network -----------------------------------
14 #
15 # This IP is published for TCP & HTTP communications.
16 # HTTP is used for REST communications.
17 # TCP is used for communication between Elasticsearch cluster nodes
18 # If you have different IPs for TCP & HTTP, you have to declare "transport.publish_host" & "http.publish_host"
19 # More info: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html
20 network.publish_host: 10.247.60.131
21 #
22 # Set a custom port for HTTP: If required, default is 9200-9300
23 # This is used for REST APIs
24 #
25 http.port: 9200
26 #
27 # Port to bind for communication between nodes. Accepts a single value or a range. 
28 # If a range is specified, the node will bind to the first available port in the range.
29 # Defaults to 9300-9400.
30 # More info: 
31 transport.tcp.port: 9300
32 # --------------------------------- Discovery ---------------------------------
33 #
34 # Pass an initial list of hosts to perform discovery when new node is started:
35 # To form a cluster with nodes on other servers, you have to provide a seed list of other nodes in the cluster 
36 # that are likely to be live and contactable. 
37 # By default, Elasticsearch will bind to the available loopback addresses and will scan ports 9300 to 9305 to try 
38 # to connect to other nodes running on the same server.
39 # More info https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html
40 discovery.zen.ping.unicast.hosts: ["10.247.60.131", "10.247.60.140", "10.247.60.142"]