expose rsyslog

main
Alpha Chen 1 year ago
parent 99b80cc8d8
commit 5484308a72
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -105,7 +105,7 @@
target_label: 'container'
- job_name: syslog
syslog:
listen_address: 0.0.0.0:1514
listen_address: 0.0.0.0:514
listen_protocol: tcp
idle_timeout: 60s
label_structured_data: yes
@ -146,7 +146,7 @@
restart: true
command: -config.file=/mnt/config/promtail.yml
ports:
- "1514:1514"
- "514:514"
volumes:
- /var/log:/var/log
- /var/run/docker.sock:/var/run/docker.sock
@ -163,7 +163,7 @@
*.* action(type="omfwd"
protocol="tcp"
target="127.0.0.1"
port="1514"
port="514"
Template="RSYSLOG_SyslogProtocol23Format"
TCP_Framing="octet-counted"
KeepAlive="on")

Loading…
Cancel
Save