Skip to content

Commit

Permalink
Merge pull request elastic#360 from jamtur01/type
Browse files Browse the repository at this point in the history
Made type override behaviour more clear
  • Loading branch information
jordansissel committed Feb 14, 2013
2 parents a3a914a + aa52a37 commit 26d8ae7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/logstash/inputs/base.rb
Expand Up @@ -12,12 +12,17 @@ class LogStash::Inputs::Base < LogStash::Plugin
# Label this input with a type.
# Types are used mainly for filter activation.
#
#
# If you create an input with type "foobar", then only filters
# which also have type "foobar" will act on them.
#
# The type is also stored as part of the event itself, so you
# can also use the type to search for in the web interface.
#
# If you try to set a type on an event that already has one (for
# example when you send an event from a shipper to an indexer) then
# a new input will not override the existing type. A type set at
# the shipper stays with that event for its life even
# when sent to another LogStash server.
config :type, :validate => :string, :required => true

# Set this to true to enable debugging on an input.
Expand Down

0 comments on commit 26d8ae7

Please sign in to comment.