stats
This commit is contained in:
parent
ad90ddf924
commit
f669438abd
|
@ -1,7 +1,7 @@
|
|||
FROM debian:latest
|
||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||
|
||||
LABEL version="20241029151620"
|
||||
LABEL version="20241029153234"
|
||||
LABEL description="Debian Based syslog-ng"
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
@ -12,6 +12,10 @@ rewrite r_set_message {
|
|||
set("extracted", value("MESSAGE"));
|
||||
};
|
||||
|
||||
rewrite r_stats_rename {
|
||||
rename("suricata.stats" "suricata_stats");
|
||||
};
|
||||
|
||||
destination d_nas81_suricata {
|
||||
elasticsearch-http(
|
||||
index("nas81-suricata")
|
||||
|
@ -67,6 +71,7 @@ log {
|
|||
filter(f_nas81_host);
|
||||
filter(f_nas81_suricata_stats);
|
||||
parser(p_suricata_stats_json);
|
||||
rewrite(r_stats_rename);
|
||||
destination(d_nas81_suricata_stats);
|
||||
destination(d_file_suricata_stats);
|
||||
flags(final);
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
syslog-ng:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241029151620
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241029153234
|
||||
container_name: syslog-ng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue