logstash-filter-varnishlog 0.1.8 → 0.1.9

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: cb578535f6eb304f2cd9bd244f5a8f10c369f374
4
- data.tar.gz: ff53e0ccf4eca5ec229d29cbee63e9fadee14dde
3
+ metadata.gz: 522db1d86d5d2cee76999a1057b350e1bc09d0f5
4
+ data.tar.gz: 32ccf64fc14e3f820ecf4e3cb5b76b629a5c7a23
5
5
  SHA512:
6
- metadata.gz: 7ca241ae26db16e8d929bf38f5163eefd6b3056df219ad2cc8e096b51e25a49f4163d71c029de4926cb28b47ca0ff896410a4b1f9af4dbc945e6fdd620d1b93f
7
- data.tar.gz: b76284e146aa9ab422b77c49b6a08bad1bcd87640aab670dd7f44c208b337e927638b6e348faac5099f6b19ff19f3bec8390cec3fa1be8f62c3f203c7f007947
6
+ metadata.gz: 236c28124c363b288f951d7099ea37f70ff854f448f1628961e48560af196bf0705e1761bf6f87f29e2b36d9836fbba4154e3eb2040d20db9ec154bcbb8219b6
7
+ data.tar.gz: 04d156686e2e8f6cbce96e796e51ad8054a521ea0ea624d2d51b2362d85071cf5eafbccebb8aa68267e8b71bee6063e802e9089b4aafe40aa534a15a90562613
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## 0.1.9
2
+ - Add Raw Timestamps
1
3
  ## 0.1.8
2
4
  - Fix Acct
3
5
  - Add Fetch Error
@@ -51,6 +51,7 @@ class LogStash::Filters::Varnishlog < LogStash::Filters::Base
51
51
  timestamps.each do |timestamp|
52
52
  if match = /-\s+Timestamp\s+(?<step>.*): (?<time_a>.*) (?<time_b>.*) (?<time_c>.*)/.match(timestamp)
53
53
  event.set(normalize_fields("timestamp_" + match['step'] ), match['time_a'])
54
+ event.set(normalize_fields("timestamp_" + match['step'] + "_raw"), match['time_a'] + " " + match['time_b'] + " " + match['time_c'])
54
55
  end
55
56
  end
56
57
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-varnishlog'
3
- s.version = '0.1.8'
3
+ s.version = '0.1.9'
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.8
4
+ version: 0.1.9
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-04-27 00:00:00.000000000 Z
11
+ date: 2018-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement