logstash-output-awslogs 0.1.9 → 0.1.10

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: 976089b21d8679e1a4a82a82e496257ad6085a26
4
- data.tar.gz: e05ab955c846840ca2e91d89520db15dc9cff0d3
3
+ metadata.gz: 19a24fc8ec53b6f1aa7c2a42d2a1caa9e283960b
4
+ data.tar.gz: 972c27ef7ca2dfd7f7d6f84c710a9fdd6fd20a75
5
5
  SHA512:
6
- metadata.gz: 3fb50d9e90d952643b4002be3f252a3fa6aa1fd690384a160ece3f469223a0def2e34ead061f883df113bb882f7de10c2c0ad71cb33f35d64383c21359c4a1a7
7
- data.tar.gz: '04870b92f6126ef8a297afa9a0bfef6f55b7ac630d5499d15fa67a9a06d62037dab5df10f32e4951690bba00190557ad6f7e45a545ca75eee3fbe0e212091964'
6
+ metadata.gz: 44676bc3a7ae7491843cc0440ea52c72d9f97a8d1689a99b4410dec7adc99188e27eddb021290c3411af34394a60ebb545cdefe16455cb522757ef590a4f58bf
7
+ data.tar.gz: b79b2661c24cf73751aa3cae1034002f3a1f6815b2f9cd20a10c2f85ed4c767ada1c03199b126553dd16e173c5e3406846d5418885f9e7020c1742b7dc1a0ddf
@@ -55,14 +55,14 @@ class LogStash::Outputs::Awslogs < LogStash::Outputs::Base
55
55
  rescue Aws::CloudWatchLogs::Errors::ResourceNotFoundException => e
56
56
  @logger.info("Will create log group/stream and retry")
57
57
  begin
58
- @client.create_log_group(:log_group_name => send_opts[:log_group_name])
58
+ @client.create_log_group(:log_group_name => event_log_group_name)
59
59
  rescue Aws::CloudWatchLogs::Errors::ResourceAlreadyExistsException => e
60
- @logger.info("Log group #{send_opts[:log_group_name]} already exists")
60
+ @logger.info("Log group #{event_log_group_name} already exists")
61
61
  rescue Exception => e
62
62
  @logger.error(e)
63
63
  end
64
64
  begin
65
- @client.create_log_stream(:log_group_name => send_opts[:log_group_name], :log_stream_name => send_opts[:log_stream_name])
65
+ @client.create_log_stream(:log_group_name => event_log_group_name, :log_stream_name => event_log_stream_name)
66
66
  rescue Aws::CloudWatchLogs::Errors::ResourceAlreadyExistsException => e
67
67
  @logger.info("Log stream #{send_opts[:log_stream_name]} already exists")
68
68
  rescue Exception => e
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-awslogs'
3
- s.version = '0.1.9'
3
+ s.version = '0.1.10'
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.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Klyba