diff --git a/config/syslog-ng.conf.d/bind-dns.conf b/config/syslog-ng.conf.d/bind-dns.conf index 4abfb6e..0ef0782 100644 --- a/config/syslog-ng.conf.d/bind-dns.conf +++ b/config/syslog-ng.conf.d/bind-dns.conf @@ -55,18 +55,7 @@ parser p_bind_client_ip_geoip2_city { ); }; -destination d_bind_logs { - elasticsearch-http( - index("bind9-logs") - type("") - user("elastic") - password("forty6and2") - url("http://pi501.in.thelinuxpro.net:9200/_bulk") - template("$(format-json --scope rfc5424 --scope dot-nv-pairs - --rekey .* --shift 1 --scope nv-pairs - --exclude DATE @timestamp=${ISODATE})") - persist-name("d_bind_logs")); -}; +destination d_bind_logs { elasticsearch-http(index("bind9-logs") type("") url("http://pi501.in.thelinuxpro.net:9200/_bulk") template("$(format-json --scope rfc5424 --scope dot-nv-pairs --rekey .* --shift 1 --scope nv-pairs --exclude DATE @timestamp=${ISODATE})") persist-name("d_bind_logs")); }; log { source(s_network_udp);