Skip to content

Commit

Permalink
Merge pull request elastic#954 from kurtado/doc/input/base
Browse files Browse the repository at this point in the history
remove incorrect type statement, minor mods
  • Loading branch information
jordansissel committed Jan 20, 2014
2 parents 2a0566f + acbc9d8 commit aab3ad0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions lib/logstash/inputs/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require "logstash/config/mixin"
require "logstash/codecs/base"

# This is the base class for logstash inputs.
# This is the base class for Logstash inputs.
class LogStash::Inputs::Base < LogStash::Plugin
include LogStash::Config::Mixin
config_name "input"
Expand All @@ -15,17 +15,14 @@ class LogStash::Inputs::Base < LogStash::Plugin
#
# 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.
# The type is stored as part of the event itself, so you can
# also use the type to search for it 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.
# when sent to another Logstash server.
config :type, :validate => :string

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

0 comments on commit aab3ad0

Please sign in to comment.