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 +4 -4
- data/CHANGELOG.md +6 -0
- data/docs/index.asciidoc +3 -4
- data/lib/logstash/filters/grok.rb +1 -1
- data/logstash-filter-grok.gemspec +2 -2
- data/spec/filters/grok_spec.rb +573 -570
- metadata +19 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 538bf58d5fbfa32a557f5ab41c9d2daeddef8bc673e6021e7b058cfc6754e59a
|
|
4
|
+
data.tar.gz: 824490fc2c228631d1bf749d82f999b8bb189d410445a782da4b6394c69871f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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,
|
|
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
|
|
308
|
+
"rest" => "a number %{NUMBER:number}, and a word %{WORD:word}"
|
|
310
309
|
}
|
|
311
310
|
}
|
|
312
311
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-filter-grok'
|
|
3
|
-
s.version = '4.4.
|
|
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.
|
|
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'
|