logstash-filter-grok 4.2.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,19 @@
1
+ # encoding: utf-8
2
+ require "logstash/devutils/rspec/spec_helper"
3
+ require "stud/temporary"
4
+
5
+ module LogStash::Environment
6
+ # running the grok code outside a logstash package means
7
+ # LOGSTASH_HOME will not be defined, so let's set it here
8
+ # before requiring the grok filter
9
+ unless self.const_defined?(:LOGSTASH_HOME)
10
+ LOGSTASH_HOME = File.expand_path("../../../", __FILE__)
11
+ end
12
+
13
+ # also :pattern_path method must exist so we define it too
14
+ unless self.method_defined?(:pattern_path)
15
+ def pattern_path(path)
16
+ ::File.join(LOGSTASH_HOME, "patterns", path)
17
+ end
18
+ end
19
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-grok
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-18 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -117,7 +117,9 @@ files:
117
117
  - docs/index.asciidoc
118
118
  - lib/logstash/filters/grok.rb
119
119
  - logstash-filter-grok.gemspec
120
+ - spec/filters/grok_performance_spec.rb
120
121
  - spec/filters/grok_spec.rb
122
+ - spec/spec_helper.rb
121
123
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
122
124
  licenses:
123
125
  - Apache License (2.0)
@@ -145,4 +147,6 @@ signing_key:
145
147
  specification_version: 4
146
148
  summary: Parses unstructured event data into fields
147
149
  test_files:
150
+ - spec/filters/grok_performance_spec.rb
148
151
  - spec/filters/grok_spec.rb
152
+ - spec/spec_helper.rb