mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- more docs!
This commit is contained in:
parent
faf2a74e05
commit
6583909df1
4 changed files with 6 additions and 4 deletions
|
@ -10,7 +10,9 @@ class LogStash::Filters::Base < LogStash::Plugin
|
|||
|
||||
config_name "filter"
|
||||
|
||||
# The type to act on. A filter
|
||||
# The type to act on. If a type is given, then this filter will only
|
||||
# act on messages with the same type. See any input plugin's "type"
|
||||
# attribute for more.
|
||||
config :type, :validate => :string
|
||||
|
||||
# If this filter is successful, add arbitrary tags to the event.
|
||||
|
|
|
@ -6,7 +6,7 @@ require "logstash/time"
|
|||
# date or timestamp as the timestamp for the event.
|
||||
#
|
||||
# For example, syslog events usually have timestamps like this:
|
||||
# "Apr 7 09:32:01"
|
||||
# "Apr 17 09:32:01"
|
||||
#
|
||||
# You would use the date format "MMM dd HH:mm:ss" to parse this.
|
||||
#
|
||||
|
|
|
@ -16,7 +16,8 @@ class LogStash::Filters::Grep < LogStash::Filters::Base
|
|||
# through.
|
||||
config :negate, :validate => :boolean, :default => false
|
||||
|
||||
# A hash of matches of field => value
|
||||
# A hash of matches of field => regexp
|
||||
# Normal regular expressions are supported here.
|
||||
config :match, :validate => :hash, :default => {}
|
||||
|
||||
# Config for grep is:
|
||||
|
|
|
@ -26,7 +26,6 @@ require "set"
|
|||
# * Int/float coercion requires >= 1.20110223.*
|
||||
# * In-line pattern definitions >= 1.20110630.*
|
||||
#
|
||||
#
|
||||
# Note:
|
||||
# CentOS 5 ships with an ancient version of pcre that does not work with grok.
|
||||
class LogStash::Filters::Grok < LogStash::Filters::Base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue