blob: 49d818a807cb91b31435bca532d58a4e1bda0584 [file] [log] [blame]
mayankg2703eea1d3e2018-01-16 05:27:01 +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
10 # The below commented properties are for time-based rolling policy. But as the log4j 1.2x does not support time-based rolling these properties are not set
11 #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
12 #ignore_older: 48h
13 # 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
14 #clean_inactive: 96h
15
16 #Multiline properties for log4j xml log events
17 multiline.pattern: '</log4j:event>'
18 multiline.negate: true
19 multiline.match: before
20 #multiline.max_lines: 500
21 #multiline.timeout: 5s
22
23# Name of the registry file. If a relative path is used, it is considered relative to the
24# data path. Else full qualified file name.
25#filebeat.registry_file: ${path.data}/registry
26
27
28output.logstash:
29 #List of logstash server ip addresses with port number.
30 #But, in our case, this will be the loadbalancer IP address.
31 #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 +030032 hosts: ["{{.Values.config.logstashServiceName}}.{{.Release.Namespace}}:{{.Values.config.logstashPort}}"]
mayankg2703eea1d3e2018-01-16 05:27:01 +000033 #If enable will do load balancing among availabe Logstash, automatically.
34 loadbalance: true
35
36 #The list of root certificates for server verifications.
37 #If certificate_authorities is empty or not set, the trusted
38 #certificate authorities of the host system are used.
39 #ssl.certificate_authorities: $ssl.certificate_authorities
40
41 #The path to the certificate for SSL client authentication. If the certificate is not specified,
42 #client authentication is not available.
43 #ssl.certificate: $ssl.certificate
44
45 #The client certificate key used for client authentication.
46 #ssl.key: $ssl.key
47
48 #The passphrase used to decrypt an encrypted key stored in the configured key file
49 #ssl.key_passphrase: $ssl.key_passphrase