Skip to content

Commit

Permalink
Enables codec entries for outputs in the ingestor_syslog job.
Browse files Browse the repository at this point in the history
When settings the property ingestor_syslog.ouputs with additional logstash outputs
the codec field was being set to an string. According to the documentation
the codec field value for any available output is an object and
not a string or integer.

Signed-off-by: Alan Moran <bonzofenix@gmail.com>
  • Loading branch information
Joe Goller authored and bonzofenix committed Apr 3, 2019
1 parent fc550af commit 799a42d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ output {
%>
<% end %>
<% output['options'].each do | k, v | %>
<%= k %> => <%= v.inspect %>
<% if k == 'codec' %>
<%= k %> => <%= v %>
<% else %>
<%= k %> => <%= v.inspect %>
<% end %>
<% end %>
}
<% end %>
Expand Down

0 comments on commit 799a42d

Please sign in to comment.