fluent-plugin-sumologic-2 0.0.5 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31b737e4630abca78b84f9d8c86cc2a8ec1e0ee7
4
- data.tar.gz: b3daf325a35d3bbc72d8ec495bdc25c65dd9203a
3
+ metadata.gz: 998a959a3169ab911c6d9a54965d1afceff41207
4
+ data.tar.gz: 0cac414091f5212a002031e6f8e3af243925475b
5
5
  SHA512:
6
- metadata.gz: 6d3e5c388afe5daf7db0d3318f77574c8a84616b0f84a714172f3aade64372f86860dcad369b1b30ec8d455ca121a6c592c54574fe4896b63db0d8d1e8ede314
7
- data.tar.gz: 6cae552a0b19a2d445fe72e4a7593ddd39b0a7ae5916bfd476240cc72f879a964d2127391c033d31f1376dbcb55b3fb1f9e40e1325da3335f41ff1b421d59507
6
+ metadata.gz: fc6338c344b20abd34a1cc85c74307b8f07ffb6729116944b0c8a1d818fe481fee201dc719e2f3b1442ad770963251c59251f1cb3bef55474bcb66f2849bacbd
7
+ data.tar.gz: 6c0157cc1c75276382dc0c3ad706048a20650ff3b252ce016d7eeac9b20662024b6607194494dcd01ecada848d5e16dce3c4b94ed74deec7d2b6faff4554242d
data/README.md CHANGED
@@ -12,7 +12,7 @@ http://www.sumologic.com/
12
12
 
13
13
  Add this line to your application's Gemfile:
14
14
 
15
- gem 'fluent-plugin-sumologic'
15
+ gem 'fluent-plugin-sumologic-2'
16
16
 
17
17
  And then execute:
18
18
 
@@ -20,7 +20,7 @@ And then execute:
20
20
 
21
21
  Or install it yourself as:
22
22
 
23
- $ gem install fluent-plugin-sumologic
23
+ $ gem install fluent-plugin-sumologic-2
24
24
 
25
25
  ## Usage
26
26
 
@@ -57,6 +57,9 @@ Or install it yourself as:
57
57
  #### verify_ssl
58
58
  - Verify ssl certificate. Default is true.
59
59
 
60
+ #### debug
61
+ - Output http debug log lines to stderr. Default is false.
62
+
60
63
  ## Contributing
61
64
 
62
65
  1. Fork it
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-sumologic-2"
7
- spec.version = "0.0.5"
7
+ spec.version = "0.1.0"
8
8
  spec.authors = ["memorycraft", "adambom"]
9
9
  spec.email = ["memorycraft@gmail.com", "adam.savitzky@gmail.com"]
10
10
  spec.description = %q{fluent plugin for sumologic}
11
11
  spec.summary = %q{sumologic is log management system. this plugin is fluent output plugin send to sumologic}
12
- spec.homepage = "https://github.com/memorycraft/fluent-plugin-sumologic"
12
+ spec.homepage = "https://github.com/adambom/fluent-plugin-sumologic"
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.rubyforge_project = "fluent-plugin-sumologic"
@@ -12,6 +12,7 @@ class Fluent::SumologicOutput< Fluent::BufferedOutput
12
12
  config_param :path, :string, :default => '/receiver/v1/http/XXX'
13
13
  config_param :format, :string, :default => 'json'
14
14
  config_param :source_name_key, :string, :default => ''
15
+ config_param :debug, :bool, :default => false
15
16
 
16
17
  include Fluent::SetTagKeyMixin
17
18
  config_set_default :include_tag_key, false
@@ -72,7 +73,7 @@ class Fluent::SumologicOutput< Fluent::BufferedOutput
72
73
  end
73
74
  http.use_ssl = true
74
75
  http.verify_mode = @verify_ssl ? OpenSSL::SSL::VERIFY_PEER : OpenSSL::SSL::VERIFY_NONE
75
- http.set_debug_output $stderr
76
+ http.set_debug_output $stderr if @debug
76
77
 
77
78
  messages_list.each do |source_name, messages|
78
79
  request = Net::HTTP::Post.new(@path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-sumologic-2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - memorycraft
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-10-19 00:00:00.000000000 Z
12
+ date: 2016-10-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -70,7 +70,7 @@ files:
70
70
  - lib/fluent/plugin/out_sumologic.rb
71
71
  - test/helper.rb
72
72
  - test/plugin/test_out_sumologic.rb
73
- homepage: https://github.com/memorycraft/fluent-plugin-sumologic
73
+ homepage: https://github.com/adambom/fluent-plugin-sumologic
74
74
  licenses:
75
75
  - MIT
76
76
  metadata: {}