This commit is contained in:
Kameron Kenny 2024-10-30 10:40:14 -04:00
parent ba25fc9fe2
commit 5a11053f54
No known key found for this signature in database
GPG Key ID: E5006629839D2276
1 changed files with 1 additions and 12 deletions

View File

@ -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);