logstash-output-logservice 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/outputs/logservice.rb +6 -1
- data/logstash-output-logservice.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5448b1cff9f51df78207689cdbe6e9f8f9588c58d839fcbde73cfafffa291010
|
4
|
+
data.tar.gz: 4c38fd10f368e89a8c258923b8054c4e16a978ac63fa88732640b921f9498b34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deed2ea214b113fa452ddb89b9ae8a1124f1bd5e1711c4d79e95e76f3d3780655fc4b7f6c3550d8792f99cf9b7358782fe1eaa20b6a6c6b9d78db2f49d7331e3
|
7
|
+
data.tar.gz: 530e5cdc3ccb5f80b438db7994fe51a00ac3decfc365dd27ce6765d662cdce9370c116b264213be5df05aa1f9f86b960bb97546e23c8a653df646f9a72c615ae
|
@@ -128,11 +128,16 @@ class LogStash::Outputs::LogService < LogStash::Outputs::Base
|
|
128
128
|
if @key_str == '__time__'
|
129
129
|
next
|
130
130
|
end
|
131
|
-
if
|
131
|
+
if value.instance_of? Hash
|
132
132
|
@value_str = value.to_json
|
133
133
|
else
|
134
134
|
@value_str = value.to_s
|
135
135
|
end
|
136
|
+
# if @to_json
|
137
|
+
# @value_str = value.to_json
|
138
|
+
# else
|
139
|
+
# @value_str = value.to_s
|
140
|
+
# end
|
136
141
|
@byte_size += @key_str.length + @value_str.length
|
137
142
|
@logitem.PushBack(@key_str, @value_str)
|
138
143
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-logservice'
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "0.14.0"
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = "post data into logservice."
|
6
6
|
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-logservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tangkai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core-plugin-api
|