From 73b6a9186533ca63df285cc8f5d61e1f59676ef9 Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Wed, 30 Oct 2024 09:18:42 -0400 Subject: [PATCH] stats --- Dockerfile | 2 +- config/syslog-ng.conf.d/unifi.conf | 8 +++----- docker-compose.yml | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9754370..aae9ebf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM debian:latest MAINTAINER Kameron Kenny -LABEL version="20241030091534" +LABEL version="20241030091842" LABEL description="Debian Based syslog-ng" RUN apt-get update diff --git a/config/syslog-ng.conf.d/unifi.conf b/config/syslog-ng.conf.d/unifi.conf index c865054..9f5c91d 100644 --- a/config/syslog-ng.conf.d/unifi.conf +++ b/config/syslog-ng.conf.d/unifi.conf @@ -49,11 +49,9 @@ parser p_suricata_src_ip_geoip2_city { }; template t_elastic { - template( - "$(format-json --scope rfc5424 --scope dot-nv-pairs - --rekey .* --shift 1 --scope nv-pairs - --exclude DATE @timestamp=${ISODATE})" - ); + "$(format-json --scope rfc5424 --scope dot-nv-pairs + --rekey .* --shift 1 --scope nv-pairs + --exclude DATE @timestamp=${ISODATE})" }; destination d_unifi_fw { file("/var/log/unifi_fw.log"); }; diff --git a/docker-compose.yml b/docker-compose.yml index 294f6e2..e230d8e 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:20241030091534 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241030091842 container_name: syslog-ng restart: unless-stopped networks: