logstash-filter-amelia 1.0.0 → 1.0.1
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/lib/logstash/filters/amelia.rb +2 -2
- data/logstash-filter-amelia.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 680b9b6fda38878c19861b7be874d5b91a5c4023
|
|
4
|
+
data.tar.gz: bbf7977f692a590f4159f4a8a007d582ba3f47cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a3f51a287e6c0184abc8742b5b6799f68820223501bace8777bbdae3b8f3fa586749138c9543d12d36582b7dd09d6e97dd55c2ad3abd2e6c34eb49dd5068e6d
|
|
7
|
+
data.tar.gz: bf36a1df5ad21fa34a5f0f6ffd23fc3c77cdb5dd8dc8d3d99b34982f47a431caefe4b877a49fad39c33ce51f401f7fc442b0c1e918384a425fa4494516a627b1
|
|
@@ -119,9 +119,9 @@ class LogStash::Filters::Amelia < LogStash::Filters::Base
|
|
|
119
119
|
|
|
120
120
|
value = data[position, value_length]
|
|
121
121
|
position += value_length
|
|
122
|
-
current_args[key] = value
|
|
122
|
+
current_args[key] = value unless (key.nil? || key == '')
|
|
123
123
|
end
|
|
124
|
-
retour << current_args
|
|
124
|
+
retour << current_args unless current_args.empty?
|
|
125
125
|
end
|
|
126
126
|
retour
|
|
127
127
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-filter-amelia'
|
|
3
|
-
s.version = '1.0.
|
|
3
|
+
s.version = '1.0.1'
|
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
|
5
5
|
s.summary = "This filter extracts data based on the homegrown AMELIA serialisation"
|
|
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. The aim is to parse non standard serialization format, see spec for format descitpion"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-amelia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LISI Automotive
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstash-core
|