stats
This commit is contained in:
parent
ea3b2c5e7d
commit
051f4469ed
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||||
|
|
||||||
LABEL version="20241029162807"
|
LABEL version="20241029163154"
|
||||||
LABEL description="Debian Based syslog-ng"
|
LABEL description="Debian Based syslog-ng"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
|
@ -8,6 +8,10 @@ parser p_suricata_stats_json {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
parser p_stats_json {
|
||||||
|
json-parser();
|
||||||
|
};
|
||||||
|
|
||||||
parser p_no_header {
|
parser p_no_header {
|
||||||
syslog-parser(
|
syslog-parser(
|
||||||
flags(no-header)
|
flags(no-header)
|
||||||
|
@ -82,10 +86,11 @@ destination d_file_suricata {
|
||||||
|
|
||||||
log {
|
log {
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
|
parser(p_no_parse);
|
||||||
filter(f_nas81_host);
|
filter(f_nas81_host);
|
||||||
filter(f_nas81_suricata_stats);
|
filter(f_nas81_suricata_stats);
|
||||||
|
parser(p_stats_json);
|
||||||
#parser(p_no_header);
|
#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);
|
||||||
|
|
|
@ -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:20241029162807
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241029163154
|
||||||
container_name: syslog-ng
|
container_name: syslog-ng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue