blob: 89c69325774fba134a515b4aef794af0d06f1e1b [file] [log] [blame]
Pramodba635b32018-01-17 12:05:14 +00001filebeat.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 - /var/log/onap/*/*/*/*.log
7 - /var/log/onap/*/*/*.log
8 - /var/log/onap/*/*.log
9 #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
10 ignore_older: 48h
11 # 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
12 clean_inactive: 96h
13
14
15# Name of the registry file. If a relative path is used, it is considered relative to the
16# data path. Else full qualified file name.
17#filebeat.registry_file: ${path.data}/registry
18
19
20output.logstash:
21 #List of logstash server ip addresses with port number.
22 #But, in our case, this will be the loadbalancer IP address.
23 #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.
BorislavG8bfc6cf2018-02-27 15:04:26 +000024 hosts: ["logstash.{{.Values.nsPrefix}}:5044"]
Pramodba635b32018-01-17 12:05:14 +000025 #If enable will do load balancing among availabe Logstash, automatically.
26 loadbalance: true
27
28 #The list of root certificates for server verifications.
29 #If certificate_authorities is empty or not set, the trusted
30 #certificate authorities of the host system are used.
31 #ssl.certificate_authorities: $ssl.certificate_authorities
32
33 #The path to the certificate for SSL client authentication. If the certificate is not specified,
34 #client authentication is not available.
35 #ssl.certificate: $ssl.certificate
36
37 #The client certificate key used for client authentication.
38 #ssl.key: $ssl.key
39
40 #The passphrase used to decrypt an encrypted key stored in the configured key file
41 #ssl.key_passphrase: $ssl.key_passphrase