logstash-filter-geoip 6.0.0-java → 6.0.1-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: 952d937747de9fad0f91a1a2c586b1bba188eb20d5df75836878b38fa968d6f7
4
- data.tar.gz: e1fdc9d56041d692689d503b5fc3003279ed06461b9c64094bbb771a140a98c8
3
+ metadata.gz: 63e99c3666e0446a5e4eca1cb22b0734ebb32a4e4792ab034328088d997dad12
4
+ data.tar.gz: 100cd6a36940d85140c577381163917007847d50603fe4cfb11a499cd5f619a6
5
5
  SHA512:
6
- metadata.gz: eb693375414d224c4f49dca0e665069862d31428584b7cb718b606d70671a1b6c6235ae8d1e234fd9f5fc92cc1f377d133963b73daf0dfbd3a7c5b2b2de2e3f5
7
- data.tar.gz: 700d8bdce621931ddbae7b126cbe4a6bfa24852b01c080cdcd09625b74e43e94bec8b6f97fd5f50784a2f64e2a4e321fc40c585ca0a00126474b27ceb379b5ba
6
+ metadata.gz: ff2e9a74e4569fea556d3412778da9c818128e1bc36fefe470053c0b2d45a9145d2e6fb6f4391b6d6234c55babdcfcc597bac8ef49aa5cf4d1eeca54a76fffa8
7
+ data.tar.gz: 51519bfa9cba02fcfaa50b0b7469b5ccd3c142c83e34a5350130c375e8bf167e3e2aeaf4c05d3c849e63106d2f9c16f696890fe9bf387029bc3e1cb6730b89cb
@@ -1,3 +1,7 @@
1
+ ## 6.0.1
2
+ - Fixed deeplink to Elasticsearch Reference
3
+ [#151](https://github.com/logstash-plugins/logstash-filter-geoip/pull/151)
4
+
1
5
  ## 6.0.0
2
6
  - Removed obsolete lru_cache_size field
3
7
 
@@ -33,7 +33,7 @@ https://www.maxmind.com/en/geoip2-databases[Commercial databases] from Maxmind a
33
33
 
34
34
  If you need to use databases other than the bundled GeoLite2 City, you can download them directly
35
35
  from Maxmind's website and use the `database` option to specify their location. The GeoLite2 databases
36
- can be downloaded from https://dev.maxmind.com/geoip/geoip2/geolite2[here].
36
+ 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
 
@@ -44,7 +44,7 @@ the GeoIP lookup returns a latitude and longitude. The field is stored in
44
44
  http://geojson.org/geojson-spec.html[GeoJSON] format. Additionally,
45
45
  the default Elasticsearch template provided with the
46
46
  {logstash-ref}/plugins-outputs-elasticsearch.html[elasticsearch output] maps
47
- the `[geoip][location]` field to an http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-geo-point-type.html#_mapping_options[Elasticsearch geo_point].
47
+ the `[geoip][location]` field to an {ref}/geo-point.html[Elasticsearch Geo_point datatype].
48
48
 
49
49
  As this field is a `geo_point` _and_ it is still valid GeoJSON, you get
50
50
  the awesomeness of Elasticsearch's geospatial query, facet and filter functions
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-geoip'
4
- s.version = '6.0.0'
4
+ s.version = '6.0.1'
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"
@@ -93,8 +93,8 @@ describe LogStash::Filters::GeoIP do
93
93
 
94
94
  it "should set other subfields of 'target' properly" do
95
95
  expect(event.get("target").to_hash.keys.sort).to eq(["city_name", "ip", "region_name"])
96
- expect(event.get("[target][city_name]")).to eq("Salem")
97
- expect(event.get("[target][region_name]")).to eq("Massachusetts")
96
+ expect(event.get("[target][city_name]")).to eq("Hudson")
97
+ expect(event.get("[target][region_name]")).to eq("New Hampshire")
98
98
  end
99
99
 
100
100
  end
@@ -248,8 +248,8 @@ describe LogStash::Filters::GeoIP do
248
248
  expect(event.get("geoip")).not_to be_empty
249
249
  expect(event.get("geoip")["ip"]).to eq("2607:f0d0:1002:51:0:0:0:4")
250
250
  expect(event.get("geoip").to_hash.keys.sort).to eq(
251
- ["city_name", "continent_code", "country_code2", "country_code3", "country_name", "dma_code", "ip", "latitude", "location", "longitude", "postal_code", "region_code", "region_name", "timezone"]
252
- )
251
+ ["continent_code", "country_code2", "country_code3", "country_name", "ip", "latitude", "location", "longitude", "timezone"]
252
+ )
253
253
  end
254
254
  end
255
255
 
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: 6.0.0
4
+ version: 6.0.1
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-29 00:00:00.000000000 Z
11
+ date: 2019-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement