fluent-plugin-splunk-enterprise 0.10.2 → 0.10.3
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/CHANGELOG.md +5 -0
- data/README.hec.md +2 -2
- data/fluent-plugin-splunk-enterprise.gemspec +1 -1
- data/lib/fluent/plugin/out_splunk_hec.rb +7 -2
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad554abb4e6186db6ab6a9354dfeff678bd637c0d34592d4f1788d38f75c88b0
|
|
4
|
+
data.tar.gz: 1696399b7d279981df465bb09f491ad14afc0e3a579c958c82468c2e000912b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cfbdadc415eca4f236b3d23e346ab8493587ceb543998dc1fc911888c8cd2410db9e204aaea5e7713534716d54e021acc0a45072abb1c36f5d1e70c86511aca
|
|
7
|
+
data.tar.gz: acda153e664dde3752e8c63e66878d15cc857a00e7f68114366e4dba46cb069c804ed6e205ca33dcc13b8de46c36984103e96e64d7843d8f91cb56bd1b1e967b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
# Release v0.10.3 - 2026/04/30
|
|
2
|
+
|
|
3
|
+
* out_splunk_hec: mask token value as secret (#43)
|
|
4
|
+
* out_splunk_hec: Discard empty events - Splunk hec gives an error if the string is empty. This can lead to a retry loop. (#38)
|
|
5
|
+
|
|
1
6
|
# Release v0.10.2 - 2020/03/04
|
|
2
7
|
|
|
3
8
|
* out_splunk_hec: Add `auto_generate_channel` parameter
|
data/README.hec.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* [token (required)](#token-required)
|
|
11
11
|
* [default_host](#default_host)
|
|
12
12
|
* [host_key](#host_key)
|
|
13
|
-
* [
|
|
13
|
+
* [default_source](#default_source)
|
|
14
14
|
* [source_key](#source_key)
|
|
15
15
|
* [default_index](#default_index)
|
|
16
16
|
* [index_key](#index_key)
|
|
@@ -222,4 +222,4 @@ The path of client key file
|
|
|
222
222
|
|
|
223
223
|
### client_key_pass
|
|
224
224
|
|
|
225
|
-
The passphrase of client key.
|
|
225
|
+
The passphrase of client key.
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "fluent-plugin-splunk-enterprise"
|
|
7
|
-
spec.version = "0.10.
|
|
7
|
+
spec.version = "0.10.3"
|
|
8
8
|
spec.authors = ["Yuki Ito", "Masahiro Nakagawa"]
|
|
9
9
|
spec.email = ["yito@treasure-data.com", "repeatedly@gmail.com"]
|
|
10
10
|
|
|
@@ -11,7 +11,7 @@ module Fluent
|
|
|
11
11
|
|
|
12
12
|
config_param :host, :string
|
|
13
13
|
config_param :port, :integer
|
|
14
|
-
config_param :token, :string
|
|
14
|
+
config_param :token, :string, secret: true
|
|
15
15
|
|
|
16
16
|
# for metadata
|
|
17
17
|
config_param :default_host, :string, default: nil
|
|
@@ -153,7 +153,12 @@ module Fluent
|
|
|
153
153
|
end
|
|
154
154
|
|
|
155
155
|
def format_event_raw(record)
|
|
156
|
-
|
|
156
|
+
if record[@event_key] and not record[@event_key].strip.empty?
|
|
157
|
+
record[@event_key] + @line_breaker
|
|
158
|
+
else
|
|
159
|
+
log.debug "Discarding empty line"
|
|
160
|
+
''
|
|
161
|
+
end
|
|
157
162
|
end
|
|
158
163
|
|
|
159
164
|
def post(path, body, query = {})
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-splunk-enterprise
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuki Ito
|
|
8
8
|
- Masahiro Nakagawa
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: exe
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: fluentd
|
|
@@ -121,7 +120,6 @@ homepage: ''
|
|
|
121
120
|
licenses:
|
|
122
121
|
- Apache-2.0
|
|
123
122
|
metadata: {}
|
|
124
|
-
post_install_message:
|
|
125
123
|
rdoc_options: []
|
|
126
124
|
require_paths:
|
|
127
125
|
- lib
|
|
@@ -136,8 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
136
134
|
- !ruby/object:Gem::Version
|
|
137
135
|
version: '0'
|
|
138
136
|
requirements: []
|
|
139
|
-
rubygems_version:
|
|
140
|
-
signing_key:
|
|
137
|
+
rubygems_version: 4.0.6
|
|
141
138
|
specification_version: 4
|
|
142
139
|
summary: Splunk output plugin for Fluentd
|
|
143
140
|
test_files: []
|