lib/logstash/inputs/cloudwatch_logs.rb in logstash-input-cloudwatch_logs-1.0.0.pre vs lib/logstash/inputs/cloudwatch_logs.rb in logstash-input-cloudwatch_logs-1.0.0.pre.2
- old
+ new
@@ -27,11 +27,11 @@
default :codec, "plain"
# Log group(s) to use as an input. If `log_group_prefix` is set
# to `true`, then each member of the array is treated as a prefix
- config :log_group, :validate => :array, :required => true
+ config :log_group, :validate => :string, :list => true, :required => true
# Where to write the since database (keeps track of the date
# the last handled log stream was updated). The default will write
# sincedb files to some path matching "$HOME/.sincedb*"
# Should be a path with filename not just a directory.
@@ -47,10 +47,10 @@
# def register
public
def register
require "digest/md5"
- @logger.trace("Registering cloudwatch_logs input", :log_group => @log_group)
+ @logger.debug("Registering cloudwatch_logs input", :log_group => @log_group)
settings = defined?(LogStash::SETTINGS) ? LogStash::SETTINGS : nil
@sincedb = {}
Aws::ConfigService::Client.new(aws_options_hash)
@cloudwatch = Aws::CloudWatchLogs::Client.new(aws_options_hash)