Private GIT

Skip to content
Snippets Groups Projects
Commit c5dda61a authored by nin9s's avatar nin9s
Browse files

Update 20-dns-syslog.conf

fixed incorrect matching of request and query type and response domain to ip
parent e319d349
Branches
Tags
No related merge requests found
......@@ -74,13 +74,13 @@ filter {
# to do cached and cached reverse
if [request_from] {
if [request_from] and [message] =~ "query" {
mutate {
add_tag => [ "request and query type" ]
}
}
else if [ip_response] {
else if [ip_response] and [message] =~ "reply" {
geoip {
source => "ip_response"
}
......@@ -174,7 +174,6 @@ filter {
dns {
reverse => ["source_fqdn"]
action => "replace"
# nameserver => ["localhost"]
hit_cache_size => 4096
hit_cache_ttl => 900
failed_cache_size => 512
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment