-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsyslog-ng.yaml
72 lines (67 loc) · 1.49 KB
/
syslog-ng.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
helm:
repo: https://bjw-s.github.io/helm-charts
chart: app-template
version: 3.4.0
values:
controllers:
main:
type: deployment
containers:
main:
image:
repository: balabit/syslog-ng
tag: 4.8.0
args:
- --no-caps
- -f
- /config/config.yml
probes:
liveness:
type: UDP
readiness:
type: UDP
startup:
type: UDP
service:
main:
type: LoadBalancer
annotations:
"io.cilium/lb-ipam-ips": "192.168.2.15"
ports:
http:
port: 514
persistence:
config:
enabled: true
type: configMap
name: syslog-ng-config
configMaps:
config:
enabled: true
data:
config.yml: |
@version: 4.5
@include "scl.conf"
source s_network_udp {
network(
port(514)
transport("udp")
flags(no-parse)
);
};
source s_network_tcp {
network(
port(514)
transport("tcp")
flags(no-parse)
);
};
destination d_loki {
syslog("grafana-agent-node.observability.svc.cluster.local" transport("udp") port("51414"));
};
log {
source(s_network_udp);
source(s_network_tcp);
destination(d_loki);
};