fuel-plugin-lma-collector/deployment_scripts/puppet/modules/heka/templates/output/http.toml.erb

16 lines
379 B
Plaintext

[<%= @title %>_output]
type = "HttpOutput"
message_matcher = "<%= @message_matcher %>"
encoder = "<%= @encoder %>_encoder"
address = "<%= @url %>"
<% if @username -%>
username = "<%= @username %>"
<% end -%>
<% if @password -%>
password = "<%= @password %>"
<% end -%>
<% unless @timeout.nil? -%>
http_timeout = <%= @timeout.to_i() * 1000 %>
<% end -%>
method = "<%= @method %>"