forked from loggie-io/loggie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loggie.yml
43 lines (40 loc) · 801 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
loggie:
reload:
enabled: true
period: 10s
monitor:
logger:
period: 30s
enabled: true
listeners:
filesource: ~
filewatcher: ~
reload: ~
sink: ~
queue: ~
pipeline: ~
normalize: ~
discovery:
enabled: false
kubernetes:
kubeconfig: ~/.kube/config
k8sFields:
namespace: "${_k8s.pod.namespace}"
podname: "${_k8s.pod.name}"
containername: "${_k8s.pod.container.name}"
nodename: "${_k8s.node.name}"
logconfig: "${_k8s.logconfig}"
defaults:
sink:
type: dev
printEvents: true
# codec:
# type: json
# pretty: true
sources:
- type: file
watcher:
cleanFiles:
maxHistory: 1
http:
enabled: true