Skip to content

Commit

Permalink
Put default direction back
Browse files Browse the repository at this point in the history
  • Loading branch information
jsotofernandez committed Nov 11, 2024
1 parent 9f3d8c6 commit 2beed53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/templates/default/sflow_tagging.conf.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
filter {

# Default direction
mutate {
add_field => {
"direction" => "upstream"
}
}

if ![tag] or [tag] == 0 {
<% @flow_nodes.select{|s| s[:ipaddress] and s["redborder"] and s["redborder"]["homenets"] and !s["redborder"]["blocked"]}.each do |flow_node| %>
Expand Down

0 comments on commit 2beed53

Please sign in to comment.