geoip
This commit is contained in:
parent
070725bc35
commit
ba25fc9fe2
|
@ -56,17 +56,16 @@ parser p_bind_client_ip_geoip2_city {
|
||||||
};
|
};
|
||||||
|
|
||||||
destination d_bind_logs {
|
destination d_bind_logs {
|
||||||
elasticsearch-http(
|
elasticsearch-http(
|
||||||
index("bind9-logs")
|
index("bind9-logs")
|
||||||
type("")
|
type("")
|
||||||
user("elastic")
|
user("elastic")
|
||||||
password("forty6and2")
|
password("forty6and2")
|
||||||
url("http://pi501.in.thelinuxpro.net:9200/_bulk")
|
url("http://pi501.in.thelinuxpro.net:9200/_bulk")
|
||||||
template("$(format-json --scope rfc5424 --scope dot-nv-pairs
|
template("$(format-json --scope rfc5424 --scope dot-nv-pairs
|
||||||
--rekey .* --shift 1 --scope nv-pairs
|
--rekey .* --shift 1 --scope nv-pairs
|
||||||
--exclude DATE @timestamp=${ISODATE})")
|
--exclude DATE @timestamp=${ISODATE})")
|
||||||
persist-name("d_bind_logs")
|
persist-name("d_bind_logs"));
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
|
|
Loading…
Reference in New Issue