logstash-filter-cleverxml 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/logstash-filter-cleverxml.gemspec +2 -2
- data/spec/filters/cleverxml_spec.rb +9 -9
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e533ada1c3ed655ba2e2b8510aa266da17d07d55
|
4
|
+
data.tar.gz: df308c7840810f97dddfe23aa7612089acf2de3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 139e8124d97cdce02c116da3949d2b9368e9a9c3ced785010d9ad554ce86d8a637dc831962097d980fd3182714b670e9e959b78348949ae7840f4998a78802d7
|
7
|
+
data.tar.gz: bf91a7671481c78549a236ba64a09b336e91b98aaa19e011f72ce207fa1f5ac2d3b707b82b1d91dcdc31f828808f8ac999bba9c53b3fb2acc56d791086c83577
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-filter-cleverxml'
|
4
|
-
s.version = '
|
4
|
+
s.version = '2.0.0'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Takes a field that contains XML and expands it into an actual datastructure."
|
7
7
|
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"
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "filter" }
|
21
21
|
|
22
22
|
# Gem dependencies
|
23
|
-
s.add_runtime_dependency "logstash-core", ">=
|
23
|
+
s.add_runtime_dependency "logstash-core", ">= 2.0.0.beta2", "< 3.0.0"
|
24
24
|
s.add_runtime_dependency 'nokogiri'
|
25
25
|
s.add_runtime_dependency 'xml-simple'
|
26
26
|
|
@@ -7,7 +7,7 @@ describe LogStash::Filters::Cleverxml do
|
|
7
7
|
describe "parse standard xml (Deprecated checks)" do
|
8
8
|
config <<-CONFIG
|
9
9
|
filter {
|
10
|
-
|
10
|
+
xml {
|
11
11
|
source => "raw"
|
12
12
|
target => "data"
|
13
13
|
}
|
@@ -40,7 +40,7 @@ describe LogStash::Filters::Cleverxml do
|
|
40
40
|
describe "parse standard xml but do not store (Deprecated checks)" do
|
41
41
|
config <<-CONFIG
|
42
42
|
filter {
|
43
|
-
|
43
|
+
xml {
|
44
44
|
source => "raw"
|
45
45
|
target => "data"
|
46
46
|
store_xml => false
|
@@ -57,7 +57,7 @@ describe LogStash::Filters::Cleverxml do
|
|
57
57
|
describe "parse xml and store values with xpath (Deprecated checks)" do
|
58
58
|
config <<-CONFIG
|
59
59
|
filter {
|
60
|
-
|
60
|
+
xml {
|
61
61
|
source => "raw"
|
62
62
|
target => "data"
|
63
63
|
xpath => [ "/foo/key/text()", "xpath_field" ]
|
@@ -83,7 +83,7 @@ describe LogStash::Filters::Cleverxml do
|
|
83
83
|
describe "parse standard xml" do
|
84
84
|
config <<-CONFIG
|
85
85
|
filter {
|
86
|
-
|
86
|
+
xml {
|
87
87
|
source => "xmldata"
|
88
88
|
target => "data"
|
89
89
|
}
|
@@ -116,7 +116,7 @@ describe LogStash::Filters::Cleverxml do
|
|
116
116
|
describe "parse standard xml but do not store" do
|
117
117
|
config <<-CONFIG
|
118
118
|
filter {
|
119
|
-
|
119
|
+
xml {
|
120
120
|
source => "xmldata"
|
121
121
|
target => "data"
|
122
122
|
store_xml => false
|
@@ -133,7 +133,7 @@ describe LogStash::Filters::Cleverxml do
|
|
133
133
|
describe "parse xml and store values with xpath" do
|
134
134
|
config <<-CONFIG
|
135
135
|
filter {
|
136
|
-
|
136
|
+
xml {
|
137
137
|
source => "xmldata"
|
138
138
|
target => "data"
|
139
139
|
xpath => [ "/foo/key/text()", "xpath_field" ]
|
@@ -157,7 +157,7 @@ describe LogStash::Filters::Cleverxml do
|
|
157
157
|
describe "parse correctly non ascii content with xpath" do
|
158
158
|
config <<-CONFIG
|
159
159
|
filter {
|
160
|
-
|
160
|
+
xml {
|
161
161
|
source => "xmldata"
|
162
162
|
target => "data"
|
163
163
|
xpath => [ "/foo/key/text()", "xpath_field" ]
|
@@ -175,7 +175,7 @@ describe LogStash::Filters::Cleverxml do
|
|
175
175
|
describe "parse including namespaces" do
|
176
176
|
config <<-CONFIG
|
177
177
|
filter {
|
178
|
-
|
178
|
+
xml {
|
179
179
|
source => "xmldata"
|
180
180
|
xpath => [ "/foo/h:div", "xpath_field" ]
|
181
181
|
remove_namespaces => false
|
@@ -192,7 +192,7 @@ describe LogStash::Filters::Cleverxml do
|
|
192
192
|
describe "parse removing namespaces" do
|
193
193
|
config <<-CONFIG
|
194
194
|
filter {
|
195
|
-
|
195
|
+
xml {
|
196
196
|
source => "xmldata"
|
197
197
|
xpath => [ "/foo/div", "xpath_field" ]
|
198
198
|
remove_namespaces => true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-cleverxml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clever Age
|
@@ -9,70 +9,70 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-12-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
+
name: logstash-core
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 2.0.0.beta2
|
21
|
+
- - <
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 3.0.0
|
15
24
|
requirement: !ruby/object:Gem::Requirement
|
16
25
|
requirements:
|
17
26
|
- - '>='
|
18
27
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
28
|
+
version: 2.0.0.beta2
|
20
29
|
- - <
|
21
30
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
23
|
-
name: logstash-core
|
31
|
+
version: 3.0.0
|
24
32
|
prerelease: false
|
25
33
|
type: :runtime
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: nokogiri
|
26
36
|
version_requirements: !ruby/object:Gem::Requirement
|
27
37
|
requirements:
|
28
38
|
- - '>='
|
29
39
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
31
|
-
- - <
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 2.0.0
|
34
|
-
- !ruby/object:Gem::Dependency
|
40
|
+
version: '0'
|
35
41
|
requirement: !ruby/object:Gem::Requirement
|
36
42
|
requirements:
|
37
43
|
- - '>='
|
38
44
|
- !ruby/object:Gem::Version
|
39
45
|
version: '0'
|
40
|
-
name: nokogiri
|
41
46
|
prerelease: false
|
42
47
|
type: :runtime
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: xml-simple
|
43
50
|
version_requirements: !ruby/object:Gem::Requirement
|
44
51
|
requirements:
|
45
52
|
- - '>='
|
46
53
|
- !ruby/object:Gem::Version
|
47
54
|
version: '0'
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
50
56
|
requirements:
|
51
57
|
- - '>='
|
52
58
|
- !ruby/object:Gem::Version
|
53
59
|
version: '0'
|
54
|
-
name: xml-simple
|
55
60
|
prerelease: false
|
56
61
|
type: :runtime
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: logstash-devutils
|
57
64
|
version_requirements: !ruby/object:Gem::Requirement
|
58
65
|
requirements:
|
59
66
|
- - '>='
|
60
67
|
- !ruby/object:Gem::Version
|
61
68
|
version: '0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
69
|
requirement: !ruby/object:Gem::Requirement
|
64
70
|
requirements:
|
65
71
|
- - '>='
|
66
72
|
- !ruby/object:Gem::Version
|
67
73
|
version: '0'
|
68
|
-
name: logstash-devutils
|
69
74
|
prerelease: false
|
70
75
|
type: :development
|
71
|
-
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
76
|
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
|
77
77
|
email: wpottier@clever-age.com
|
78
78
|
executables: []
|