logstash-filter-ipinfo 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/logstash/filters/ipinfo.rb +1 -1
- data/logstash-filter-ipinfo.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efd683df329cb7767a1346dc1e89e7af704fa666303450f65b1432f65b3d3188
|
4
|
+
data.tar.gz: 5cc4c5e0b3801fa84aa7eb29944d151a62bfc968cfdbf24b6fa1dc9ca63f1a42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '070821acbc9428428ea5b5230bc3e4fe1494a307077f3afc0a79f66a343c95c417c8f2da1c7107a33d311a6fb78080844495f79a13a8b170cf364660a72512ed'
|
7
|
+
data.tar.gz: eff97dc1d0db290619aaf1cd6cca0e382ba9ce5365d96cac156a51a47e410af805f3aa14f8940b3fd8ae86ff7cd0bb6d99ec6151971e533c813b8e1a511ce44b
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ Or you can build it yourself:
|
|
21
21
|
git clone https://github.com/nsherron90/logstash-filter-ipinfo.git
|
22
22
|
bundle install
|
23
23
|
gem build logstash-filter-ipinfo.gemspec
|
24
|
-
$LS_HOME/bin/logstash-plugin install logstash-filter-ipinfo-1.
|
24
|
+
$LS_HOME/bin/logstash-plugin install logstash-filter-ipinfo-1.1.0.gem
|
25
25
|
```
|
26
26
|
|
27
27
|
### 2. Filter Configuration
|
@@ -25,7 +25,7 @@ class LogStash::Filters::Ipinfo < LogStash::Filters::Base
|
|
25
25
|
# Replace the message with this value.
|
26
26
|
|
27
27
|
config :ip, :validate => :string, :required => true
|
28
|
-
config :token, :validate => :string, :
|
28
|
+
config :token, :validate => :string, :default => ""
|
29
29
|
config :target, :validate => :string, :default => "ipinfo"
|
30
30
|
|
31
31
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-filter-ipinfo'
|
3
|
-
s.version = '1.
|
3
|
+
s.version = '1.1.0'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = 'This ipinfo filter takes contents in the ip field and returns ip geolocation api data (see https://ipinfo.io/ for more info).'
|
6
6
|
s.description = 'Geolocation enrichment for IP addresses matched from logstash events'
|