logstash-filter-grok 4.4.2 → 4.4.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d8ab6e291bb1b8412aa14aeba1e555b848ea04473c5e1b16672ef102751f828
4
- data.tar.gz: db3d113bbb82463cc35036cb0680e91932dbd53dd456cb3a65f5eb79db544fbb
3
+ metadata.gz: 538bf58d5fbfa32a557f5ab41c9d2daeddef8bc673e6021e7b058cfc6754e59a
4
+ data.tar.gz: 824490fc2c228631d1bf749d82f999b8bb189d410445a782da4b6394c69871f7
5
5
  SHA512:
6
- metadata.gz: 05d8ebab39fd928e10bd84b6586574fe0583b7a93b8692824ba3bdf0e197969b5c6532eb7d69aa0e703afe0836d17ddd5677fd9dbd09bfcdd955a836f1268ffe
7
- data.tar.gz: 65bd577d0cc170883fba3ee5ca88f047aec62a03affd4bc63cc23708a660f4f2e8dfa18bdd0bce6cbde613975d20c0c7415e8a97f6eea4dfdbd264ea032c7ed2
6
+ metadata.gz: b4f4c964faf53ae73d6e456100bcc055c965117dd756d817047ab31745ceb807899ff5f285090fc5bd36297ae6ade62283b8dcec7a2652d98dd4081db6c5b058
7
+ data.tar.gz: 2b884c09655e2e6278158791af7ac60d4f697ee5b2d5462309b9720f7ecce630de74bbc805a3351c8b5e463cab8e1d855f76e87119c7cd75312a69a7d2018bd0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 4.4.4
2
+ - Fix: replace deprecated `File.exists?` with `File.exist?` for Ruby 3.4 (JRuby 10) compatibility [#197](https://github.com/logstash-plugins/logstash-filter-grok/pull/197)
3
+
4
+ ## 4.4.3
5
+ - Minor typos in docs examples [#176](https://github.com/logstash-plugins/logstash-filter-grok/pull/176)
6
+
1
7
  ## 4.4.2
2
8
  - Clarify the definition of matches that depend on previous captures [#169](https://github.com/logstash-plugins/logstash-filter-grok/pull/169)
3
9
 
data/docs/index.asciidoc CHANGED
@@ -32,8 +32,7 @@ Logstash ships with about 120 patterns by default. You can find them here:
32
32
  <https://github.com/logstash-plugins/logstash-patterns-core/tree/master/patterns>. You can add
33
33
  your own trivially. (See the `patterns_dir` setting)
34
34
 
35
- If you need help building patterns to match your logs, you will find the
36
- <http://grokdebug.herokuapp.com> and <http://grokconstructor.appspot.com/> applications quite useful!
35
+ If you need help building patterns to match your logs, try the {kibana-ref}/xpack-grokdebugger.html[Grok debugger] in {kib}.
37
36
 
38
37
  ===== Grok or Dissect? Or both?
39
38
 
@@ -289,7 +288,7 @@ To perform matches on multiple fields just use multiple entries in the `match` h
289
288
  grok {
290
289
  match => {
291
290
  "speed" => "Speed: %{NUMBER:speed}"
292
- "duration => "Duration: %{NUMBER:duration}"
291
+ "duration" => "Duration: %{NUMBER:duration}"
293
292
  }
294
293
  }
295
294
  }
@@ -306,7 +305,7 @@ However, if one pattern depends on a field created by a previous pattern, separa
306
305
  }
307
306
  grok {
308
307
  match => {
309
- "rest => "a number %{NUMBER"number}, and a word %{WORD:word}"
308
+ "rest" => "a number %{NUMBER:number}, and a word %{WORD:word}"
310
309
  }
311
310
  }
312
311
  }
@@ -465,7 +465,7 @@
465
465
 
466
466
  def add_patterns_from_files(paths, grok)
467
467
  paths.each do |path|
468
- if !File.exists?(path)
468
+ if !File.exist?(path)
469
469
  raise "Grok pattern file does not exist: #{path}"
470
470
  end
471
471
  grok.add_patterns_from_file(path)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-grok'
3
- s.version = '4.4.2'
3
+ s.version = '4.4.4'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Parses unstructured event data into fields"
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/logstash-plugin install gemname. This gem is not a stand-alone program"
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  # Gem dependencies
22
22
  s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
23
23
  s.add_runtime_dependency "logstash-core", ">= 5.6.0"
24
- s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~> 1.0'
24
+ s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~> 1.2'
25
25
 
26
26
  s.add_runtime_dependency 'jls-grok', '~> 0.11.3'
27
27
  s.add_runtime_dependency 'stud', '~> 0.0.22'