-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfilebeat-values.yaml
45 lines (42 loc) · 1.32 KB
/
filebeat-values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
daemonset:
filebeatConfig:
filebeat.yml: |
logging.json: true
filebeat.config:
inputs:
# Mounted `filebeat-inputs` configmap:
path: ${path.config}/inputs.d/*.yml
# Reload inputs configs as they change:
reload.enabled: false
modules:
path: ${path.config}/modules.d/*.yml
# Reload module configs as they change:
reload.enabled: false
filebeat.autodiscover:
providers:
- type: kubernetes
templates:
- condition:
equals:
kubernetes.namespace: airflow
config:
- type: container
paths:
- /var/log/containers/*${data.kubernetes.container.id}.log
multiline.pattern: '^[[:space:]]'
multiline.negate: false
multiline.match: after
include_lines: ['^{']
processors:
- decode_json_fields:
fields: ["message"]
max_depth: 1
target: ""
overwrite_keys: true
add_error_key: true
cloud:
id: instance_name:instance_id
auth: elastic:password
# # Disable these for debugging through output.console.pretty: true
# livenessProbe: ~
# readinessProbe: ~