Skip to content

Commit 799a42d

Browse files
Joe Gollerbonzofenix
authored andcommitted
Enables codec entries for outputs in the ingestor_syslog job.
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 <[email protected]>
1 parent fc550af commit 799a42d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jobs/ingestor_syslog/templates/config/input_and_output.conf.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@ output {
7272
%>
7373
<% end %>
7474
<% output['options'].each do | k, v | %>
75-
<%= k %> => <%= v.inspect %>
75+
<% if k == 'codec' %>
76+
<%= k %> => <%= v %>
77+
<% else %>
78+
<%= k %> => <%= v.inspect %>
79+
<% end %>
7680
<% end %>
7781
}
7882
<% end %>

0 commit comments

Comments
 (0)