This commit is contained in:
Kameron Kenny 2024-10-29 15:16:20 -04:00
parent 6db0d021da
commit ad90ddf924
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="20241029151332" LABEL version="20241029151620"
LABEL description="Debian Based syslog-ng" LABEL description="Debian Based syslog-ng"
RUN apt-get update RUN apt-get update

View File

@ -31,8 +31,9 @@ destination d_nas81_suricata_stats {
url("http://pi501.in.thelinuxpro.net:9200/_bulk") url("http://pi501.in.thelinuxpro.net:9200/_bulk")
template( template(
"$( "$(
format-json --scope rfc5424 --scope dot-nv-pairs format-json --scope rfc5424
--exclude DATE @timestamp=${ISODATE} --exclude DATE @timestamp=${ISODATE}
--scope nv-pairs
MESSAGE='extracted' MESSAGE='extracted'
)\n" )\n"
) )
@ -44,8 +45,9 @@ destination d_file_suricata_stats {
file("/var/log/suricata_stats.log" file("/var/log/suricata_stats.log"
template( template(
"$( "$(
format-json --scope rfc5424 --scope dot-nv-pairs format-json --scope rfc5424
--exclude DATE @timestamp=${ISODATE} --exclude DATE @timestamp=${ISODATE}
--scope nv-pairs
MESSAGE='extracted' MESSAGE='extracted'
)\n" )\n"
) )

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