logstash-filter-varnishlog 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/filters/varnishlog.rb +2 -2
- data/logstash-filter-varnishlog.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c587490b315eb4f4ba08b3b0939ab1aa1dfeb18
|
4
|
+
data.tar.gz: af652134f06547d55473adc49e115aecae4491bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49ee849a557db8280b346a5a8d03036241676aaddb60f27c3d62dbf7797aef7ab55527eaed37be1373a4ecfc77d5cf273d1b374370de8b746d54c4dee4108729
|
7
|
+
data.tar.gz: abe3e596a68e3d1782f846a9f9707d6099d5a60b1a6880588482d12285dee20fd5db92e788cf323803376a5979254eb7f7686022d4962a18e84c9677739d8df5
|
data/CHANGELOG.md
CHANGED
@@ -55,7 +55,7 @@ class LogStash::Filters::Varnishlog < LogStash::Filters::Base
|
|
55
55
|
## Request headers.
|
56
56
|
request_headers = items.grep(/ReqHeader/)
|
57
57
|
request_headers.each do |header|
|
58
|
-
if match = /-\s+ReqHeader\s+(?<header_name
|
58
|
+
if match = /-\s+ReqHeader\s+(?<header_name>.*?): (?<header_value>.*)/.match(header)
|
59
59
|
event.set(match['header_name'], match['header_value'])
|
60
60
|
end
|
61
61
|
end
|
@@ -76,7 +76,7 @@ class LogStash::Filters::Varnishlog < LogStash::Filters::Base
|
|
76
76
|
## Response headers.
|
77
77
|
response_headers = items.grep(/RespHeader/)
|
78
78
|
response_headers.each do |header|
|
79
|
-
if match = /-\s+RespHeader\s+(?<header_name
|
79
|
+
if match = /-\s+RespHeader\s+(?<header_name>.*?): (?<header_value>.*)/.match(header)
|
80
80
|
event.set(match['header_name'], match['header_value'])
|
81
81
|
end
|
82
82
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-filter-varnishlog'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.3'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = 'A logstash plugin reading varnishlog output'
|
6
6
|
s.description = 'logstash filter plugin reading varnishlog grouped by id'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-varnishlog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Herweg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|