Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
Prepare release 1.0.0.pre2
Browse files Browse the repository at this point in the history
Feat: Un-break the 1.0 breaking change

Fix: Relax constraint and fix logging to support Logstash 2.4
  • Loading branch information
lukewaite committed Jun 28, 2017
1 parent 1bac509 commit b4b7290
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Release Notes for `logstash-input-cloudwatch_logs`

## v1.0.0 Pre-Release (2017-06-24)
## v1.0.0.pre2 Pre-Release 2 (2017-06-28)
* Remove the breaking change in v1.0.0.pre. `log_group` is now a `string` supporting `lists`, allowing either notation
* Change startup log from TRACE to DEBUG, supporting Logstash 2.4
* Relax the contstraint on `logstash-mixin-aws` supporting Logstash 2.4

## v1.0.0.pre Pre-Release 1 (2017-06-24)
* BREAKING CHANGE: `log_group` must now be an array, adds support for specifying multiple groups or prefixes (Fixes [#13](https://github.com/lukewaite/logstash-input-cloudwatch-logs/issues/13))
* Refactored ingestion, fixes multiple memory leaks (Fixes [#24](https://github.com/lukewaite/logstash-input-cloudwatch-logs/issues/4))
* Pull only log_events since last ingestion (Fixes [#10](https://github.com/lukewaite/logstash-input-cloudwatch-logs/issues/10))
Expand Down
4 changes: 2 additions & 2 deletions lib/logstash/inputs/cloudwatch_logs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class LogStash::Inputs::CloudWatch_Logs < LogStash::Inputs::Base

# 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
Expand All @@ -49,7 +49,7 @@ class LogStash::Inputs::CloudWatch_Logs < LogStash::Inputs::Base
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 = {}

Expand Down
4 changes: 2 additions & 2 deletions logstash-input-cloudwatch_logs.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|

s.name = 'logstash-input-cloudwatch_logs'
s.version = '1.0.0.pre'
s.version = '1.0.0.pre.2'
s.licenses = ['Apache License (2.0)']
s.summary = 'Stream events from CloudWatch Logs.'
s.description = 'This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program'
Expand All @@ -21,7 +21,7 @@ Gem::Specification.new do |s|

# Gem dependencies
s.add_runtime_dependency 'logstash-core-plugin-api', '>= 1.60', '<= 2.99'
s.add_runtime_dependency 'logstash-mixin-aws', '>= 4.2.0'
s.add_runtime_dependency 'logstash-mixin-aws', '>= 4.0.0'
s.add_runtime_dependency 'stud', '~> 0.0.22'

s.add_development_dependency 'logstash-devutils'
Expand Down

0 comments on commit b4b7290

Please sign in to comment.