logstash-filter-accesswatch 0.2.0 → 0.2.2

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
  SHA256:
3
- metadata.gz: 2f75068c27fcfbe8f6630eeb56055d994e30fda75f0cf342fd94cb84ad2c06fc
4
- data.tar.gz: 72df9db9018bd46970ac20827b17b26cc2ac11fbaee8e8348eaf57e67198888a
3
+ metadata.gz: 91290d2f1fbd7c8f4f52499b87d9aa9dda4f6e473904c1ab5e305742648d8e30
4
+ data.tar.gz: e6aad19608b4f00dc30abd124e0804073fe92798cabdc6676e49ba9c58c7025c
5
5
  SHA512:
6
- metadata.gz: 5d6831752d2352e47e7613ecf1c1edd72f82bd904fb4475e19d8ef509cc8fcbe6475fc6aef8d49be1736262cfa81dd5790cf40a24b337137caa4db3d28891553
7
- data.tar.gz: 61d7c93786d2590784452dafba8833733079f72e4bbe3f40a97bd12e412dfbd208f2d7a61117bf65b86f6e1650d1565ece9dd48fd6c31227f41f1a3b56bb27a2
6
+ metadata.gz: 2c2c9e00fb7719212fa59c8a0e6944914156fc2db616c304350a591a0f7f0ef9f4d76d45161f4a07b88c4faedcec1a4eea3ef99047a1f382e2c833efd35b4681
7
+ data.tar.gz: 84e8bdb3ad11aa79423598f943ce7bded37a75ce75c87aa2509b7174cb2f81836d55d2b35410a85810723aeacccce4114af10ad22d32444903126cd12634d255
@@ -55,6 +55,7 @@ class LogStash::Filters::Accesswatch < LogStash::Filters::Base
55
55
  {:status => :success,
56
56
  :data => data}
57
57
  else
58
+ @logger.error("Access Watch (#{data["code"]}): #{data["message"]}")
58
59
  {:status => :error,
59
60
  :code => data["code"],
60
61
  :message => data["message"]}
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'logstash-filter-accesswatch'
4
- s.version = '0.2.0'
4
+ s.version = '0.2.2'
5
5
  s.licenses = ['Apache-2.0']
6
6
  s.summary = 'The Logstash filter plugin for Access Watch (http://access.watch).'
7
7
  s.description = 'The Access Watch filter adds information about robots visiting your website based on data from our robot database.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-accesswatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoît Fleury