stats
This commit is contained in:
parent
f9bd09261e
commit
e3570ec50d
|
@ -1,7 +1,7 @@
|
|||
FROM debian:latest
|
||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||
|
||||
LABEL version="20241029160014"
|
||||
LABEL version="20241029160938"
|
||||
LABEL description="Debian Based syslog-ng"
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
@ -8,6 +8,12 @@ parser p_suricata_stats_json {
|
|||
);
|
||||
};
|
||||
|
||||
parser p_no_header {
|
||||
syslog-parser(
|
||||
flags(no-header)
|
||||
);
|
||||
};
|
||||
|
||||
rewrite r_set_message {
|
||||
set("extracted", value("MESSAGE"));
|
||||
};
|
||||
|
@ -36,6 +42,8 @@ destination d_nas81_suricata_stats {
|
|||
template(
|
||||
"$(
|
||||
format-json --scope rfc5424
|
||||
--scope dot-nv-pairs
|
||||
--scope nv-pairs
|
||||
--exclude DATE @timestamp=${ISODATE}
|
||||
MESSAGE='extracted'
|
||||
)\n"
|
||||
|
@ -49,6 +57,8 @@ destination d_file_suricata_stats {
|
|||
template(
|
||||
"$(
|
||||
format-json --scope rfc5424
|
||||
--scope dot-nv-pairs
|
||||
--scope nv-pairs
|
||||
--exclude DATE @timestamp=${ISODATE}
|
||||
MESSAGE='extracted'
|
||||
)\n"
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
syslog-ng:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241029160014
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241029160938
|
||||
container_name: syslog-ng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue