Compare commits
2 Commits
cb973c3c66
...
2adfa3a001
Author | SHA1 | Date |
---|---|---|
|
2adfa3a001 | |
|
9d66a299de |
|
@ -1,2 +1,3 @@
|
||||||
*.bak
|
*.bak
|
||||||
*.swp
|
*.swp
|
||||||
|
.DS_Store
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||||
|
|
||||||
LABEL version="20241030100627"
|
LABEL version="20250109220036"
|
||||||
LABEL description="Debian Based syslog-ng"
|
LABEL description="Debian Based syslog-ng"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
destination d_telegraf {
|
||||||
|
syslog("telegraf.in.thelinuxpro.net" port(6514));
|
||||||
|
};
|
||||||
|
filter f_default { level(info..emerg));
|
||||||
|
};
|
||||||
|
log { source(s_sys); filter(f_default); destination(d_telegraf); };
|
|
@ -65,6 +65,6 @@ log {
|
||||||
parser(p_bind_docker_header);
|
parser(p_bind_docker_header);
|
||||||
parser(p_client_ip_port);
|
parser(p_client_ip_port);
|
||||||
parser(p_bind_client_ip_geoip2_city);
|
parser(p_bind_client_ip_geoip2_city);
|
||||||
destination(d_bind_logs);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
|
@ -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:20241030100627
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20250109220036
|
||||||
container_name: syslog-ng
|
container_name: syslog-ng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue