fluent-plugin-sumologic_output 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +5 -0
- data/fluent-plugin-sumologic_output.gemspec +2 -2
- data/lib/fluent/plugin/out_sumologic.rb +4 -0
- data/test/plugin/test_out_sumologic.rb +0 -47
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cbc3e6090c1c01b886a60cfa29ffc2d378aa1151a2cfeb1e192bf067810d15eb
|
4
|
+
data.tar.gz: 7a3c9f00aab9018734c01b1df56b4cac7727fe9612796cedd626eb07ab8c8865
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2052a8867e338718c573a5d62760bd700d6fc859933bdd704ed9de85105aaae02082cd4204892ffc17358389d485de8709ccb2583c1b40493401098d3be375f0
|
7
|
+
data.tar.gz: 0b301be091e054f5c37b29e7913d77f96e61886aa810a49c917df221079b2beaf7c20cb684baa642abd7c83c4c7e6a7ae770d8f0060998f24616873632fa1b10
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "fluent-plugin-sumologic_output"
|
7
|
-
gem.version = "1.
|
7
|
+
gem.version = "1.2.0"
|
8
8
|
gem.authors = ["Steven Adams", "Frank Reno"]
|
9
9
|
gem.email = ["stevezau@gmail.com", "frank.reno@me.com"]
|
10
10
|
gem.description = %q{Output plugin to SumoLogic HTTP Endpoint}
|
@@ -24,6 +24,6 @@ Gem::Specification.new do |gem|
|
|
24
24
|
gem.add_development_dependency "rake"
|
25
25
|
gem.add_development_dependency 'test-unit', '~> 3.1.0'
|
26
26
|
gem.add_development_dependency "codecov", ">= 0.1.10"
|
27
|
-
gem.add_runtime_dependency "fluentd", ">= 0.14.
|
27
|
+
gem.add_runtime_dependency "fluentd", ">= 0.14.12"
|
28
28
|
gem.add_runtime_dependency 'httpclient', '~> 2.8.0'
|
29
29
|
end
|
@@ -72,53 +72,6 @@ class SumologicOutput < Test::Unit::TestCase
|
|
72
72
|
assert_equal instance.proxy_uri, nil
|
73
73
|
end
|
74
74
|
|
75
|
-
def test_emit_invalid_url_json
|
76
|
-
config = %{
|
77
|
-
endpoint https://collectors.sumologic.com/v1/receivers/http/1234
|
78
|
-
}
|
79
|
-
driver = create_driver(config)
|
80
|
-
time = event_time
|
81
|
-
WebMock.allow_net_connect!
|
82
|
-
assert_raise RuntimeError do
|
83
|
-
driver.run do
|
84
|
-
driver.feed("output.test", time, {'foo' => 'bar', 'message' => "test"})
|
85
|
-
end
|
86
|
-
end
|
87
|
-
WebMock.disable_net_connect!
|
88
|
-
end
|
89
|
-
|
90
|
-
def test_emit_invalid_url_json_merge
|
91
|
-
config = %{
|
92
|
-
endpoint https://collectors.sumologic.com/v1/receivers/http/1234
|
93
|
-
log_format json_merge
|
94
|
-
}
|
95
|
-
driver = create_driver(config)
|
96
|
-
time = event_time
|
97
|
-
WebMock.allow_net_connect!
|
98
|
-
assert_raise RuntimeError do
|
99
|
-
driver.run do
|
100
|
-
driver.feed("output.test", time, {'foo' => 'bar', 'message' => 'test'})
|
101
|
-
end
|
102
|
-
end
|
103
|
-
WebMock.disable_net_connect!
|
104
|
-
end
|
105
|
-
|
106
|
-
def test_emit_invalid_url_text
|
107
|
-
config = %{
|
108
|
-
endpoint https://collectors.sumologic.com/v1/receivers/http/1234
|
109
|
-
log_format text
|
110
|
-
}
|
111
|
-
driver = create_driver(config)
|
112
|
-
time = event_time
|
113
|
-
WebMock.allow_net_connect!
|
114
|
-
assert_raise RuntimeError do
|
115
|
-
driver.run do
|
116
|
-
driver.feed("output.test", time, {'foo' => 'bar', 'message' => 'test'})
|
117
|
-
end
|
118
|
-
end
|
119
|
-
WebMock.disable_net_connect!
|
120
|
-
end
|
121
|
-
|
122
75
|
def test_emit_text
|
123
76
|
config = %{
|
124
77
|
endpoint https://collectors.sumologic.com/v1/receivers/http/1234
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-sumologic_output
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Adams
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-07-
|
12
|
+
date: 2018-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.14.
|
76
|
+
version: 0.14.12
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.14.
|
83
|
+
version: 0.14.12
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: httpclient
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.7.6
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Output plugin to SumoLogic HTTP Endpoint
|