This commit is contained in:
Kameron Kenny 2024-10-28 18:03:27 -04:00
parent 38087972a5
commit 39c581fdce
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="20241028180122" LABEL version="20241028180327"
LABEL description="Debian Based syslog-ng" LABEL description="Debian Based syslog-ng"
RUN apt-get update RUN apt-get update

View File

@ -3,8 +3,10 @@ filter f_nas81_host { match("nas81" value("HOST")); };
filter f_nas81_suricata_stats { match("stats" value("MESSAGE")); }; filter f_nas81_suricata_stats { match("stats" value("MESSAGE")); };
parser p_suricata_stats_json { parser p_suricata_stats_json {
json-parser(
marker("stats:") marker("stats:")
json-parser(prefix("suricata.stats.")); prefix("suricata.stats.")
);
}; };
destination d_nas81_suricata { destination d_nas81_suricata {

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