forked from loggie-io/loggie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loggie.yml
48 lines (45 loc) · 994 Bytes
/
loggie.yml
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
46
47
48
loggie:
reload:
enabled: true
period: 10s
monitor:
logger:
period: 30s
enabled: true
listeners:
filesource: ~
filewatcher: ~
reload: ~
sink: ~
queue: ~
pipeline: ~
sys: ~
discovery:
enabled: false
kubernetes:
containerRuntime: containerd
kubeconfig: ~/.kube/config
typePodFields:
namespace: "${_k8s.pod.namespace}"
podname: "${_k8s.pod.name}"
containername: "${_k8s.pod.container.name}"
nodename: "${_k8s.node.name}"
logconfig: "${_k8s.logconfig}"
defaults:
sink:
type: dev
sources:
- type: file
timestampKey: "@timestamp"
bodyKey: "message"
fieldsUnderRoot: true
addonMeta: true
addonMetaSchema:
underRoot: true
fields:
filename: "${_meta.filename}"
line: "${_meta.line}"
watcher:
maxOpenFds: 6000
http:
enabled: true