Private GIT

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

Update 20-dns-syslog.conf

parent 4968c363
Branches
Tags
No related merge requests found
......@@ -129,12 +129,7 @@ filter {
}
}
# geoip {
# source => "ip_request" target => "ip_response"
# }
# dns {
# add_field => { "source_host" => "source_fqdn" } nameserver => [ "localhost" ] reverse => [ "source_fqdn" ] action => "replace" add_tag => [ "dns_lookup" ]
# }
reverse => [ "source_fqdn" ] action => "replace" add_tag => [ "dns_lookup" ]
mutate {
add_field => {
......@@ -156,20 +151,11 @@ filter {
}
}
# else if "_grokparsefailure" in [tags] {
# drop { }
# }
output {
# stdout { codec => rubydebug }
if "pihole" in [tags]{
#stdout { codec => rubydebug }
# if [host] == "192.168.254.241" or [host] == "192.168.254.240" {
elasticsearch {
hosts => ["192.168.254.248:9200"]
user => "elastic"
password => "Service.1"
hosts => ["127.0.0.1:9200"]
manage_template => false
index => "logstash-syslog-dns-%{+YYYY.MM}"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment