logstash-filter-multiline 2.0.3 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ead8a90af4e5b01350f6479e27f3a7edf4d910d1
4
- data.tar.gz: f62946a7113fb0471d2c747c2f4b4d777b7d75f5
3
+ metadata.gz: 4d3942a224915ed389c4721e9ee08e19fb003c9c
4
+ data.tar.gz: d7de154ee6524ac0596637dcc42f1ed8e02d175c
5
5
  SHA512:
6
- metadata.gz: ecdc4ef014eab0fbf8d6572f89cafe4336184aa27fbf60ea205d79aca5ac14763b23fb08ff1dc9b52736577a66a6281e0755cba6b31afedde3b6745b33f1f12b
7
- data.tar.gz: 889e41d684d1dd55a15ba7205a13f2b4a27264b79cd6d05ea829001ad4e9a1485a6589e3aefa57d7683808b9d2090b1cc70dc6f4bb25385370e2e78c58b83bb8
6
+ metadata.gz: edc3b6d50f2ad70bd17f9e10ee67dbd3a74a2c9d4a0340b47226bf32f464abe6dbaa1e6b630e642191702cd07c775fe8dc8023ac02ba43e5f5b2004c0949b30d
7
+ data.tar.gz: a476b6e57bc1ee2085f5a85b90158bf4855d5059ad47ea6a50324f67d02ba7ed7561504cd6e2f53b7393acade5a6d781bb4dea892bde7e065712d0359791569d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.0.5
2
+ - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
3
+ # 2.0.4
4
+ - New dependency requirements for logstash-core for the 5.0 release
1
5
  ## 2.0.3
2
6
  - Fix metadata handling, fixes #19 and #22
3
7
  ## 2.0.0
@@ -17,15 +17,15 @@ require "set"
17
17
  # [source,ruby]
18
18
  # filter {
19
19
  # multiline {
20
- # type => "type"
21
20
  # pattern => "pattern, a regexp"
22
21
  # negate => boolean
23
22
  # what => "previous" or "next"
24
23
  # }
25
24
  # }
26
25
  #
27
- # The `pattern` should be a regexp which matches what you believe to be an indicator
28
- # that the field is part of an event consisting of multiple lines of log data.
26
+ # The `pattern` should be a regexp (<<plugins-filters-grok,grok>> patterns are
27
+ # supported) which matches what you believe to be an indicator that the field
28
+ # is part of an event consisting of multiple lines of log data.
29
29
  #
30
30
  # The `what` must be `previous` or `next` and indicates the relation
31
31
  # to the multi-line event.
@@ -39,7 +39,6 @@ require "set"
39
39
  # [source,ruby]
40
40
  # filter {
41
41
  # multiline {
42
- # type => "somefiletype"
43
42
  # pattern => "^\s"
44
43
  # what => "previous"
45
44
  # }
@@ -51,7 +50,6 @@ require "set"
51
50
  # [source,ruby]
52
51
  # filter {
53
52
  # multiline {
54
- # type => "somefiletype "
55
53
  # pattern => "\\$"
56
54
  # what => "next"
57
55
  # }
@@ -70,7 +68,9 @@ class LogStash::Filters::Multiline < LogStash::Filters::Base
70
68
  # Allow duplcate values on the source field.
71
69
  config :allow_duplicates, :validate => :boolean, :default => true
72
70
 
73
- # The regular expression to match.
71
+ # The expression to match. The same matching engine as the
72
+ # <<plugins-filters-grok,grok filter>> is used, so the expression can contain
73
+ # a plain regular expression or one that also contains grok patterns.
74
74
  config :pattern, :validate => :string, :required => true
75
75
 
76
76
  # If the pattern matched, does event belong to the next or previous event?
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-multiline'
4
- s.version = '2.0.3'
4
+ s.version = '2.0.5'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This filter will collapse multiline messages from a single source into one Logstash event."
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", ">= 2.0.0.beta2", "< 3.0.0"
23
+ s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
24
24
  s.add_runtime_dependency 'logstash-patterns-core'
25
25
  s.add_development_dependency 'logstash-filter-mutate'
26
26
  s.add_runtime_dependency 'jls-grok', '~> 0.11.0'
metadata CHANGED
@@ -1,91 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-multiline
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-26 00:00:00.000000000 Z
11
+ date: 2016-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: logstash-core
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: 2.0.0.beta2
20
- - - <
21
- - !ruby/object:Gem::Version
22
- version: 3.0.0
23
14
  requirement: !ruby/object:Gem::Requirement
24
15
  requirements:
25
- - - '>='
16
+ - - "~>"
26
17
  - !ruby/object:Gem::Version
27
- version: 2.0.0.beta2
28
- - - <
29
- - !ruby/object:Gem::Version
30
- version: 3.0.0
18
+ version: '1.0'
19
+ name: logstash-core-plugin-api
31
20
  prerelease: false
32
21
  type: :runtime
33
- - !ruby/object:Gem::Dependency
34
- name: logstash-patterns-core
35
22
  version_requirements: !ruby/object:Gem::Requirement
36
23
  requirements:
37
- - - '>='
24
+ - - "~>"
38
25
  - !ruby/object:Gem::Version
39
- version: '0'
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
40
28
  requirement: !ruby/object:Gem::Requirement
41
29
  requirements:
42
- - - '>='
30
+ - - ">="
43
31
  - !ruby/object:Gem::Version
44
32
  version: '0'
33
+ name: logstash-patterns-core
45
34
  prerelease: false
46
35
  type: :runtime
47
- - !ruby/object:Gem::Dependency
48
- name: logstash-filter-mutate
49
36
  version_requirements: !ruby/object:Gem::Requirement
50
37
  requirements:
51
- - - '>='
38
+ - - ">="
52
39
  - !ruby/object:Gem::Version
53
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
54
42
  requirement: !ruby/object:Gem::Requirement
55
43
  requirements:
56
- - - '>='
44
+ - - ">="
57
45
  - !ruby/object:Gem::Version
58
46
  version: '0'
47
+ name: logstash-filter-mutate
59
48
  prerelease: false
60
49
  type: :development
61
- - !ruby/object:Gem::Dependency
62
- name: jls-grok
63
50
  version_requirements: !ruby/object:Gem::Requirement
64
51
  requirements:
65
- - - ~>
52
+ - - ">="
66
53
  - !ruby/object:Gem::Version
67
- version: 0.11.0
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
68
56
  requirement: !ruby/object:Gem::Requirement
69
57
  requirements:
70
- - - ~>
58
+ - - "~>"
71
59
  - !ruby/object:Gem::Version
72
60
  version: 0.11.0
61
+ name: jls-grok
73
62
  prerelease: false
74
63
  type: :runtime
75
- - !ruby/object:Gem::Dependency
76
- name: logstash-devutils
77
64
  version_requirements: !ruby/object:Gem::Requirement
78
65
  requirements:
79
- - - '>='
66
+ - - "~>"
80
67
  - !ruby/object:Gem::Version
81
- version: '0'
68
+ version: 0.11.0
69
+ - !ruby/object:Gem::Dependency
82
70
  requirement: !ruby/object:Gem::Requirement
83
71
  requirements:
84
- - - '>='
72
+ - - ">="
85
73
  - !ruby/object:Gem::Version
86
74
  version: '0'
75
+ name: logstash-devutils
87
76
  prerelease: false
88
77
  type: :development
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
89
83
  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
90
84
  email: info@elastic.co
91
85
  executables: []
@@ -113,12 +107,12 @@ require_paths:
113
107
  - lib
114
108
  required_ruby_version: !ruby/object:Gem::Requirement
115
109
  requirements:
116
- - - '>='
110
+ - - ">="
117
111
  - !ruby/object:Gem::Version
118
112
  version: '0'
119
113
  required_rubygems_version: !ruby/object:Gem::Requirement
120
114
  requirements:
121
- - - '>='
115
+ - - ">="
122
116
  - !ruby/object:Gem::Version
123
117
  version: '0'
124
118
  requirements: []