summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/resources/config/log
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aai/resources/config/log')
-rw-r--r--kubernetes/aai/resources/config/log/filebeat/filebeat.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/kubernetes/aai/resources/config/log/filebeat/filebeat.yml b/kubernetes/aai/resources/config/log/filebeat/filebeat.yml
index 39cc6db9bf..8d0f36f036 100644
--- a/kubernetes/aai/resources/config/log/filebeat/filebeat.yml
+++ b/kubernetes/aai/resources/config/log/filebeat/filebeat.yml
@@ -1,3 +1,4 @@
+{{/*
# Copyright © 2018 Amdocs, Bell Canada, AT&T
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,6 +12,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+*/}}
filebeat.prospectors:
#it is mandatory, in our case it's log
@@ -25,20 +27,25 @@ filebeat.prospectors:
# Remove the registry entry for a file that is more than the specified time. In our case it will be 96 hours, i.e. 4 days. It will help to keep registry records with in limit
clean_inactive: 96h
-
+{{/*
# Name of the registry file. If a relative path is used, it is considered relative to the
# data path. Else full qualified file name.
#filebeat.registry_file: ${path.data}/registry
-
+*/}}
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.
+ # 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: ["{{.Values.config.logstashServiceName}}.{{.Release.Namespace}}:{{.Values.config.logstashPort}}"]
#If enable will do load balancing among availabe Logstash, automatically.
loadbalance: true
+{{/*
#The list of root certificates for server verifications.
#If certificate_authorities is empty or not set, the trusted
#certificate authorities of the host system are used.
@@ -53,3 +60,4 @@ output.logstash:
#The passphrase used to decrypt an encrypted key stored in the configured key file
#ssl.key_passphrase: $ssl.key_passphrase
+*/}} \ No newline at end of file