anchor.diff:  }
   
   filter {
  +  # drop empty logs (eg: monit connection healthcheck)
  +  ruby {
  +    code => 'event.cancel if event["message"] == "\u0000"'
  +  }
  +
     #When behind haproxy, this is always the IP of the haproxy, not the IP of the actual host sending the data.
     #Remove it to avoid confusion
   	mutate {
  
positive.code:             codec => "json"
          }
  	<% end %>
  	
  	<% if_p("logstash_ingestor.outputs") do |ingestor_outputs| %>
  	  <% ingestor_outputs.each do | output | %>
  	    <%= output['plugin'] %> {
  
negative.code:                   "batch" => true,
                    "batch_events" => 50
                  } %>
                <% end %>
  	      <% output['options'].each do | k, v | %>
  	        <%= k %> => <%= v.inspect %>
  	      <% end %>
  