Skip to content

Commit

Permalink
setting plugin_status on all plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
lusis committed Jan 14, 2012
1 parent ccdb90a commit 347831d
Show file tree
Hide file tree
Showing 44 changed files with 47 additions and 13 deletions.
2 changes: 0 additions & 2 deletions lib/logstash/filters/base.rb
Expand Up @@ -8,8 +8,6 @@ class LogStash::Filters::Base < LogStash::Plugin

config_name "filter"

plugin_status nil

# 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.
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/date.rb
Expand Up @@ -21,6 +21,7 @@
class LogStash::Filters::Date < LogStash::Filters::Base

config_name "date"
plugin_status "unstable"

# Config for date is:
# fieldname => dateformat
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/dns.rb
Expand Up @@ -30,6 +30,7 @@
class LogStash::Filters::DNS < LogStash::Filters::Base

config_name "dns"
plugin_status "unstable"

# Reverse resolve one or more fields.
config :reverse, :validate => :array
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/gelfify.rb
Expand Up @@ -5,6 +5,7 @@
# corresponding GELF levels.
class LogStash::Filters::Gelfify < LogStash::Filters::Base
config_name "gelfify"
plugin_status "unstable"

SYSLOG_LEVEL_MAP = {
0 => 3, # Emergency => FATAL
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/grep.rb
Expand Up @@ -9,6 +9,7 @@
class LogStash::Filters::Grep < LogStash::Filters::Base

config_name "grep"
plugin_status "unstable"

# Drop events that don't match
#
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/grok.rb
Expand Up @@ -11,6 +11,7 @@
# your own trivially. (See the patterns_dir setting)
class LogStash::Filters::Grok < LogStash::Filters::Base
config_name "grok"
plugin_status "unstable"

# Specify a pattern to parse with. This will match the '@message' field.
#
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/grokdiscovery.rb
Expand Up @@ -6,6 +6,7 @@
class LogStash::Filters::Grokdiscovery < LogStash::Filters::Base

config_name "grokdiscovery"
plugin_status "experimental"

public
def initialize(config = {})
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/json.rb
Expand Up @@ -6,6 +6,7 @@
class LogStash::Filters::Json < LogStash::Filters::Base

config_name "json"
plugin_status "unstable"

# Config for json is:
# source: dest
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/multiline.rb
Expand Up @@ -61,6 +61,7 @@
class LogStash::Filters::Multiline < LogStash::Filters::Base

config_name "multiline"
plugin_status "unstable"

# The regular expression to match
config :pattern, :validate => :string, :require => true
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/mutate.rb
Expand Up @@ -8,6 +8,7 @@
# TODO(sissel): Support regexp replacements like String#gsub ?
class LogStash::Filters::Mutate < LogStash::Filters::Base
config_name "mutate"
plugin_status "unstable"

# Rename one or more fields.
config :rename, :validate => :hash
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/filters/split.rb
Expand Up @@ -13,6 +13,7 @@
class LogStash::Filters::Split < LogStash::Filters::Base

config_name "split"
plugin_status "unstable"

# The string to split on. This is usually a line terminator, but can be any
# string.
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/inputs/amqp.rb
Expand Up @@ -12,6 +12,7 @@
class LogStash::Inputs::Amqp < LogStash::Inputs::Base

config_name "amqp"
plugin_status "unstable"

# Your amqp server address
config :host, :validate => :string, :required => true
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/inputs/exec.rb
Expand Up @@ -15,6 +15,7 @@
class LogStash::Inputs::Exec < LogStash::Inputs::Base

config_name "exec"
plugin_status "unstable"

# Set this to true to enable debugging on an input.
config :debug, :validate => :boolean, :default => false
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/inputs/file.rb
Expand Up @@ -11,6 +11,7 @@
# is detected and handled by this input.
class LogStash::Inputs::File < LogStash::Inputs::Base
config_name "file"
plugin_status "unstable"

# The path to the file to use as an input.
# You can use globs here, such as "/var/log/*.log"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/inputs/gelf.rb
Expand Up @@ -13,6 +13,7 @@
#
class LogStash::Inputs::Gelf < LogStash::Inputs::Base
config_name "gelf"
plugin_status "unstable"

# The address to listen on
config :host, :validate => :string, :default => "0.0.0.0"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/inputs/redis.rb
Expand Up @@ -8,6 +8,7 @@
class LogStash::Inputs::Redis < LogStash::Inputs::Base

config_name "redis"
plugin_status "unstable"

# Name is used for logging in case there are multiple instances.
# This feature has no real function and will be removed in future versions.
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/inputs/stdin.rb
Expand Up @@ -10,7 +10,7 @@ class LogStash::Inputs::Stdin < LogStash::Inputs::Base

config_name "stdin"

plugin_status "experimental"
plugin_status "unstable"

public
def register
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/inputs/stomp.rb
Expand Up @@ -4,6 +4,7 @@

class LogStash::Inputs::Stomp < LogStash::Inputs::Base
config_name "stomp"
plugin_status "unstable"

# The address of the STOMP server.
config :host, :validate => :string, :default => "localhost", :required => true
Expand Down Expand Up @@ -69,4 +70,3 @@ def run(output_queue)
subscription_handler
end # def run
end # class LogStash::Inputs::Stomp

1 change: 1 addition & 0 deletions lib/logstash/inputs/syslog.rb
Expand Up @@ -20,6 +20,7 @@
# Note: this input will start listeners on both TCP and UDP
class LogStash::Inputs::Syslog < LogStash::Inputs::Base
config_name "syslog"
plugin_status "unstable"

# The address to listen on
config :host, :validate => :string, :default => "0.0.0.0"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/inputs/tcp.rb
Expand Up @@ -12,6 +12,7 @@
class LogStash::Inputs::Tcp < LogStash::Inputs::Base

config_name "tcp"
plugin_status "unstable"

# When mode is `server`, the address to listen on.
# When mode is `client`, the address to connect to.
Expand Down
3 changes: 2 additions & 1 deletion lib/logstash/inputs/twitter.rb
Expand Up @@ -8,7 +8,8 @@
class LogStash::Inputs::Twitter < LogStash::Inputs::Base

config_name "twitter"

plugin_status "unstable"

# Your twitter username
config :user, :validate => :string, :required => true

Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/inputs/xmpp.rb
Expand Up @@ -9,6 +9,7 @@
class LogStash::Inputs::Xmpp < LogStash::Inputs::Base

config_name "xmpp"
plugin_status "unstable"

# The user or resource ID, like foo@example.com.
config :user, :validate => :string, :required => :true
Expand Down Expand Up @@ -67,4 +68,3 @@ def run(queue)
end # def run

end # def class LogStash:Inputs::Xmpp

1 change: 1 addition & 0 deletions lib/logstash/inputs/zmq.rb
Expand Up @@ -15,6 +15,7 @@
class LogStash::Inputs::Zmq < LogStash::Inputs::Base

config_name "zmq"
plugin_status "experimental"

# 0mq socket address to connect or bind to
config :address, :validate => :string, :default => "tcp://127.0.0.1:2120"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/amqp.rb
Expand Up @@ -10,6 +10,7 @@ class LogStash::Outputs::Amqp < LogStash::Outputs::Base
MQTYPES = [ "fanout", "direct", "topic" ]

config_name "amqp"
plugin_status "unstable"

# Your amqp server address
config :host, :validate => :string, :required => true
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/elasticsearch.rb
Expand Up @@ -12,6 +12,7 @@
class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base

config_name "elasticsearch"
plugin_status "stable"

# ElasticSearch server name. This is optional if your server is discoverable.
config :host, :validate => :string
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/outputs/elasticsearch_river.rb
Expand Up @@ -17,6 +17,7 @@
class LogStash::Outputs::ElasticSearchRiver < LogStash::Outputs::Base

config_name "elasticsearch_river"
plugin_status "unstable"

config :debug, :validate => :boolean, :default => false

Expand Down Expand Up @@ -172,4 +173,3 @@ def receive(event)
@mq.receive_raw(index_message)
end # def receive
end # LogStash::Outputs::ElasticSearchRiver

3 changes: 2 additions & 1 deletion lib/logstash/outputs/file.rb
Expand Up @@ -8,7 +8,8 @@
class LogStash::Outputs::File < LogStash::Outputs::Base

config_name "file"

plugin_status "unstable"

# The path to the file to write. Event fields can be used here,
# like "/var/log/logstash/%{@source_host}/%{application}"
config :path, :validate => :string, :required => true
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/ganglia.rb
Expand Up @@ -5,6 +5,7 @@
# ganglia's gmond. This is heavily based on the graphite output.
class LogStash::Outputs::Ganglia < LogStash::Outputs::Base
config_name "ganglia"
plugin_status "unstable"

# The address of the graphite server.
config :host, :validate => :string, :default => "localhost"
Expand Down
3 changes: 2 additions & 1 deletion lib/logstash/outputs/gelf.rb
Expand Up @@ -8,7 +8,8 @@
class LogStash::Outputs::Gelf < LogStash::Outputs::Base

config_name "gelf"

plugin_status "unstable"

# graylog2 server address
config :host, :validate => :string, :required => true

Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/graphite.rb
Expand Up @@ -10,6 +10,7 @@
# I can capture the metric values from the logs and emit them to graphite.
class LogStash::Outputs::Graphite < LogStash::Outputs::Base
config_name "graphite"
plugin_status "unstable"

# The address of the graphite server.
config :host, :validate => :string, :default => "localhost"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/internal.rb
Expand Up @@ -5,6 +5,7 @@
# is not useful for general deployment.
class LogStash::Outputs::Internal < LogStash::Outputs::Base
config_name "internal"
plugin_status "stable"

attr_accessor :callback

Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/loggly.rb
Expand Up @@ -25,6 +25,7 @@ def rbuf_fill
# and 'json logging' enabled.
class LogStash::Outputs::Loggly < LogStash::Outputs::Base
config_name "loggly"
plugin_status "unstable"

# The hostname to send logs to. This should target the loggly http input
# server which is usually "logs.loggly.com"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/mongodb.rb
Expand Up @@ -4,6 +4,7 @@
class LogStash::Outputs::Mongodb < LogStash::Outputs::Base

config_name "mongodb"
plugin_status "unstable"

# your mongodb host
config :host, :validate => :string, :required => true
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/nagios.rb
Expand Up @@ -40,6 +40,7 @@ class LogStash::Outputs::Nagios < LogStash::Outputs::Base
NAGIOS_WARN = 1

config_name "nagios"
plugin_status "unstable"

# The path to your nagios command file
config :commandfile, :validate => :string, :default => "/var/lib/nagios3/rw/nagios.cmd"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/null.rb
Expand Up @@ -5,6 +5,7 @@
# performance.
class LogStash::Outputs::Null < LogStash::Outputs::Base
config_name "null"
plugin_status "stable"

public
def register
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/redis.rb
Expand Up @@ -7,6 +7,7 @@
class LogStash::Outputs::Redis < LogStash::Outputs::Base

config_name "redis"
plugin_status "unstable"

# Name is used for logging in case there are multiple instances.
# TODO: delete
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/statsd.rb
Expand Up @@ -20,6 +20,7 @@ class LogStash::Outputs::Statsd < LogStash::Outputs::Base
## Regex stolen from statsd code
RESERVED_CHARACTERS_REGEX = /[\:\|\@]/
config_name "statsd"
plugin_status "unstable"

# The address of the Statsd server.
config :host, :validate => :string, :default => "localhost"
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/outputs/stdout.rb
Expand Up @@ -8,8 +8,8 @@ class LogStash::Outputs::Stdout < LogStash::Outputs::Base
end

config_name "stdout"
plugin_status "stable"

plugin_status "unstable"
# Enable debugging. Tries to pretty-print the entire event object.
config :debug, :validate => :boolean

Expand Down
3 changes: 1 addition & 2 deletions lib/logstash/outputs/stomp.rb
Expand Up @@ -3,7 +3,7 @@

class LogStash::Outputs::Stomp < LogStash::Outputs::Base
config_name "stomp"

plugin_status "unstable"

# The address of the STOMP server.
config :host, :validate => :string, :required => true
Expand Down Expand Up @@ -60,4 +60,3 @@ def receive(event)
@client.send(event.sprintf(@destination), event.to_json)
end # def receive
end # class LogStash::Outputs::Stomp

1 change: 1 addition & 0 deletions lib/logstash/outputs/tcp.rb
Expand Up @@ -12,6 +12,7 @@
class LogStash::Outputs::Tcp < LogStash::Outputs::Base

config_name "tcp"
plugin_status "unstable"

# When mode is `server`, the address to listen on.
# When mode is `client`, the address to connect to.
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/websocket.rb
Expand Up @@ -5,6 +5,7 @@
class LogStash::Outputs::Websocket < LogStash::Outputs::Base

config_name "websocket"
plugin_status "experimental"

# The address to serve websocket data from
config :host, :validate => :string, :default => "0.0.0.0"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/xmpp.rb
Expand Up @@ -7,6 +7,7 @@
# use it for PubSub or general message passing for logstash to logstash.
class LogStash::Outputs::Xmpp < LogStash::Outputs::Base
config_name "xmpp"
plugin_status "unstable"

# The user or resource ID, like foo@example.com.
config :user, :validate => :string, :required => :true
Expand Down
3 changes: 2 additions & 1 deletion lib/logstash/outputs/zabbix.rb
Expand Up @@ -50,7 +50,8 @@
class LogStash::Outputs::Zabbix < LogStash::Outputs::Base

config_name "zabbix"

plugin_status "unstable"

config :host, :validate => :string, :default => "localhost"
config :port, :validate => :number, :default => 10051
config :zabbix_sender, :validate => :string, :default => "/usr/local/bin/zabbix_sender"
Expand Down
1 change: 1 addition & 0 deletions lib/logstash/outputs/zmq.rb
Expand Up @@ -15,6 +15,7 @@
class LogStash::Outputs::Zmq < LogStash::Outputs::Base

config_name "zmq"
plugin_status "experimental"

# 0mq socket address to connect or bind to
config :address, :validate => :string, :default => "tcp://127.0.0.1:2120"
Expand Down

0 comments on commit 347831d

Please sign in to comment.