Skip to content

Commit

Permalink
Merge pull request #37 from redBorder/bug/#16718_sflow_enrichment_all…
Browse files Browse the repository at this point in the history
…_flow_sensors

add all sensors to the enrichment
  • Loading branch information
JPeraltaNic authored Apr 2, 2024
2 parents 5f20960 + 99c195f commit 2bf9ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/templates/default/sflow_enrichment.conf.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
filter {
<% @flow_nodes.each do |flow_node| %>
<% if !flow_node[:ipaddress].nil? and !flow_node["redborder"].nil? and flow_node["redborder"]["parent_id"].nil? and flow_node["redborder"]["blocked"]!=true %>
<% if !flow_node[:ipaddress].nil? and !flow_node["redborder"].nil? and flow_node["redborder"]["blocked"]!=true %>
if [sensor_ip] == "<%=flow_node[:ipaddress].to_s%>" {
mutate {
add_field => {
Expand Down

0 comments on commit 2bf9ba2

Please sign in to comment.