logstash-filter-ip2location 2.3.2 → 2.4.0

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: afe979aa5f73816b4383418427c95493eb318c49f464649e6f99d9f2875789be
4
- data.tar.gz: 6a0a4b553978aa7b16a8a9de76409a4a123d37b3472eeb3869884d685dc170c3
3
+ metadata.gz: d4bb20dd4cbf1bc67c3d2b830dae8ea2b177f02f2de8b791a32518976a1ca1ef
4
+ data.tar.gz: 2f8d442c7fd1a9ce015787ba0007461bbeb111d23e31c97b21d7d081d81e3955
5
5
  SHA512:
6
- metadata.gz: fa385ec640bef0c383e418dc77ceada8cbcd5bfcc1e43175ca406bdb18281e565b1ea2c8969a231545dd2712b46bdb55a394f59b8143f4738d1b5676f457c9a5
7
- data.tar.gz: 91c240e70faf07c36e29b504dbab6f133ee6351f8116793e04f3c6c8fa136eaebf6fab660a8bc45e20cf3c8789746715c6452dffc51bb6f270d1afac27dafb75
6
+ metadata.gz: 07a89765b87e4118af8c712ccdc1f059a1264620969750acbe538581431f4603870693ec13326290c387223a2f578beab248f63e3eaedffb12363268340ff509
7
+ data.tar.gz: 37e61c13642940521c6ecb3d0bcd38ece0fc7316012e7f44d6df2c3958ae37b25c5411903a16c958f8d626e2961dd76b8ffb920d5b6878e67f2dda96fdc4fa06
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022 IP2Location.com
1
+ Copyright (c) 2023 IP2Location.com
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
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, usage type, address type and category by IP address. The library reads the geo location information from **IP2Location BIN data** file.
2
+ This is IP2Location filter plugin for Logstash that enables Logstash's users to add geolocation information such as country, region, district, 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, IAB category and ASN 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
 
@@ -34,7 +34,7 @@ filter {
34
34
  match => { "message" => "%{COMBINEDAPACHELOG}"}
35
35
  }
36
36
  ip2location {
37
- source => "clientip"
37
+ source => "[source][address]"
38
38
  }
39
39
  }
40
40
 
@@ -60,7 +60,7 @@ filter {
60
60
  match => { "message" => "%{COMBINEDAPACHELOG}"}
61
61
  }
62
62
  ip2location {
63
- source => "clientip"
63
+ source => "[source][address]"
64
64
  # Set path to the database located
65
65
  database => "IP2LOCATION_BIN_DATABASE_FILESYSTEM_PATH"
66
66
  # Enable memory mapped to be used
@@ -98,10 +98,13 @@ output {
98
98
  |---|---|
99
99
  |ip2location.address_type|the IP address type (A-Anycast, B-Broadcast, M-Multicast & U-Unicast) of IP address or domain name|
100
100
  |ip2location.area_code|the varying length number assigned to geographic areas for call between cities|
101
+ |ip2location.as|Autonomous system (AS) name|
102
+ |ip2location.asn|the Autonomous system number (ASN)|
101
103
  |ip2location.category|the IAB content taxonomy category of IP address or domain name|
102
104
  |ip2location.city|the city name|
103
105
  |ip2location.country_long|the country name based on ISO 3166|
104
106
  |ip2location.country_short|the two-character country code based on ISO 3166|
107
+ |ip2location.district|the district or county name|
105
108
  |ip2location.domain|the Internet domain name associated to IP address range|
106
109
  |ip2location.elevation|the elevation|
107
110
  |ip2location.idd_code|the IDD prefix to call the city from another country|
@@ -123,6 +126,5 @@ output {
123
126
 
124
127
 
125
128
  ## Support
126
- Email: support@ip2location.com
127
-
129
+ Email: support@ip2location.com
128
130
  URL: [https://www.ip2location.com](https://www.ip2location.com)
@@ -1,3 +1,3 @@
1
1
  require 'jar_dependencies'
2
- require_jar('com.ip2location.ip2location', 'ip2location', '8.9.1')
3
- require_jar('org.logstash.filters', 'logstash-filter-ip2location', '2.3.2')
2
+ require_jar('com.ip2location.ip2location', 'ip2location', '8.11.0')
3
+ require_jar('org.logstash.filters', 'logstash-filter-ip2location', '2.4.0')
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-ip2location'
4
- s.version = '2.3.2'
5
- s.licenses = ['Apache License (2.0)']
4
+ s.version = '2.4.0'
5
+ s.licenses = ['Apache-2.0']
6
6
  s.summary = "Logstash filter IP2Location"
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."
7
+ s.description = "IP2Location filter plugin for Logstash enables Logstash's users to add geolocation information such as country, state, district, 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, usage type, address type, IAB category and ASN by IP address."
8
8
  s.authors = ["IP2Location"]
9
9
  s.email = 'support@ip2location.com'
10
10
  s.homepage = "https://www.ip2location.com"
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.3.2
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - IP2Location
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-14 00:00:00.000000000 Z
11
+ date: 2023-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core-plugin-api
@@ -39,10 +39,10 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: IP2Location filter plugin for Logstash enables Logstash's users to add
42
- geolocation information such as country, state, city, latitude, longitude, ZIP code,
43
- time zone, ISP, domain name, connection speed, IDD code, area code, weather station
44
- code, weather station name, MNC, MCC, mobile brand, elevation and usage type by
45
- IP address.
42
+ geolocation information such as country, state, district, city, latitude, longitude,
43
+ ZIP code, time zone, ISP, domain name, connection speed, IDD code, area code, weather
44
+ station code, weather station name, MNC, MCC, mobile brand, elevation, usage type,
45
+ address type, IAB category and ASN by IP address.
46
46
  email: support@ip2location.com
47
47
  executables: []
48
48
  extensions: []
@@ -57,11 +57,11 @@ 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.9.1/ip2location-8.9.1.jar
61
- - vendor/jar-dependencies/org/logstash/filters/logstash-filter-ip2location/2.3.2/logstash-filter-ip2location-2.3.2.jar
60
+ - vendor/jar-dependencies/com/ip2location/ip2location/ip2location/8.11.0/ip2location-8.11.0.jar
61
+ - vendor/jar-dependencies/org/logstash/filters/logstash-filter-ip2location/2.4.0/logstash-filter-ip2location-2.4.0.jar
62
62
  homepage: https://www.ip2location.com
63
63
  licenses:
64
- - Apache License (2.0)
64
+ - Apache-2.0
65
65
  metadata:
66
66
  logstash_plugin: 'true'
67
67
  logstash_group: filter