fuel-plugin-lma-collector/deployment_scripts/puppet/modules/heka/templates/encoder/es_json.toml.erb

9 lines
260 B
Plaintext

[<%= @title %>_encoder]
type = "ESJsonEncoder"
index = "<%= @index %>"
es_index_from_timestamp = <%= @es_index_from_timestamp %>
timestamp = "<%= @timestamp %>"
<% if @fields -%>
fields = [ <%= @fields.sort.collect{ |x| '"%s"' % x }.join(", ") %> ]
<% end -%>