Skip to content

Commit

Permalink
Merge pull request #76 from redBorder/development
Browse files Browse the repository at this point in the history
Release 3.2.1
  • Loading branch information
malvads authored Nov 21, 2024
2 parents f498cfd + 623740d commit ad92285
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
cookbook-logstash CHANGELOG
===============

## 3.2.1

- Juan Soto
- [2beed53] Put default direction back
- [9f3d8c6] Add way to manage three scenearios to tagging

## 3.2.0

- Pablo Pérez
Expand Down
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
maintainer_email 'git@redborder.com'
license 'AGPL-3.0'
description 'Installs/Configures cookbook-logstash'
version '3.2.0'
version '3.2.1'
6 changes: 4 additions & 2 deletions resources/templates/default/sflow_tagging.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ filter {
if homenets.any? {|subnet| subnet.include?(event.get('ip_src')) }
if homenets.any? {|subnet| subnet.include?(event.get('ip_dst')) }
event.set('direction', 'internal')
else
event.set('direction', 'downstream')
else
event.set('direction', 'upstream')
end
elsif homenets.any? {|subnet| subnet.include?(event.get('ip_dst')) }
event.set('direction', 'downstream')
end
"
}
Expand Down

0 comments on commit ad92285

Please sign in to comment.