mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
[[filter-plugins]]
|
|
== Filter plugins
|
|
|
|
A filter plugin performs intermediary processing on an event. Filters are often applied conditionally depending on the characteristics of the event.
|
|
|
|
The following filter plugins are available:
|
|
|
|
<%-
|
|
full_list=[]
|
|
letters=[]
|
|
docs.each do |doc|
|
|
letter = doc[0]
|
|
letters << letter
|
|
-%>
|
|
<<plugins-filters-letters-<%= letter %>, <%=letter %>>>
|
|
<%- end -%>
|
|
|
|
<%-
|
|
cols=3
|
|
rows=(docs.count/cols)+1
|
|
item=0
|
|
r=0
|
|
-%>
|
|
[cols="asciidoc,asciidoc,asciidoc"]
|
|
|=======================================================================
|
|
<%- while r < rows do -%>
|
|
<%- c=0; while c < cols do -%>|<% if letters[item].nil? %> <% else %>[[plugins-filters-letters-<%=letters[item] %>]] <% end %>
|
|
<%- letter = letters[item];
|
|
arr = docs[letter]
|
|
if ! arr.nil?
|
|
arr.each do |plugin_item|
|
|
full_list << plugin_item
|
|
%>* <<plugins-filters-<%=plugin_item -%>,<%=plugin_item -%>>>
|
|
<%- end
|
|
end -%>
|
|
<%- item+=1; c+=1; end; r+=1 end -%>
|
|
|=======================================================================
|
|
|
|
<%-
|
|
full_list.each do |plugin|
|
|
-%>
|
|
include::filters/<%=plugin %>.asciidoc[]
|
|
<%- end -%>
|