X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fappc%2Fresources%2Fconfig%2Flog%2Ffilebeat%2Flog4j%2Ffilebeat.yml;h=52161aafad61263a387f197cd33cc7023ceda865;hb=13fed1118cedf88ea65a92d27f550d02fe23c41a;hp=79c9a08a79e9e7e918ba74e294dd80bebdad17a7;hpb=ce7844b207021251ec76a5aa5d7b8c1de3555a12;p=oom.git diff --git a/kubernetes/appc/resources/config/log/filebeat/log4j/filebeat.yml b/kubernetes/appc/resources/config/log/filebeat/log4j/filebeat.yml index 79c9a08a79..52161aafad 100644 --- a/kubernetes/appc/resources/config/log/filebeat/log4j/filebeat.yml +++ b/kubernetes/appc/resources/config/log/filebeat/log4j/filebeat.yml @@ -29,7 +29,7 @@ output.logstash: #List of logstash server ip addresses with port number. #But, in our case, this will be the loadbalancer IP address. #For the below property to work the loadbalancer or logstash should expose 5044 port to listen the filebeat events or port in the property should be changed appropriately. - hosts: ["logstash.onap-log:5044"] + hosts: ["logstash.{{.Release.Namespace}}:5044"] #If enable will do load balancing among availabe Logstash, automatically. loadbalance: true