stats
This commit is contained in:
parent
073b481517
commit
db6aa12f53
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||||
|
|
||||||
LABEL version="20241029142406"
|
LABEL version="20241029143033"
|
||||||
LABEL description="Debian Based syslog-ng"
|
LABEL description="Debian Based syslog-ng"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
|
@ -4,7 +4,7 @@ filter f_nas81_suricata_stats { match("suricata-stats" value("PROGRAM")); };
|
||||||
|
|
||||||
parser p_suricata_stats_json {
|
parser p_suricata_stats_json {
|
||||||
json-parser(
|
json-parser(
|
||||||
prefix("suricata.")
|
prefix("suricata.stats.")
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ destination d_nas81_suricata_stats {
|
||||||
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}
|
||||||
--exclude MESSAGE)")
|
--exclude MESSAGE delimiter('\n')")
|
||||||
persist-name("d_nas81_suricata_stats")
|
persist-name("d_nas81_suricata_stats")
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -38,7 +38,7 @@ destination d_file_suricata {
|
||||||
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}
|
||||||
--exclude MESSAGE)")
|
--exclude MESSAGE delimiter('\n')")
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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:20241029142406
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241029143033
|
||||||
container_name: syslog-ng
|
container_name: syslog-ng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue