logstash-filter-linelookup 0.1.0 → 0.1.1

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: e05f8ed58a5a3da6b96b39e003aa564d78ebd3d13fbc0caf73c0d71eb4e444c9
4
- data.tar.gz: a49de6db640b18c72345e626ac63ebdeee5437d3b538fdfa90367a12a954cb75
3
+ metadata.gz: 6f6ae195cc35737fd22bbaf59fb797941c759df47f64a9c6a022c8408164512f
4
+ data.tar.gz: 111fd85929c1807d4981177d95c96a68e980080375e6013d5b11d39371b0d652
5
5
  SHA512:
6
- metadata.gz: d32fde2a7a298ba98741efe296a90381faa6d5f76eb93146eaaa75670450d664322919cad1c072b7da76263fe47e9b171352c87e43b48d1c44475004fd1e3155
7
- data.tar.gz: d44589afe4fa35c8005a8d2a3b710900136e1b04ead85aa9949d8f352797630e65f5a7550b582c54aa80fb5e5a91e92498f6890d92c3632740f9f060382f233c
6
+ metadata.gz: 8680f254747fc79a647f02d471b1a647c5a2d4428c333d67e39a40083b5b50245b47d6d156348800c743008a930766d58d9c103ab523ab5566ad7df5dad397f9
7
+ data.tar.gz: e196cce4470a30463cba6e6e10931074e1059cc37858565f3b4ed5a3984b67e64e6b054b3314f7719e523d68dde135d41924b5384b8f05a962bf905d0988104e
data/CHANGELOG.md CHANGED
@@ -1,2 +1,5 @@
1
+ ## 0.1.1
2
+ - Log retries
3
+
1
4
  ## 0.1.0
2
5
  - Init release
@@ -41,12 +41,13 @@ class LogStash::Filters::Linelookup < LogStash::Filters::Base
41
41
  end
42
42
 
43
43
  rescue => e
44
+ @logger.warn("Failed to query lookup service", :event => event, :exception => e)
44
45
  @lookupconn = nil
45
46
  retries -= 1
46
47
  unless retries < 0
47
48
  retry
48
49
  else
49
- @logger.warn("Failed to query lookup service", :event => event, :exception => e)
50
+ @logger.warn("Too many reties. Giving up.", :event => event)
50
51
  event.tag("_linelookup_failure")
51
52
  end
52
53
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-linelookup'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.licenses = ['MIT']
5
5
  s.summary = 'Logstash Filter Plugin for Linelookup'
6
6
  s.description = 'A logstash filter for enrichment via a simple line-protocol over a socket'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-linelookup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Wecke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-24 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core-plugin-api