Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from vpiserchia/master
Browse files Browse the repository at this point in the history
Fix destination port normalization in case of UDP
  • Loading branch information
robcowart authored Sep 13, 2017
2 parents 0c883ba + 928921b commit 1757b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logstash/conf.d/20_filter.logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ filter {
id => "netflow-v9-normalize-dst_port_from_tcp_dst_port"
rename => { "[netflow][tcp_dst_port]" => "[netflow][dst_port]" }
}
} else if [netflow][udp_src_port] {
} else if [netflow][udp_dst_port] {
mutate {
id => "netflow-v9-normalize-dst_port_from_udp_src_port"
id => "netflow-v9-normalize-dst_port_from_udp_dst_port"
rename => { "[netflow][udp_dst_port]" => "[netflow][dst_port]" }
}
}
Expand Down

0 comments on commit 1757b52

Please sign in to comment.