Fix Elasticsearch template issue
[oom.git] / kubernetes / log / resources / logstash / pipeline / onap-pipeline.conf
index ed634ed..986abe4 100644 (file)
@@ -224,7 +224,7 @@ output {
 
 #can specify one or a list of hosts. If sniffing is set, one is enough and others will be auto-discovered
 ##Also protocol can be specified like ["http://10.247.186.12:9200"]
- hosts => ["http://elasticsearch.onap-log:9200"]
+ hosts => ["http://elasticsearch.{{.Values.nsPrefix}}-log:9200"]
 
 
  ## This setting asks Elasticsearch for the list of all cluster nodes and adds them to the hosts list. Default is false.
@@ -246,7 +246,7 @@ output {
 
  ######### Document configurations #########
 
- index => "onaplogs-%{+YYYY.MM.dd}"
+ index => "logstash-%{+YYYY.MM.dd}"
  document_type => "logs"
 
  ## This can be used to associate child documents with a parent using the parent ID.