ES Teamplate firewall

This commit is contained in:
Kameron Kenny 2024-06-14 10:56:01 -04:00
parent 8bea28567e
commit 921e47c7d1
No known key found for this signature in database
GPG Key ID: E5006629839D2276
3 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
FROM lscr.io/linuxserver/syslog-ng:latest FROM lscr.io/linuxserver/syslog-ng:latest
LABEL version="20240614.1.1" LABEL version="20240614.1.2"
LABEL description="syslog-ng" LABEL description="syslog-ng"
RUN mkdir -p /config RUN mkdir -p /config

View File

@ -35,7 +35,15 @@ destination d_unifi_firewall {
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}
DESCRIPTION=$(DESC)
INTERFACE_IN=$(IN)
INTERFACE_OUT=$(OUT)
IP_SOURCE=$(SRC)
IP_DESTINATION=$(DST)
PROTOCOL=$(PROTO)
PORT_SOURCE=$(SPT)
PORT_DESTINATION=$(DPT))")
persist-name("d_unifi_firewall") persist-name("d_unifi_firewall")
); );
}; };

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:240614.1.1 image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240614.1.2
container_name: syslog-ng container_name: syslog-ng
environment: environment:
- PUID=0 - PUID=0