stats
This commit is contained in:
parent
f472efcb2a
commit
00e12a7891
|
@ -1,7 +1,7 @@
|
|||
FROM debian:latest
|
||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||
|
||||
LABEL version="20241028174708"
|
||||
LABEL version="20241028175549"
|
||||
LABEL description="Debian Based syslog-ng"
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
@ -6,6 +6,10 @@ parser p_suricata_stats_json {
|
|||
json-parser(prefix(".suricata.stats."));
|
||||
};
|
||||
|
||||
parser p_suricata_stats_stats {
|
||||
json-parser( "${MESSAGE.stats}" );
|
||||
};
|
||||
|
||||
destination d_nas81_suricata {
|
||||
elasticsearch-http(
|
||||
index("nas81-suricata")
|
||||
|
@ -36,6 +40,7 @@ log {
|
|||
filter(f_nas81_host);
|
||||
filter(f_suricata);
|
||||
filter(f_nas81_suricata_stats);
|
||||
parser(p_suricata_stats_stats);
|
||||
parser(p_suricata_stats_json);
|
||||
destination(d_nas81_suricata_stats);
|
||||
flags(final);
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
syslog-ng:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241028174708
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241028175549
|
||||
container_name: syslog-ng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue