--- title: logstash docs for <%= section %>s/<%= name %> layout: content_right ---

<%= name %>

Milestone: <%= @milestone %>

<%= description %> <% if !@flags.empty? -%> <% end -%>

Synopsis

This is what it might look like in your config file:
<% if section == "codec" -%>
# with an input plugin:
# you can also use this codec with an output.
input { 
  file { 
    codec => <%= synopsis.split("\n").map { |l| "  #{l}" }.join("\n") %>
  }
}
<% else -%>
<%= section %> {
  <%= synopsis %>
}
<% end -%>

Details

<% sorted_attributes.each do |name, config| -%> <% if name.is_a?(Regexp) name = "/" + name.to_s.gsub(/^\(\?-mix:/, "").gsub(/\)$/, "") + "/" is_regexp = true else is_regexp = false end -%>

<%= name %><%= " (required setting)" if config[:required] %> <%= " DEPRECATED" if config[:deprecated] %>

<%= config[:description] %> <% end -%>
This is documentation from <%= file %>