logstash-output-awslogs 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bbaa5d8875a0a0c0953b8f621545f0a7fc6ab40
4
- data.tar.gz: b0ed0c04c50f70dc5fbb9af910e05125f634d2a2
3
+ metadata.gz: 66fdfa1f573c2124d47a0fa6fe7520283b55d64c
4
+ data.tar.gz: f31ebd44b0a4b584fb594651d08aa71c2814e9b2
5
5
  SHA512:
6
- metadata.gz: 9de2dbffa4ad46c0ad35af85bef3a2927ebdc3228e2ca95645acba67073c322568306214c99e78342312ca8a63adc619538abd375af130badf77ca6ad725a9fb
7
- data.tar.gz: 975f7760655ca0c8096b3e9408adf1692a0263b4e8b0fea48c40c343e2066bae6fa508be853ef03231936c183131ddeb3c23d3b0ffdf85411dc16376db522962
6
+ metadata.gz: 5604d859864682080ebecae322c1d7287efa1c5594e9886eab9959b669fe4b876b78e09268feff4c0a3a1fda1b1a5a694de4597d099114f2c84066c503235952
7
+ data.tar.gz: ec2e7a4ca3e63ed2ad5f19533cb4fb7cc1861ccaab375a5df7b5c3a5f8fa3738415b8a0b4e9cd0c12a430b544d933644cf532f81f3826d31e42d83d563ccd100
@@ -131,6 +131,7 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
131
131
  end
132
132
  begin
133
133
  resp = @client.put_log_events(send_opts)
134
+ @next_sequence_tokens.store(next_sequence_token_key, resp.next_sequence_token)
134
135
  rescue Aws::CloudWatchLogs::Errors::ResourceNotFoundException => e
135
136
  @logger.info('Will create log group/stream and retry')
136
137
  begin
@@ -155,7 +156,6 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
155
156
  rescue Exception => e
156
157
  @logger.error("Err: #{e}; Opts: #{send_opts.each { |k,v| "#{k.to_s} : #{v.to_s}" }}")
157
158
  end
158
- @next_sequence_tokens.store(next_sequence_token_key, resp.next_sequence_token)
159
159
  end
160
160
  end # def multi_receive_encoded
161
161
  end # class LogStash::Outputs::Awslogs
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-awslogs'
3
- s.version = '0.1.13'
3
+ s.version = '0.1.14'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Writes events to AWS CloudWatch logs.'
6
6
  s.homepage = 'https://github.com/rickycook/logstash-output-awslogs'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-awslogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Klyba