Compare commits

...

2 Commits

Author SHA1 Message Date
Kameron Kenny 2adfa3a001 influx 2025-01-09 22:17:01 -05:00
Kameron Kenny 9d66a299de ds_store 2025-01-09 22:15:13 -05:00
5 changed files with 10 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.bak *.bak
*.swp *.swp
.DS_Store

View File

@ -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

View File

@ -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); };

View File

@ -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);
}; };

View File

@ -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: