logstash-patterns-core 0.4.0 → 2.0.0

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: 20ee48587df080312ace106d7f6981b71abfeaff
4
- data.tar.gz: 0352de9dc7c0c5bc3c98a91880e7f3fcbe9a27e3
3
+ metadata.gz: 61a10faea3a9b2235367f31e051c1b6c76a45d09
4
+ data.tar.gz: 1070dda1339e06d96c78ed076b09d04af27de90d
5
5
  SHA512:
6
- metadata.gz: fbf4d22ba51bd04f2c756d9b95220885d584d17d78dfb9b5c4955faa8131538d72dce8a7b9a1d0c4a6c67d0d09a0395b3fc1aeb5d192e22e3cc2b2b1f15d13ab
7
- data.tar.gz: f8885df803a900a06450d644333d58674dc5af16fb8e8e8840dffb562982fbcc7001e9b4697350556df07b76298e5ff84989fd4dfc5484c206b7148f8748e70b
6
+ metadata.gz: 9ee8e1b2c4a983f953b579c6f4fb065866f7848d76415cb7ff570c2be84e35ca8da19f602d3ff048de8067756b4886612680ff991bc59fe459b562e0bfc51214
7
+ data.tar.gz: 851c217e0e4a3862b919df26488f45eecaf54094011609e505389104a1c53f401d3ee54b8c357192b123eed3faf5aa85c676de8bf5b2b2b1e65b68e7f2b5cdfe
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-patterns-core'
4
- s.version = '0.4.0'
4
+ s.version = '2.0.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Patterns to be used in logstash"
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"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
14
- s.files = `git ls-files`.split($\)
14
+ s.files = Dir['lib/**/*','spec/**/*','patterns/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
15
15
 
16
16
  # Tests
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
@@ -20,9 +20,8 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
23
+ s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
24
24
 
25
- s.add_development_dependency 'logstash-filter-grok'
26
25
  s.add_development_dependency 'logstash-devutils'
27
26
  s.add_development_dependency 'logstash-filter-grok'
28
27
  end
@@ -1,5 +1,8 @@
1
1
  USERNAME [a-zA-Z0-9._-]+
2
2
  USER %{USERNAME}
3
+ EMAILLOCALPART [a-zA-Z][a-zA-Z0-9_.+-=:]+
4
+ EMAILADDRESS %{EMAILLOCALPART}@%{HOSTNAME}
5
+ HTTPDUSER %{EMAILADDRESS}|%{USER}
3
6
  INT (?:[+-]?(?:[0-9]+))
4
7
  BASE10NUM (?<![0-9.+-])(?>[+-]?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+)))
5
8
  NUMBER (?:%{BASE10NUM})
@@ -87,7 +90,7 @@ QS %{QUOTEDSTRING}
87
90
 
88
91
  # Log formats
89
92
  SYSLOGBASE %{SYSLOGTIMESTAMP:timestamp} (?:%{SYSLOGFACILITY} )?%{SYSLOGHOST:logsource} %{SYSLOGPROG}:
90
- COMMONAPACHELOG %{IPORHOST:clientip} %{USER:ident} %{USER:auth} \[%{HTTPDATE:timestamp}\] "(?:%{WORD:verb} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion})?|%{DATA:rawrequest})" %{NUMBER:response} (?:%{NUMBER:bytes}|-)
93
+ COMMONAPACHELOG %{IPORHOST:clientip} %{HTTPDUSER:ident} %{USER:auth} \[%{HTTPDATE:timestamp}\] "(?:%{WORD:verb} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion})?|%{DATA:rawrequest})" %{NUMBER:response} (?:%{NUMBER:bytes}|-)
91
94
  COMBINEDAPACHELOG %{COMMONAPACHELOG} %{QS:referrer} %{QS:agent}
92
95
  HTTPD20_ERRORLOG \[%{HTTPDERROR_DATE:timestamp}\] \[%{LOGLEVEL:loglevel}\] (?:\[client %{IPORHOST:clientip}\] ){0,1}%{GREEDYDATA:errormsg}
93
96
  HTTPD24_ERRORLOG \[%{HTTPDERROR_DATE:timestamp}\] \[%{WORD:module}:%{LOGLEVEL:loglevel}\] \[pid %{POSINT:pid}:tid %{NUMBER:tid}\]( \(%{POSINT:proxy_errorcode}\)%{DATA:proxy_errormessage}:)?( \[client %{IPORHOST:client}:%{POSINT:clientport}\])? %{DATA:errorcode}: %{GREEDYDATA:message}
metadata CHANGED
@@ -1,91 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-patterns-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 2.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-09-11 00:00:00.000000000 Z
11
+ date: 2015-09-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: 1.4.0
20
- - - <
21
- - !ruby/object:Gem::Version
22
- version: 2.0.0
23
14
  requirement: !ruby/object:Gem::Requirement
24
15
  requirements:
25
- - - '>='
16
+ - - ~>
26
17
  - !ruby/object:Gem::Version
27
- version: 1.4.0
28
- - - <
29
- - !ruby/object:Gem::Version
30
- version: 2.0.0
18
+ version: 2.0.0.snapshot
19
+ name: logstash-core
31
20
  prerelease: false
32
21
  type: :runtime
33
- - !ruby/object:Gem::Dependency
34
- name: logstash-filter-grok
35
22
  version_requirements: !ruby/object:Gem::Requirement
36
23
  requirements:
37
- - - '>='
24
+ - - ~>
38
25
  - !ruby/object:Gem::Version
39
- version: '0'
26
+ version: 2.0.0.snapshot
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-devutils
45
34
  prerelease: false
46
35
  type: :development
47
- - !ruby/object:Gem::Dependency
48
- name: logstash-devutils
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-grok
59
48
  prerelease: false
60
49
  type: :development
61
- - !ruby/object:Gem::Dependency
62
- name: logstash-filter-grok
63
50
  version_requirements: !ruby/object:Gem::Requirement
64
51
  requirements:
65
52
  - - '>='
66
53
  - !ruby/object:Gem::Version
67
54
  version: '0'
68
- requirement: !ruby/object:Gem::Requirement
69
- requirements:
70
- - - '>='
71
- - !ruby/object:Gem::Version
72
- version: '0'
73
- prerelease: false
74
- type: :development
75
55
  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
76
56
  email: info@elastic.co
77
57
  executables: []
78
58
  extensions: []
79
59
  extra_rdoc_files: []
80
60
  files:
81
- - .gitignore
82
61
  - CHANGELOG.md
83
62
  - CONTRIBUTORS
84
63
  - Gemfile
85
64
  - LICENSE
86
65
  - NOTICE.TXT
87
66
  - README.md
88
- - Rakefile
89
67
  - lib/logstash/patterns/core.rb
90
68
  - logstash-patterns-core.gemspec
91
69
  - patterns/aws
@@ -139,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
117
  version: '0'
140
118
  requirements: []
141
119
  rubyforge_project:
142
- rubygems_version: 2.1.9
120
+ rubygems_version: 2.4.8
143
121
  signing_key:
144
122
  specification_version: 4
145
123
  summary: Patterns to be used in logstash
data/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- *.gem
2
- Gemfile.lock
3
- .bundle
4
- /.buildpath
5
- /.project
data/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- @files=[]
2
-
3
- task :default do
4
- system("rake -T")
5
- end
6
-
7
- require "logstash/devutils/rake"