Skip to content

Commit

Permalink
Made type override behaviour more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 committed Feb 14, 2013
1 parent a3a914a commit aa52a37
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/logstash/inputs/base.rb
Original file line number Diff line number Diff line change
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 aa52a37

Please sign in to comment.