stats
This commit is contained in:
parent
ae537d7124
commit
ea3b2c5e7d
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||||
|
|
||||||
LABEL version="20241029162418"
|
LABEL version="20241029162807"
|
||||||
LABEL description="Debian Based syslog-ng"
|
LABEL description="Debian Based syslog-ng"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
|
@ -50,6 +50,7 @@ destination d_nas81_suricata_stats {
|
||||||
format-json --scope rfc5424
|
format-json --scope rfc5424
|
||||||
--scope dot-nv-pairs
|
--scope dot-nv-pairs
|
||||||
--scope nv-pairs
|
--scope nv-pairs
|
||||||
|
--rekey .* --shift 1
|
||||||
--exclude DATE @timestamp=${ISODATE}
|
--exclude DATE @timestamp=${ISODATE}
|
||||||
)"
|
)"
|
||||||
)
|
)
|
||||||
|
@ -64,6 +65,7 @@ destination d_file_suricata_stats {
|
||||||
format-json --scope rfc5424
|
format-json --scope rfc5424
|
||||||
--scope dot-nv-pairs
|
--scope dot-nv-pairs
|
||||||
--scope nv-pairs
|
--scope nv-pairs
|
||||||
|
--rekey .* --shift 1
|
||||||
--exclude DATE @timestamp=${ISODATE}
|
--exclude DATE @timestamp=${ISODATE}
|
||||||
)\n"
|
)\n"
|
||||||
)
|
)
|
||||||
|
@ -84,7 +86,7 @@ log {
|
||||||
filter(f_nas81_suricata_stats);
|
filter(f_nas81_suricata_stats);
|
||||||
#parser(p_no_header);
|
#parser(p_no_header);
|
||||||
parser(p_no_parse);
|
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);
|
||||||
destination(d_file_suricata_stats);
|
destination(d_file_suricata_stats);
|
||||||
|
|
|
@ -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:20241029162418
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241029162807
|
||||||
container_name: syslog-ng
|
container_name: syslog-ng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue