From 88b55ee0730cc99c5e178b25fde30bf703e13568 Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Fri, 7 Jun 2024 18:09:17 -0400 Subject: [PATCH] persist --- Dockerfile | 2 +- config/syslog-ng.conf | 8 ++++++++ docker-compose.yml | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index febd97a..200195b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM lscr.io/linuxserver/syslog-ng:latest -LABEL version="20240607.1.4" +LABEL version="20240607.1.5" LABEL description="syslog-ng" RUN mkdir -p /config diff --git a/config/syslog-ng.conf b/config/syslog-ng.conf index c5a3b4e..75a985d 100644 --- a/config/syslog-ng.conf +++ b/config/syslog-ng.conf @@ -33,6 +33,7 @@ destination d_unifi_firewall { user("elastic") password("forty6and2") url("http://pi501.in.thelinuxpro.net:9200/_bulk") + persist-name("d_unifi_firewall") ); }; @@ -43,6 +44,7 @@ destination d_unifi_dnsmasq { user("elastic") password("forty6and2") url("http://pi501.in.thelinuxpro.net:9200/_bulk") + persist-name("d_unifi_dnsmasq") ); }; @@ -53,6 +55,7 @@ destination d_unifi_systemd { user("elastic") password("forty6and2") url("http://pi501.in.thelinuxpro.net:9200/_bulk") + persist-name("d_unifi_systemd") ); }; @@ -63,6 +66,7 @@ destination d_unifi_stahtd { user("elastic") password("forty6and2") url("http://pi501.in.thelinuxpro.net:9200/_bulk") + persist-name("d_unifi_stahtd") ); }; @@ -73,6 +77,7 @@ destination d_unifi_mcad { user("elastic") password("forty6and2") url("http://pi501.in.thelinuxpro.net:9200/_bulk") + persist-name("d_unifi_mcad") ); }; @@ -83,6 +88,7 @@ destination d_unifi_hostapd { user("elastic") password("forty6and2") url("http://pi501.in.thelinuxpro.net:9200/_bulk") + persist-name("d_unifi_hostapd") ); }; @@ -93,6 +99,7 @@ destination d_unifi_wlan { user("elastic") password("forty6and2") url("http://pi501.in.thelinuxpro.net:9200/_bulk") + persist-name("d_unifi_wlan") ); }; @@ -103,6 +110,7 @@ destination d_syslog_ng_es { user("elastic") password("forty6and2") url("http://pi501.in.thelinuxpro.net:9200/_bulk") + persist-name("d_syslog_ng_es") ); }; diff --git a/docker-compose.yml b/docker-compose.yml index 4c06b17..b8ee641 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: syslog-ng: build: dockerfile: Dockerfile - image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240607.1.4 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240607.1.5 container_name: syslog-ng environment: - PUID=0