logstash-filter-ip2location 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +4 -3
- data/lib/logstash-filter-ip2location_jars.rb +2 -2
- data/logstash-filter-ip2location.gemspec +1 -1
- data/vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.6.0/ip2location-8.6.0.jar +0 -0
- data/vendor/jar-dependencies/org/logstash/filters/logstash-filter-ip2location/2.2.0/logstash-filter-ip2location-2.2.0.jar +0 -0
- metadata +4 -8
- data/vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.2.0/ip2location-8.2.0/META-INF/MANIFEST.MF +0 -3
- data/vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.2.0/ip2location-8.2.0/com/ip2location/IP2Location.class +0 -0
- data/vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.2.0/ip2location-8.2.0/com/ip2location/IPResult.class +0 -0
- data/vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.2.0/ip2location-8.2.0/com/ip2location/MetaData.class +0 -0
- data/vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.2.0/ip2location-8.2.0.jar +0 -0
- data/vendor/jar-dependencies/org/logstash/filters/logstash-filter-ip2location/2.1.1/logstash-filter-ip2location-2.1.1.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12b3d47f6f2e9135045de37e9f2e47b9397e26bb27685dba85978d4ff482afa3
|
4
|
+
data.tar.gz: b5be99d846f5902ec29d16f014398e8ee6d2496b8c312b9825c6eba99e63ab83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ed42549053efc5262b0c2bbc1b6b5b8968870ae3bf93a631e95be9aea88db0d7d1eb78dd67bb10bd09ccfc925a6b3584e1f382ba6b58f4deb5911061a5d0324
|
7
|
+
data.tar.gz: 4fa2f3e95bcda442879df356ede8be54aaac2cd05d46c46ede2d04793ae17dd324b2cd266194a3db4250f604c6b5880eb593c11c8d77574420e9e2b8eba2e550
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# IP2Location Filter Plugin
|
2
|
-
This is IP2Location filter plugin for Logstash that enables Logstash's users to add geolocation information such as country, region, city, latitude, longitude, ZIP code, time zone, Internet Service Provider (ISP), domain name, connection speed, IDD code, area code, weather station code, weather station name, mobile country code (MCC), mobile network code (MNC), mobile brand, elevation,
|
2
|
+
This is IP2Location filter plugin for Logstash that enables Logstash's users to add geolocation information such as country, region, city, latitude, longitude, ZIP code, time zone, Internet Service Provider (ISP), domain name, connection speed, IDD code, area code, weather station code, weather station name, mobile country code (MCC), mobile network code (MNC), mobile brand, elevation, usage type, address type and category by IP address. The library reads the geo location information from **IP2Location BIN data** file.
|
3
3
|
|
4
4
|
Supported IPv4 and IPv6 address.
|
5
5
|
|
@@ -90,7 +90,9 @@ output {
|
|
90
90
|
## Sample Output
|
91
91
|
|Field|Description|
|
92
92
|
|---|---|
|
93
|
+
|ip2location.address_type|the IP address type (A-Anycast, B-Broadcast, M-Multicast & U-Unicast) of IP address or domain name|
|
93
94
|
|ip2location.area_code|the varying length number assigned to geographic areas for call between cities|
|
95
|
+
|ip2location.category|the IAB content taxonomy category of IP address or domain name|
|
94
96
|
|ip2location.city|the city name|
|
95
97
|
|ip2location.country_long|the country name based on ISO 3166|
|
96
98
|
|ip2location.country_short|the two-character country code based on ISO 3166|
|
@@ -100,6 +102,7 @@ output {
|
|
100
102
|
|ip2location.ip_address|the IP address|
|
101
103
|
|ip2location.isp|the Internet Service Provider (ISP) name|
|
102
104
|
|ip2location.latitude|the city latitude|
|
105
|
+
|ip2location.location|the city location|
|
103
106
|
|ip2location.longitude|the city longitude|
|
104
107
|
|ip2location.mcc|the mobile country code|
|
105
108
|
|ip2location.mnc|mobile network code|
|
@@ -112,8 +115,6 @@ output {
|
|
112
115
|
|ip2location.weather_station_name|the name of the nearest weather observation station|
|
113
116
|
|ip2location.zip_code|the ZIP code|
|
114
117
|
|
115
|
-
![Example of data](https://www.ip2location.com/assets/img/logstash-filter-ip2location-screenshot2.png)
|
116
|
-
|
117
118
|
|
118
119
|
## Support
|
119
120
|
Email: support@ip2location.com
|
@@ -1,3 +1,3 @@
|
|
1
1
|
require 'jar_dependencies'
|
2
|
-
require_jar('com.ip2location.ip2location', 'ip2location', '8.
|
3
|
-
require_jar('org.logstash.filters', 'logstash-filter-ip2location', '2.
|
2
|
+
require_jar('com.ip2location.ip2location', 'ip2location', '8.6.0')
|
3
|
+
require_jar('org.logstash.filters', 'logstash-filter-ip2location', '2.2.0')
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-filter-ip2location'
|
4
|
-
s.version = '2.
|
4
|
+
s.version = '2.2.0'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Logstash filter IP2Location"
|
7
7
|
s.description = "IP2Location filter plugin for Logstash enables Logstash's users to add geolocation information such as country, state, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection speed, IDD code, area code, weather station code, weather station name, MNC, MCC, mobile brand, elevation and usage type by IP address."
|
data/vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.6.0/ip2location-8.6.0.jar
ADDED
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-ip2location
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IP2Location
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core-plugin-api
|
@@ -57,12 +57,8 @@ files:
|
|
57
57
|
- spec/filters/ip2location_spec.rb
|
58
58
|
- spec/spec_helper.rb
|
59
59
|
- vendor/IP2LOCATION-LITE-DB1.IPV6.BIN
|
60
|
-
- vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.
|
61
|
-
- vendor/jar-dependencies/
|
62
|
-
- vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.2.0/ip2location-8.2.0/com/ip2location/IP2Location.class
|
63
|
-
- vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.2.0/ip2location-8.2.0/com/ip2location/IPResult.class
|
64
|
-
- vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.2.0/ip2location-8.2.0/com/ip2location/MetaData.class
|
65
|
-
- vendor/jar-dependencies/org/logstash/filters/logstash-filter-ip2location/2.1.1/logstash-filter-ip2location-2.1.1.jar
|
60
|
+
- vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.6.0/ip2location-8.6.0.jar
|
61
|
+
- vendor/jar-dependencies/org/logstash/filters/logstash-filter-ip2location/2.2.0/logstash-filter-ip2location-2.2.0.jar
|
66
62
|
homepage: https://www.ip2location.com
|
67
63
|
licenses:
|
68
64
|
- Apache License (2.0)
|
Binary file
|
Binary file
|
Binary file
|