logstash-filter-grok 0.1.11 → 1.0.0
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 +0 -0
- data/NOTICE.TXT +5 -0
- data/README.md +1 -1
- data/lib/logstash/filters/grok.rb +9 -11
- data/logstash-filter-grok.gemspec +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00e0e4dcb4cf158db79d9cc8ed737c07bc84d845
|
|
4
|
+
data.tar.gz: 0f9ddeebcd3327ed51ba7e2bcb97483aadf4c777
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f01234efc160807ed94d21e8e171d7e0b24f6441865367db42120af4c39dc14bfde0f5b5ddc6f7c53f60d754096862852db8d475a8640ada7447f8e6587c20fb
|
|
7
|
+
data.tar.gz: d3229970a7bbac8fae7a0e6a83747901a97ed28669aa3128e9850dad274d8c9799a77d88e6370b21d3a84a72701405672563b57321305996e31945e6be9c567b
|
data/CHANGELOG.md
ADDED
|
File without changes
|
data/NOTICE.TXT
ADDED
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Logstash provides infrastructure to automatically generate documentation for thi
|
|
|
13
13
|
|
|
14
14
|
## Need Help?
|
|
15
15
|
|
|
16
|
-
Need help? Try #logstash on freenode IRC or the logstash
|
|
16
|
+
Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
|
|
17
17
|
|
|
18
18
|
## Developing
|
|
19
19
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
# your own trivially. (See the `patterns_dir` setting)
|
|
20
20
|
#
|
|
21
21
|
# If you need help building patterns to match your logs, you will find the
|
|
22
|
-
# <http://grokdebug.herokuapp.com>
|
|
22
|
+
# <http://grokdebug.herokuapp.com> and <http://grokconstructor.appspot.com/> applications quite useful!
|
|
23
23
|
#
|
|
24
24
|
# ==== Grok Basics
|
|
25
25
|
#
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
#
|
|
84
84
|
# Grok sits on top of regular expressions, so any regular expressions are valid
|
|
85
85
|
# in grok as well. The regular expression library is Oniguruma, and you can see
|
|
86
|
-
# the full supported regexp syntax [on the Onigiruma
|
|
87
|
-
# site]
|
|
86
|
+
# the full supported regexp syntax http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt[on the Onigiruma
|
|
87
|
+
# site].
|
|
88
88
|
#
|
|
89
89
|
# ==== Custom Patterns
|
|
90
90
|
#
|
|
@@ -153,12 +153,6 @@
|
|
|
153
153
|
# grok { match => { "message" => "Duration: %{NUMBER:duration}" } }
|
|
154
154
|
# }
|
|
155
155
|
#
|
|
156
|
-
# Alternatively, using the old array syntax:
|
|
157
|
-
# [source,ruby]
|
|
158
|
-
# filter {
|
|
159
|
-
# grok { match => [ "message", "Duration: %{NUMBER:duration}" ] }
|
|
160
|
-
# }
|
|
161
|
-
#
|
|
162
156
|
# If you need to match multiple patterns against a single field, the value can be an array of patterns
|
|
163
157
|
# [source,ruby]
|
|
164
158
|
# filter {
|
|
@@ -169,9 +163,13 @@
|
|
|
169
163
|
config :match, :validate => :hash, :default => {}
|
|
170
164
|
|
|
171
165
|
#
|
|
172
|
-
#
|
|
166
|
+
# Logstash ships by default with a bunch of patterns, so you don't
|
|
173
167
|
# necessarily need to define this yourself unless you are adding additional
|
|
174
|
-
# patterns.
|
|
168
|
+
# patterns. You can point to multiple pattern directories using this setting
|
|
169
|
+
# Note that Grok will read all files in the directory and assume its a pattern
|
|
170
|
+
# file (including any tilde backup files)
|
|
171
|
+
# [source,ruby]
|
|
172
|
+
# patterns_dir => ["/opt/logstash/patterns", "/opt/logstash/extra_patterns"]
|
|
175
173
|
#
|
|
176
174
|
# Pattern files are plain text with format:
|
|
177
175
|
# [source,ruby]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-filter-grok'
|
|
4
|
-
s.version = '0.
|
|
4
|
+
s.version = '1.0.0'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Parse arbitrary text and structure it."
|
|
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"
|
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: 0.
|
|
4
|
+
version: 1.0.0
|
|
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
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstash-core
|
|
@@ -79,9 +79,11 @@ extensions: []
|
|
|
79
79
|
extra_rdoc_files: []
|
|
80
80
|
files:
|
|
81
81
|
- .gitignore
|
|
82
|
+
- CHANGELOG.md
|
|
82
83
|
- CONTRIBUTORS
|
|
83
84
|
- Gemfile
|
|
84
85
|
- LICENSE
|
|
86
|
+
- NOTICE.TXT
|
|
85
87
|
- README.md
|
|
86
88
|
- Rakefile
|
|
87
89
|
- lib/logstash/filters/grok.rb
|
|
@@ -109,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
111
|
version: '0'
|
|
110
112
|
requirements: []
|
|
111
113
|
rubyforge_project:
|
|
112
|
-
rubygems_version: 2.
|
|
114
|
+
rubygems_version: 2.2.2
|
|
113
115
|
signing_key:
|
|
114
116
|
specification_version: 4
|
|
115
117
|
summary: Parse arbitrary text and structure it.
|