This commit is contained in:
Kameron Kenny 2024-10-29 14:24:06 -04:00
parent 2a711ecb7b
commit 073b481517
No known key found for this signature in database
GPG Key ID: E5006629839D2276
3 changed files with 6 additions and 4 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="20241029141957" LABEL version="20241029142406"
LABEL description="Debian Based syslog-ng" LABEL description="Debian Based syslog-ng"
RUN apt-get update RUN apt-get update

View File

@ -27,7 +27,8 @@ destination d_nas81_suricata_stats {
url("http://pi501.in.thelinuxpro.net:9200/_bulk") url("http://pi501.in.thelinuxpro.net:9200/_bulk")
template("$(format-json --scope rfc5424 --scope dot-nv-pairs template("$(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}
--exclude MESSAGE)")
persist-name("d_nas81_suricata_stats") persist-name("d_nas81_suricata_stats")
); );
}; };
@ -36,7 +37,8 @@ destination d_file_suricata {
file("/var/log/suricata.log" file("/var/log/suricata.log"
template("$(format-json --scope rfc5424 --scope dot-nv-pairs template("$(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}
--exclude MESSAGE)")
); );
}; };

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