dest
This commit is contained in:
parent
2c9ea9e278
commit
005ede9e93
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||||
|
|
||||||
LABEL version="20250109231044"
|
LABEL version="20250109233517"
|
||||||
LABEL description="Debian Based syslog-ng"
|
LABEL description="Debian Based syslog-ng"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
destination d_telegraf {
|
destination d_telegraf {
|
||||||
syslog("telegraf-syslog.in.thelinuxpro.net" port(6514));
|
syslog("telegraf-syslog.in.thelinuxpro.net" port(6514));
|
||||||
};
|
};
|
||||||
filter f_default { level(info..emerg));
|
|
||||||
};
|
|
||||||
log { source(s_sys); filter(f_default); destination(d_telegraf); };
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
syslog-ng:
|
syslog-ng:
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20250109231044
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20250109233517
|
||||||
container_name: syslog-ng
|
container_name: syslog-ng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue