Skip to content

Commit

Permalink
Support for hash.random (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitdaniel86-zz authored and pcfens committed Nov 20, 2017
1 parent 9b4a45e commit f38bb37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/filebeat.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,9 @@ output.kafka:
<%- if @filebeat_config['output']['kafka']['partition']['hash']['reachable_only'] != nil -%>
reachable_only: <%= @filebeat_config['output']['kafka']['partition']['hash']['reachable_only'] %>
<%- end -%>
<%- if @filebeat_config['output']['kafka']['partition']['hash']['random'] != nil -%>
random: <%= @filebeat_config['output']['kafka']['partition']['hash']['random'] %>
<%- end -%>
<%- if @filebeat_config['output']['kafka']['partition']['hash']['hash'] != nil -%>
hash:
<%- @filebeat_config['output']['kafka']['partition']['hash']['hash'].each do |value| -%>
Expand Down

0 comments on commit f38bb37

Please sign in to comment.