fluent-plugin-splunk-hec 1.2.1 → 1.2.2
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 +4 -4
- data/Gemfile.lock +2 -2
- data/LICENSE +73 -5
- data/VERSION +1 -1
- data/fluent-plugin-splunk-hec.gemspec +1 -1
- data/lib/fluent/plugin/out_splunk_hec.rb +2 -5
- data/lib/fluent/plugin/out_splunk_ingest_api.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ff7ecf53a148bd18736b952a0b2d3a1a846a552ef3a923603aa64fd42e2d4cf
|
|
4
|
+
data.tar.gz: b7e57c1d2db0469245600cfba62f94df9db6b28617c76722b158c6bea2ddcb03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f5c0639ce6bf0029aa0c2e96c5a4af0e5b3765c92f41bfdc94755412514f54be499e895c3207c2be170ff3cf5b3c919531ad4eab26a53cb7562f769d5b9451f
|
|
7
|
+
data.tar.gz: 2c2ead66b7c73c55414f1c6d9eaeb04112afd5394db414ae3be0f6aaeb6f82049ddfd92c46b02ead0a8f825ca5a846ac138bfddca8fbf953e0f41be4bef3b262
|
data/Gemfile.lock
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
fluent-plugin-splunk-hec (1.2.
|
|
4
|
+
fluent-plugin-splunk-hec (1.2.2)
|
|
5
5
|
activesupport (~> 5.2)
|
|
6
|
-
fluent-plugin-kubernetes_metadata_filter (~> 2.4
|
|
6
|
+
fluent-plugin-kubernetes_metadata_filter (~> 2.4)
|
|
7
7
|
fluentd (>= 1.4)
|
|
8
8
|
http_parser.rb (= 0.5.3)
|
|
9
9
|
multi_json (~> 1.13)
|
data/LICENSE
CHANGED
|
@@ -214,21 +214,89 @@ Apache License 2.0
|
|
|
214
214
|
The following components are provided under the Apache License 2.0. See project link for details.
|
|
215
215
|
|
|
216
216
|
(Apache License 2.0) fluentd (https://github.com/fluent/fluentd/blob/master/LICENSE)
|
|
217
|
+
(Apache License 2.0) ffi-compiler (https://github.com/ffi/ffi-compiler/blob/master/LICENSE)
|
|
218
|
+
(Apache License 2.0) msgpack (https://github.com/msgpack/msgpack-ruby/blob/master/LICENSE)
|
|
219
|
+
(Apache License 2.0) prometheus-client (https://github.com/prometheus/client_ruby/blob/master/LICENSE)
|
|
220
|
+
(Apache License 2.0) quantile (https://github.com/matttproud/ruby_quantile_estimation/blob/master/LICENSE)
|
|
221
|
+
(Apache License 2.0) serverengine (https://github.com/treasure-data/serverengine/blob/master/LICENSE)
|
|
222
|
+
(Apache License 2.0) addressable (https://github.com/sporkmonger/addressable/blob/master/LICENSE.txt)
|
|
223
|
+
(Apache License 2.0) fluent-plugin-kubernetes_metadata_filter (https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/blob/master/LICENSE.txt)
|
|
224
|
+
(Apache License 2.0) thread_safe (https://github.com/ruby-concurrency/thread_safe/blob/master/LICENSE)
|
|
217
225
|
|
|
218
226
|
========================================================================
|
|
219
227
|
MIT licenses
|
|
220
228
|
========================================================================
|
|
221
229
|
The following components are provided under the MIT License. See project link for details.
|
|
222
230
|
|
|
223
|
-
(MIT License)
|
|
224
|
-
(MIT License)
|
|
231
|
+
(MIT License) activemodel (https://github.com/rails/rails/blob/v6.0.2.1/activemodel/MIT-LICENSE)
|
|
232
|
+
(MIT License) activesupport (https://github.com/rails/rails/blob/v6.0.2.1/activesupport/MIT-LICENSE)
|
|
233
|
+
(MIT License) aes_key_wrap (https://github.com/tomdalling/aes_key_wrap/blob/master/LICENSE.txt)
|
|
234
|
+
(MIT License) ast (https://github.com/whitequark/ast/blob/master/LICENSE.MIT)
|
|
235
|
+
(MIT License) attr_required (https://github.com/nov/attr_required/blob/master/LICENSE)
|
|
225
236
|
(MIT License) bundler (https://github.com/bundler/bundler/blob/master/LICENSE.md)
|
|
237
|
+
(MIT License) concurrent-ruby (https://github.com/ruby-concurrency/concurrent-ruby/blob/master/LICENSE.md)
|
|
238
|
+
(MIT License) connection_pool (https://github.com/mperham/connection_pool/blob/master/LICENSE)
|
|
239
|
+
(MIT License) cool.io (https://github.com/tarcieri/cool.io/blob/master/LICENSE)
|
|
240
|
+
(MIT License) crack (https://github.com/jnunemaker/crack/blob/master/LICENSE)
|
|
241
|
+
(MIT License) docile (https://github.com/ms-ati/docile/blob/master/LICENSE)
|
|
242
|
+
(MIT License) hashdiff (https://github.com/liufengyun/hashdiff/blob/master/LICENSE)
|
|
243
|
+
(MIT License) http (https://github.com/httprb/http/blob/master/LICENSE.txt)
|
|
244
|
+
(MIT License) http_parser.rb (https://github.com/tmm1/http_parser.rb/blob/master/LICENSE-MIT)
|
|
245
|
+
(MIT License) http-accept (https://github.com/socketry/http-accept#license)
|
|
246
|
+
(MIT License) http-cookie (https://github.com/sparklemotion/http-cookie/blob/master/LICENSE.txt)
|
|
247
|
+
(MIT License) http-form_data (https://github.com/httprb/form_data/blob/master/LICENSE.txt)
|
|
248
|
+
(MIT License) http-parser (https://github.com/cotag/http-parser/blob/master/LICENSE)
|
|
249
|
+
(MIT License) i18n (https://github.com/ruby-i18n/i18n/blob/master/MIT-LICENSE)
|
|
250
|
+
(MIT License) jaro_winkler (https://github.com/tonytonyjan/jaro_winkler/blob/master/LICENSE.txt)
|
|
251
|
+
(MIT License) json-jwt (https://github.com/tonytonyjan/jaro_winkler/blob/master/LICENSE.txt)
|
|
252
|
+
(MIT License) kubeclient (https://github.com/abonas/kubeclient/blob/master/LICENSE.txt)
|
|
253
|
+
(MIT License) lru_redux (https://github.com/SamSaffron/lru_redux/blob/master/LICENSE.txt)
|
|
254
|
+
(MIT License) mail (https://github.com/mikel/mail/blob/master/MIT-LICENSE)
|
|
255
|
+
(MIT License) mime-types (https://github.com/mime-types/ruby-mime-types/blob/master/Licence.md)
|
|
256
|
+
(MIT License) mime-types-data (https://github.com/mime-types/mime-types-data/blob/master/Licence.md)
|
|
257
|
+
(MIT License) mini_mime (https://github.com/discourse/mini_mime/blob/master/LICENSE.txt)
|
|
258
|
+
(MIT License) minitest (https://github.com/seattlerb/minitest)
|
|
259
|
+
(MIT License) multi_json (https://github.com/intridea/multi_json/blob/master/LICENSE.md)
|
|
260
|
+
(MIT License) net-http-persistent (https://github.com/drbrain/net-http-persistent)
|
|
261
|
+
(MIT License) netrc (https://github.com/heroku/netrc/blob/master/LICENSE.md)
|
|
262
|
+
(MIT License) openid_connect (https://github.com/nov/openid_connect/blob/master/LICENSE)
|
|
263
|
+
(MIT License) parallel (https://github.com/grosser/parallel/blob/master/MIT-LICENSE.txt)
|
|
264
|
+
(MIT License) parser (https://github.com/whitequark/parser/blob/master/LICENSE.txt)
|
|
265
|
+
(MIT License) powerpack (https://github.com/bbatsov/powerpack/blob/master/LICENSE.txt)
|
|
266
|
+
(MIT License) public_suffix (https://github.com/weppos/publicsuffix-ruby/blob/master/LICENSE.txt)
|
|
267
|
+
(MIT License) rack (https://github.com/rack/rack/blob/master/MIT-LICENSE)
|
|
268
|
+
(MIT License) rack-oauth2 (https://github.com/nov/rack-oauth2/blob/master/LICENSE)
|
|
269
|
+
(MIT License) rainbow (https://github.com/sickill/rainbow/blob/master/LICENSE)
|
|
226
270
|
(MIT License) rake (https://github.com/ruby/rake/blob/master/MIT-LICENSE)
|
|
271
|
+
(MIT License) recursive-open-struct (https://github.com/aetherknight/recursive-open-struct/blob/master/LICENSE.txt)
|
|
272
|
+
(MIT License) rest-client (https://github.com/rest-client/rest-client/blob/master/LICENSE)
|
|
273
|
+
(MIT License) rubocop (https://github.com/rubocop-hq/rubocop/blob/master/LICENSE.txt)
|
|
274
|
+
(MIT License) ruby-progressbar (https://github.com/jfelchner/ruby-progressbar/blob/master/LICENSE.txt)
|
|
275
|
+
(MIT License) safe_yaml (https://github.com/dtao/safe_yaml/blob/master/LICENSE.txt)
|
|
276
|
+
(MIT License) sigdump (https://github.com/frsyuki/sigdump/blob/master/LICENSE)
|
|
277
|
+
(MIT License) simplecov (https://github.com/colszowka/simplecov/blob/master/LICENSE)
|
|
278
|
+
(MIT License) simplecov-html (https://github.com/colszowka/simplecov-html/blob/master/LICENSE)
|
|
279
|
+
(MIT License) swd (https://github.com/nov/SWD/blob/master/LICENSE)
|
|
280
|
+
(MIT License) tzinfo (https://github.com/tzinfo/tzinfo/blob/master/LICENSE)
|
|
281
|
+
(MIT License) tzinfo-data (https://github.com/tzinfo/tzinfo-data/blob/master/LICENSE)
|
|
282
|
+
(MIT License) unf_ext (https://github.com/knu/ruby-unf_ext/blob/master/LICENSE.txt)
|
|
283
|
+
(MIT License) unicode-display_width (https://github.com/janlelis/unicode-display_width/blob/master/MIT-LICENSE.txt)
|
|
284
|
+
(MIT License) validate_email (https://github.com/perfectline/validates_email/blob/master/MIT-LICENSE)
|
|
285
|
+
(MIT License) validate_url (https://github.com/perfectline/validates_url/blob/master/LICENSE.md)
|
|
286
|
+
(MIT License) webfinger (https://github.com/nov/webfinger/blob/master/LICENSE.txt)
|
|
227
287
|
(MIT License) webmock (https://github.com/bblimke/webmock/blob/master/LICENSE)
|
|
228
|
-
(MIT License)
|
|
288
|
+
(MIT License) yajl-ruby (https://github.com/brianmario/yajl-ruby/blob/master/LICENSE)
|
|
229
289
|
|
|
230
290
|
========================================================================
|
|
231
|
-
For
|
|
291
|
+
For the rest:
|
|
232
292
|
========================================================================
|
|
233
293
|
|
|
234
|
-
|
|
294
|
+
bindata (https://github.com/dmendel/bindata/blob/master/COPYING)
|
|
295
|
+
httpclient (https://github.com/nahi/httpclient/#license)
|
|
296
|
+
json (https://www.ruby-lang.org/en/about/license.txt)
|
|
297
|
+
test-unit (https://github.com/test-unit/test-unit)
|
|
298
|
+
unf (https://github.com/knu/ruby-unf/blob/master/LICENSE)
|
|
299
|
+
power_assert (https://github.com/k-tsj/power_assert/blob/master/BSDL)
|
|
300
|
+
strptime (https://github.com/nurse/strptime/blob/master/LICENSE.txt)
|
|
301
|
+
domain_name (https://github.com/knu/ruby-domain_name/blob/master/LICENSE.txt)
|
|
302
|
+
ffi (https://github.com/ffi/ffi/blob/master/LICENSE)
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.2
|
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
|
33
33
|
|
|
34
34
|
spec.required_ruby_version = '>= 2.3.0'
|
|
35
35
|
|
|
36
|
-
spec.add_runtime_dependency 'fluent-plugin-kubernetes_metadata_filter', '~> 2.4
|
|
36
|
+
spec.add_runtime_dependency 'fluent-plugin-kubernetes_metadata_filter', '~> 2.4'
|
|
37
37
|
spec.add_runtime_dependency 'fluentd', '>= 1.4'
|
|
38
38
|
spec.add_runtime_dependency 'multi_json', '~> 1.13'
|
|
39
39
|
spec.add_runtime_dependency 'net-http-persistent', '~> 3.1'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
-
|
|
2
|
+
$LOAD_PATH.unshift(File.expand_path('..', __dir__))
|
|
3
3
|
require 'fluent/env'
|
|
4
4
|
require 'fluent/output'
|
|
5
5
|
require 'fluent/plugin/output'
|
|
@@ -72,9 +72,6 @@ module Fluent::Plugin
|
|
|
72
72
|
desc 'The Splunk index to index events. When not set, will be decided by HEC. This is exclusive with `index_key`'
|
|
73
73
|
config_param :index, :string, default: nil
|
|
74
74
|
|
|
75
|
-
desc 'Field name to contain Splunk event time. By default will use fluentd\'d time'
|
|
76
|
-
config_param :time_key, :string, default: nil
|
|
77
|
-
|
|
78
75
|
desc 'Field name to contain Splunk index name. This is exclusive with `index`.'
|
|
79
76
|
config_param :index_key, :string, default: nil
|
|
80
77
|
|
|
@@ -94,7 +91,7 @@ module Fluent::Plugin
|
|
|
94
91
|
config_section :fields, init: false, multi: false, required: false do
|
|
95
92
|
# this is blank on purpose
|
|
96
93
|
end
|
|
97
|
-
|
|
94
|
+
|
|
98
95
|
config_section :format do
|
|
99
96
|
config_set_default :usage, '**'
|
|
100
97
|
config_set_default :@type, 'json'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-splunk-hec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Splunk Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluent-plugin-kubernetes_metadata_filter
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 2.4
|
|
19
|
+
version: '2.4'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 2.4
|
|
26
|
+
version: '2.4'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: fluentd
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|