logstash-output-logservice 0.6.0 → 0.7.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 +4 -4
- data/README.md +1 -1
- data/lib/logstash/outputs/logservice.rb +2 -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: 494aab48b9c4a9ce996824e87a008d2ad4b26143693132a89aeb52801df93215
|
|
4
|
+
data.tar.gz: 5e5699e8c561a08a95a5523850589e74f3c49814a004ad1eee3312fe5fa17b93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05d4c44f767072fdf591df58de3fd885ff3623fda1e920f8b397772260be0fc16aa3054dda354a1a3e83c020f66ccbe0b0d0a9847b104c6bb019a7dc80826799
|
|
7
|
+
data.tar.gz: bb093b4860720561c66d5eee29c67536ca05725aec881352b3d2e1f74c39bfa78a7c8387a40547dce392e772e4f2f9cf4f496d5da6443b34cbe94b642979b8c4
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Latest Release
|
|
2
2
|
|
|
3
|
-
* RubyGems: [logstash-output-logservice 0.
|
|
3
|
+
* RubyGems: [logstash-output-logservice 0.6.0](https://rubygems.org/gems/logstash-output-logservice)
|
|
4
4
|
* Tested on: Logstash 6.4.3
|
|
5
5
|
* OS supported: mac 10.14.1, windows 7, Linux (CentOS 7)
|
|
6
6
|
|
|
@@ -5,6 +5,7 @@ require "logstash/environment"
|
|
|
5
5
|
require "stud/buffer"
|
|
6
6
|
require 'socket'
|
|
7
7
|
require "java"
|
|
8
|
+
require 'json'
|
|
8
9
|
|
|
9
10
|
import "java.util.ArrayList"
|
|
10
11
|
|
|
@@ -116,7 +117,7 @@ class LogStash::Outputs::LogService < LogStash::Outputs::Base
|
|
|
116
117
|
@logitem.SetTime(Time.parse(@event_map['@timestamp'].to_s).to_i)
|
|
117
118
|
@event_map.each do | key, value |
|
|
118
119
|
@key_str = key.to_s
|
|
119
|
-
@value_str = value.
|
|
120
|
+
@value_str = value.to_json
|
|
120
121
|
@byte_size += @key_str.length + @value_str.length
|
|
121
122
|
@logitem.PushBack(@key_str, @value_str)
|
|
122
123
|
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.7.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.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tangkai
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|