diff --git a/Dockerfile b/Dockerfile index 3c49c78..2ca266f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM debian:latest MAINTAINER Kameron Kenny -LABEL version="20241028174015" +LABEL version="20241028174404" LABEL description="Debian Based syslog-ng" RUN apt-get update diff --git a/config/syslog-ng.conf.d/nas81.conf b/config/syslog-ng.conf.d/nas81.conf index a7a0736..e2a1985 100644 --- a/config/syslog-ng.conf.d/nas81.conf +++ b/config/syslog-ng.conf.d/nas81.conf @@ -24,6 +24,9 @@ destination d_nas81_suricata_stats { type("") url("http://pi501.in.thelinuxpro.net:9200/_bulk") template(t_suricata_nas81_stats) + template("$(format-json --scope rfc5424 --scope dot-nv-pairs + --rekey .* --shift 1 --scope nv-pairs + --exclude DATE @timestamp=${ISODATE})") persist-name("d_nas81_suricata_stats") ); }; diff --git a/docker-compose.yml b/docker-compose.yml index 167aac4..c222a3e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: syslog-ng: build: dockerfile: Dockerfile - image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241028174015 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241028174404 container_name: syslog-ng restart: unless-stopped networks: