logstash-filter-geoip 7.1.1-java → 7.1.2-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1fdbefd7d67ce88da09217eba70f5c832e7028e65d7d99e0f448a24b20ffa4da
|
|
4
|
+
data.tar.gz: e5c196d95a1c6ec91344bea503fbca857bc065ba488ac9162a72544fd24dbc6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d22461fdcd209c6e90cf11150698927b6c379a0ddd494cae2fa5d4efe713ef38c0378b2108415508c1808a416b63a7fcaf77650ea7b835caa2aa0810281926b7
|
|
7
|
+
data.tar.gz: 283774d77acecf709d5530c7c9501b8b2a26e732ce41af2924a774c4c7bcfbd8401a974b4aa0e28840af86ae00d02b22280d7c27fbf3fce0063f3349b22a9d2d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 7.1.2
|
|
2
|
+
- Remove EULA doc as MaxMind auto-update has been retargeted to a later release [#183](https://github.com/logstash-plugins/logstash-filter-geoip/pull/183)
|
|
3
|
+
|
|
1
4
|
## 7.1.1
|
|
2
5
|
- Changed the behaviour of database expiry. Instead of stopping the pipeline, it adds a tag `_geoip_expired_database` [#182](https://github.com/logstash-plugins/logstash-filter-geoip/pull/182)
|
|
3
6
|
|
data/docs/index.asciidoc
CHANGED
|
@@ -37,25 +37,6 @@ can be https://dev.maxmind.com/geoip/geoip2/geolite2[downloaded from here].
|
|
|
37
37
|
|
|
38
38
|
If you would like to get Autonomous System Number(ASN) information, you can use the GeoLite2-ASN database.
|
|
39
39
|
|
|
40
|
-
[id="plugins-{type}s-{plugin}-database_license"]
|
|
41
|
-
==== Database License
|
|
42
|
-
|
|
43
|
-
https://www.maxmind.com[MaxMind] changed from releasing the GeoIP database under
|
|
44
|
-
a Creative Commons (CC) license to a proprietary end-user license agreement
|
|
45
|
-
(EULA). The MaxMind EULA requires Logstash to update the MaxMind database
|
|
46
|
-
within 30 days of a database update. If Logstash fails to download the database
|
|
47
|
-
for 30 days, it will stop the pipeline in order to maintain compliance.
|
|
48
|
-
|
|
49
|
-
The GeoIP filter plugin can manage the database for users running the Logstash default
|
|
50
|
-
distribution, or you can manage
|
|
51
|
-
database updates on your own. The behavior is controlled by the `database` setting.
|
|
52
|
-
When you use the default `database` setting, the auto-update feature ensures that the plugin is
|
|
53
|
-
using the latest version of the database.
|
|
54
|
-
Otherwise, you are responsible for maintaining compliance.
|
|
55
|
-
|
|
56
|
-
The Logstash open source distribution uses the MaxMind Creative Commons license
|
|
57
|
-
database by default.
|
|
58
|
-
|
|
59
40
|
==== Details
|
|
60
41
|
|
|
61
42
|
A `[geoip][location]` field is created if
|
|
@@ -129,16 +110,14 @@ number of cache misses and waste memory.
|
|
|
129
110
|
===== `database`
|
|
130
111
|
|
|
131
112
|
* Value type is <<path,path>>
|
|
132
|
-
*
|
|
113
|
+
* There is no default value for this setting.
|
|
133
114
|
|
|
134
115
|
The path to MaxMind's database file that Logstash should use. The default database is GeoLite2-City.
|
|
135
116
|
GeoLite2-City, GeoLite2-Country, GeoLite2-ASN are the free databases from MaxMind that are supported.
|
|
136
117
|
GeoIP2-City, GeoIP2-ISP, GeoIP2-Country are the commercial databases from MaxMind that are supported.
|
|
137
118
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
See
|
|
141
|
-
<<plugins-{type}s-{plugin}-database_license,Database License>> for more information.
|
|
119
|
+
If not specified, this will default to the GeoLite2 City database that ships
|
|
120
|
+
with Logstash.
|
|
142
121
|
|
|
143
122
|
[id="plugins-{type}s-{plugin}-default_database_type"]
|
|
144
123
|
===== `default_database_type`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-filter-geoip'
|
|
4
|
-
s.version = '7.1.
|
|
4
|
+
s.version = '7.1.2'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Adds geographical information about an IP address"
|
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
|
@@ -10,7 +10,7 @@ describe LogStash::Filters::GeoIP do
|
|
|
10
10
|
::File.delete(METADATA_PATH) if ::File.exist?(METADATA_PATH)
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
xdescribe "config without database path in LS >= 7.13", :aggregate_failures do
|
|
14
14
|
before(:each) do
|
|
15
15
|
dir_path = Stud::Temporary.directory
|
|
16
16
|
File.open(dir_path + '/uuid', 'w') { |f| f.write(SecureRandom.uuid) }
|
|
@@ -61,5 +61,5 @@ describe LogStash::Filters::GeoIP do
|
|
|
61
61
|
expect(::File.exist?(METADATA_PATH)).to be_falsey
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
|
-
end if MAJOR < 7 || (MAJOR == 7 && MINOR <=
|
|
64
|
+
end if MAJOR < 7 || (MAJOR == 7 && MINOR <= 13)
|
|
65
65
|
end
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-geoip
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.1.
|
|
4
|
+
version: 7.1.2
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-05-
|
|
11
|
+
date: 2021-05-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|