This commit is contained in:
Kameron Kenny 2024-10-30 09:14:20 -04:00
parent 8fd4f5683e
commit 202c109dec
No known key found for this signature in database
GPG Key ID: E5006629839D2276
3 changed files with 7 additions and 5 deletions

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="20241030091150" LABEL version="20241030091420"
LABEL description="Debian Based syslog-ng" LABEL description="Debian Based syslog-ng"
RUN apt-get update RUN apt-get update

View File

@ -49,9 +49,11 @@ parser p_suricata_src_ip_geoip2_city {
}; };
template t_elastic { template t_elastic {
(format-json --scope rfc5424 --scope dot-nv-pairs templat(
"$(format-json --scope rfc5424 --scope dot-nv-pairs
--rekey .* --shift 1 --scope nv-pairs --rekey .* --shift 1 --scope nv-pairs
--exclude DATE @timestamp=${ISODATE}); --exclude DATE @timestamp=${ISODATE})"
);
}; };
destination d_unifi_fw { file("/var/log/unifi_fw.log"); }; destination d_unifi_fw { file("/var/log/unifi_fw.log"); };

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:20241030091150 image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030091420
container_name: syslog-ng container_name: syslog-ng
restart: unless-stopped restart: unless-stopped
networks: networks: