update endpoints
This commit is contained in:
parent
005ede9e93
commit
8a6979fff5
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||||
|
|
||||||
LABEL version="20250109233517"
|
LABEL version="20250109235702"
|
||||||
LABEL description="Debian Based syslog-ng"
|
LABEL description="Debian Based syslog-ng"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
|
@ -91,7 +91,7 @@ log {
|
||||||
filter(f_nas81_suricata_stats);
|
filter(f_nas81_suricata_stats);
|
||||||
rewrite(r_brackets);
|
rewrite(r_brackets);
|
||||||
parser(p_stats_json);
|
parser(p_stats_json);
|
||||||
destination(d_nas81_suricata_stats);
|
destination(d_telegraf);
|
||||||
#destination(d_file_suricata_stats);
|
#destination(d_file_suricata_stats);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
@ -103,7 +103,7 @@ log {
|
||||||
parser(p_suricata_json);
|
parser(p_suricata_json);
|
||||||
parser(p_suricata_src_ip_geoip2_city);
|
parser(p_suricata_src_ip_geoip2_city);
|
||||||
parser(p_suricata_dest_ip_geoip2_city);
|
parser(p_suricata_dest_ip_geoip2_city);
|
||||||
destination(d_nas81_suricata);
|
destination(d_telegraf);
|
||||||
#destination(d_file_suricata);
|
#destination(d_file_suricata);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
|
@ -68,6 +68,6 @@ log {
|
||||||
rewrite(r_nginx_docker_header);
|
rewrite(r_nginx_docker_header);
|
||||||
parser(p_nginx_docker_header);
|
parser(p_nginx_docker_header);
|
||||||
parser(p_nginx_client_ip_geoip2_city);
|
parser(p_nginx_client_ip_geoip2_city);
|
||||||
destination(d_nginx_logs);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
|
@ -182,14 +182,14 @@ log {
|
||||||
parser(p_suricata_json);
|
parser(p_suricata_json);
|
||||||
parser(p_suricata_src_ip_geoip2_city);
|
parser(p_suricata_src_ip_geoip2_city);
|
||||||
parser(p_suricata_dest_ip_geoip2_city);
|
parser(p_suricata_dest_ip_geoip2_city);
|
||||||
destination(d_unifi_suricata);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
filter(f_unifi_bash_history);
|
filter(f_unifi_bash_history);
|
||||||
destination(d_unifi_bash_history);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ log {
|
||||||
parser(p_kv);
|
parser(p_kv);
|
||||||
parser(p_fw_src_ip_geoip2_city);
|
parser(p_fw_src_ip_geoip2_city);
|
||||||
parser(p_fw_dst_ip_geoip2_city);
|
parser(p_fw_dst_ip_geoip2_city);
|
||||||
destination(d_unifi_firewall);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ log {
|
||||||
parser(p_kv);
|
parser(p_kv);
|
||||||
parser(p_fw_src_ip_geoip2_city);
|
parser(p_fw_src_ip_geoip2_city);
|
||||||
parser(p_fw_dst_ip_geoip2_city);
|
parser(p_fw_dst_ip_geoip2_city);
|
||||||
destination(d_unifi_firewall);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ log {
|
||||||
parser(p_kv);
|
parser(p_kv);
|
||||||
parser(p_fw_src_ip_geoip2_city);
|
parser(p_fw_src_ip_geoip2_city);
|
||||||
parser(p_fw_dst_ip_geoip2_city);
|
parser(p_fw_dst_ip_geoip2_city);
|
||||||
destination(d_unifi_firewall);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ log {
|
||||||
parser(p_kv);
|
parser(p_kv);
|
||||||
parser(p_fw_src_ip_geoip2_city);
|
parser(p_fw_src_ip_geoip2_city);
|
||||||
parser(p_fw_dst_ip_geoip2_city);
|
parser(p_fw_dst_ip_geoip2_city);
|
||||||
destination(d_unifi_firewall);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -239,48 +239,48 @@ log {
|
||||||
parser(p_kv);
|
parser(p_kv);
|
||||||
parser(p_fw_src_ip_geoip2_city);
|
parser(p_fw_src_ip_geoip2_city);
|
||||||
parser(p_fw_dst_ip_geoip2_city);
|
parser(p_fw_dst_ip_geoip2_city);
|
||||||
destination(d_unifi_firewall);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
filter(f_unifi_dnsmasq);
|
filter(f_unifi_dnsmasq);
|
||||||
destination(d_unifi_dnsmasq);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
filter(f_unifi_systemd);
|
filter(f_unifi_systemd);
|
||||||
destination(d_unifi_systemd);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
filter(f_unifi_stahtd);
|
filter(f_unifi_stahtd);
|
||||||
destination(d_unifi_stahtd);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
filter(f_unifi_mcad);
|
filter(f_unifi_mcad);
|
||||||
destination(d_unifi_mcad);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
filter(f_unifi_hostapd);
|
filter(f_unifi_hostapd);
|
||||||
destination(d_unifi_hostapd);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
filter(f_unifi_wlan);
|
filter(f_unifi_wlan);
|
||||||
destination(d_unifi_wlan);
|
destination(d_telegraf);
|
||||||
flags(final);
|
flags(final);
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,5 +16,5 @@ log {
|
||||||
source(s_local);
|
source(s_local);
|
||||||
source(s_network_tcp);
|
source(s_network_tcp);
|
||||||
source(s_network_udp);
|
source(s_network_udp);
|
||||||
destination(d_syslog_ng_es);
|
destination(d_telegraf);
|
||||||
};
|
};
|
||||||
|
|
|
@ -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:20250109233517
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20250109235702
|
||||||
container_name: syslog-ng
|
container_name: syslog-ng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue