Add missing filebeat sidecars for Pomba
[oom.git] / kubernetes / pomba / resources / config / log / filebeat / filebeat.yml
1 filebeat.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     - /opt/app/logs/EELF/*/*.log
7     - /opt/app/logs/EELF/*.log
8     - /var/log/onap/*/*/*/*.log
9     - /var/log/onap/*/*/*.log
10     - /var/log/onap/*/*.log
11     - /var/log/onap/*.log
12     - /logs/*/*.log
13     - /logs/*.log
14
15   #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
16   ignore_older: 48h
17   # 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
18   clean_inactive: 96h
19
20
21 # Name of the registry file. If a relative path is used, it is considered relative to the
22 # data path. Else full qualified file name.
23 #filebeat.registry_file: ${path.data}/registry
24
25
26 output.logstash:
27   #List of logstash server ip addresses with port number.
28   #But, in our case, this will be the loadbalancer IP address.
29   #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.
30   hosts: ["{{.Values.config.logstashServiceName}}.{{.Release.Namespace}}:{{.Values.config.logstashPort}}"]
31   #If enable will do load balancing among availabe Logstash, automatically.
32   loadbalance: true
33
34   #The list of root certificates for server verifications.
35   #If certificate_authorities is empty or not set, the trusted
36   #certificate authorities of the host system are used.
37   #ssl.certificate_authorities: $ssl.certificate_authorities
38
39   #The path to the certificate for SSL client authentication. If the certificate is not specified,
40   #client authentication is not available.
41   #ssl.certificate: $ssl.certificate
42
43   #The client certificate key used for client authentication.
44   #ssl.key: $ssl.key
45
46   #The passphrase used to decrypt an encrypted key stored in the configured key file
47   #ssl.key_passphrase: $ssl.key_passphrase