Skip to content

Commit

Permalink
Merge pull request #51 from redBorder/development
Browse files Browse the repository at this point in the history
Release 2.3.1
  • Loading branch information
manegron authored Jul 17, 2024
2 parents 5350203 + c4aacf7 commit 3efc332
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cookbook-logstash CHANGELOG
===============

## 2.3.1

- Miguel Negron
- [1830258] Add missing default values on sflow normalization step

## 2.3.0

- Miguel Negrón
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 '2.3.0'
version '2.3.1'
17 changes: 17 additions & 0 deletions resources/templates/default/sflow_normalization.conf.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
filter {

# Default values
mutate {
add_field => {
"type" => "sflowv5"
"ip_protocol_version" => 4
"input_vrf" => 0
"output_vrf" => 0
"observation_id" => "default"
}
rename => {
"packets" => "pkts"
"export_proto_seqno" => "flow_sequence"
"peer_ip_src" => "sensor_ip"
}
}

# Set ip_proto
if [ip_proto] == "udp" {
mutate {
add_field => {
Expand Down

0 comments on commit 3efc332

Please sign in to comment.