blob: 49197d3b8246c97706d9d5f419695316c3ae1e9c [file] [log] [blame]
LiZid87e8b82018-03-14 22:07:08 -04001filebeat.prospectors:
2#it is mandatory, in our case it's log
3- input_type: log
4 #This is the canolical path as mentioned in logback.xml, *.* means it will monitor all files in the directory.
5 paths:
6 - /home/esr/works/logs/*.log
7# - /var/log/onap/*/*/*/*.log
8# - /var/log/onap/*/*/*.log
9# - /var/log/onap/*/*.log
10 #Files older than this should be ignored.In our case it will be 48 hours i.e. 2 days. It is a helping flag for clean_inactive
11 ignore_older: 48h
12 # 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
13 clean_inactive: 96h
14
15
16# Name of the registry file. If a relative path is used, it is considered relative to the
17# data path. Else full qualified file name.
18#filebeat.registry_file: ${path.data}/registry
19
20
21output.logstash:
22 #List of logstash server ip addresses with port number.
23 #But, in our case, this will be the loadbalancer IP address.
24 #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.
BorislavG5f3b6192018-03-25 18:12:38 +030025 hosts: ["{{.Values.config.logstashServiceName}}.{{.Release.Namespace}}:{{.Values.config.logstashPort}}"]
LiZid87e8b82018-03-14 22:07:08 -040026 #If enable will do load balancing among availabe Logstash, automatically.
27 loadbalance: true
28
29 #The list of root certificates for server verifications.
30 #If certificate_authorities is empty or not set, the trusted
31 #certificate authorities of the host system are used.
32 #ssl.certificate_authorities: $ssl.certificate_authorities
33
34 #The path to the certificate for SSL client authentication. If the certificate is not specified,
35 #client authentication is not available.
36 #ssl.certificate: $ssl.certificate
37
38 #The client certificate key used for client authentication.
39 #ssl.key: $ssl.key
40
41 #The passphrase used to decrypt an encrypted key stored in the configured key file
42 #ssl.key_passphrase: $ssl.key_passphrase