logstash-filter-xml 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/docs/index.asciidoc +4 -4
- data/logstash-filter-xml.gemspec +1 -1
- data/spec/filters/xml_spec.rb +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: 341341771fd929d860c64f07d7d6a9217c8a75bb714b793d7953f6c46d5bcc96
|
4
|
+
data.tar.gz: 4f487912f96f1012c572b17a56338b995ddb1e286bb4c6404be340c52041e440
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 273fa3a48ca13c865f91c34de00a798051906eaf95cb8295fc2e1e7d881c933dcad5da72a1fdc56dbbd200574a948143be9f44308ed3f4af13cc10ca7798ca90
|
7
|
+
data.tar.gz: 3bc74c8a5fb1ed39bf5cce4a16fdccc29c1f020b27470783e6613dc7200049f34c97b913bcbb3da33dd15d0f7c8777bcc37a6b322ed418675a89c2d0589fa2bf
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 4.1.2
|
2
|
+
- [DOC] Updated docs to correct name of parse_options config option [#75](https://github.com/logstash-plugins/logstash-filter-xml/pull/75)
|
3
|
+
|
1
4
|
## 4.1.1
|
2
5
|
- Fix: exceptions thrown while handling events no longer crash the pipeline [#73](https://github.com/logstash-plugins/logstash-filter-xml/pull/73)
|
3
6
|
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Logstash Plugin
|
2
2
|
|
3
|
-
[![Travis Build Status](https://travis-ci.
|
3
|
+
[![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-filter-xml.svg)](https://travis-ci.com/logstash-plugins/logstash-filter-xml)
|
4
4
|
|
5
5
|
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
6
6
|
|
data/docs/index.asciidoc
CHANGED
@@ -34,7 +34,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
34
34
|
| <<plugins-{type}s-{plugin}-force_array>> |<<boolean,boolean>>|No
|
35
35
|
| <<plugins-{type}s-{plugin}-force_content>> |<<boolean,boolean>>|No
|
36
36
|
| <<plugins-{type}s-{plugin}-namespaces>> |<<hash,hash>>|No
|
37
|
-
| <<plugins-{type}s-{plugin}-
|
37
|
+
| <<plugins-{type}s-{plugin}-parse_options>> |<<string,string>>|No
|
38
38
|
| <<plugins-{type}s-{plugin}-remove_namespaces>> |<<boolean,boolean>>|No
|
39
39
|
| <<plugins-{type}s-{plugin}-source>> |<<string,string>>|Yes
|
40
40
|
| <<plugins-{type}s-{plugin}-store_xml>> |<<boolean,boolean>>|No
|
@@ -88,13 +88,13 @@ filter {
|
|
88
88
|
}
|
89
89
|
}
|
90
90
|
|
91
|
-
[id="plugins-{type}s-{plugin}-
|
92
|
-
===== `
|
91
|
+
[id="plugins-{type}s-{plugin}-parse_options"]
|
92
|
+
===== `parse_options`
|
93
93
|
|
94
94
|
* Value type is <<string,string>>
|
95
95
|
* There is no default value for this setting.
|
96
96
|
|
97
|
-
Setting XML
|
97
|
+
Setting XML parse options allows for more control of the parsing process.
|
98
98
|
By default the parser is not strict and thus accepts some invalid content.
|
99
99
|
Currently supported options are:
|
100
100
|
|
data/logstash-filter-xml.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-filter-xml'
|
4
|
-
s.version = '4.1.
|
4
|
+
s.version = '4.1.2'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Parses XML into fields"
|
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/logstash-plugin install gemname. This gem is not a stand-alone program"
|
data/spec/filters/xml_spec.rb
CHANGED
@@ -436,7 +436,7 @@ describe LogStash::Filters::Xml do
|
|
436
436
|
end
|
437
437
|
|
438
438
|
context 'strict option' do
|
439
|
-
let(:options) { super.merge({ 'parse_options' => 'strict' }) }
|
439
|
+
let(:options) { super().merge({ 'parse_options' => 'strict' }) }
|
440
440
|
|
441
441
|
it 'does fail parsing' do
|
442
442
|
subject.filter(event)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-xml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|