This commit is contained in:
Kameron Kenny 2024-10-29 16:14:30 -04:00
parent e3570ec50d
commit 0c770e17f5
No known key found for this signature in database
GPG Key ID: E5006629839D2276
3 changed files with 10 additions and 2 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="20241029160938" LABEL version="20241029161430"
LABEL description="Debian Based syslog-ng" LABEL description="Debian Based syslog-ng"
RUN apt-get update RUN apt-get update

View File

@ -14,6 +14,12 @@ parser p_no_header {
); );
}; };
parser p_no_parse {
syslog-parser(
flags(no-parse)
);
};
rewrite r_set_message { rewrite r_set_message {
set("extracted", value("MESSAGE")); set("extracted", value("MESSAGE"));
}; };
@ -78,6 +84,8 @@ log {
source(s_network_udp); source(s_network_udp);
filter(f_nas81_host); filter(f_nas81_host);
filter(f_nas81_suricata_stats); filter(f_nas81_suricata_stats);
parser(p_no_header);
#parser(p_no_parse);
parser(p_suricata_stats_json); parser(p_suricata_stats_json);
rewrite(r_stats_rename); rewrite(r_stats_rename);
destination(d_nas81_suricata_stats); destination(d_nas81_suricata_stats);

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