fix: missing network field in output (city, isp, anonymous)#230
Open
mcauto wants to merge 1 commit intologstash-plugins:mainfrom
Open
fix: missing network field in output (city, isp, anonymous)#230mcauto wants to merge 1 commit intologstash-plugins:mainfrom
mcauto wants to merge 1 commit intologstash-plugins:mainfrom
Conversation
|
❌ Author of the following commits did not sign a Contributor Agreement: Please, read and sign the above mentioned agreement if you want to contribute to this project |
Contributor
@mcauto please
We highly appreciate your contribution! 🙏 |
mashhurs
reviewed
Dec 12, 2025
| String maxmindGeoip2Version = '2.17.0' | ||
| String maxmindDbVersion = '2.1.0' | ||
| String maxmindGeoip2Version = '4.2.0' | ||
| String maxmindDbVersion = '3.1.1' |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/
I fixed the part that didn't work as expected according to the official documentation.
plugins-filters-geoip.html#plugins-filters-geoip-field-mapping
I have identified the author of this document through this commit. Please check and confirm.
@edmocosta a53f34b
AS-IS
{ "lite2_city": { "geo": { "region_iso_code": "KR-11", "city_name": "Songpa-gu", "country_iso_code": "KR", "timezone": "Asia/Seoul", "country_name": "South Korea", "continent_code": "AS", "location": { "lon": 0.0, "lat": 0.0 }, "region_name": "Seoul", "postal_code": "055" }, "ip": "{IPADDR}" }, "country": { "geo": { "country_name": "South Korea", "continent_name": "Asia", "country_iso_code": "KR" }, "ip": "{IP}" }, "lite2_asn": { "as": { "number": 9318, "organization": { "name": "SK Broadband Co Ltd" } }, "ip": "{IPADDR}" }, "as": { "number": 9318, "organization": { "name": "SK Broadband Co Ltd" } }, "anonymous_ip": { "ip_traits": { "residential_proxy": false, "anonymous": false, "tor_exit_node": false, "public_proxy": false, "hosting_provider": false, "anonymous_vpn": false } }, "domain": { "domain": null }, "ip": "{IPADDR}", "lite2_country": { "geo": { "country_name": "South Korea", "continent_name": "Asia", "country_iso_code": "KR" }, "ip": "{IPADDR}" }, "mmdb": { "organization": "SK Broadband", "isp": "SK Broadband" } }TO-BE
{ "lite2_city": { "geo": { "region_iso_code": "KR-11", "city_name": "Songpa-gu", "country_iso_code": "KR", "timezone": "Asia/Seoul", "country_name": "South Korea", "continent_code": "AS", "location": { "lon": 0.0, "lat": 0.0 }, "region_name": "Seoul", "postal_code": "055" }, "ip_traits": { "network": "0.0.0.0/20" }, // add "ip": "0.0.0.0" }, "country": { "geo": { "country_name": "South Korea", "continent_name": "Asia", "country_iso_code": "KR" }, "ip": "0.0.0.0" }, "lite2_asn": { "as": { "number": 9318, "organization": { "name": "SK Broadband Co Ltd" } }, "ip": "0.0.0.0" }, "anonymous_ip": { "ip_traits": { "tor_exit_node": false, "public_proxy": false, "anonymous_vpn": false, "residential_proxy": false, "anonymous": false, "hosting_provider": false, "network": "0.0.0.0/16" // add } }, "city": { "geo": { "region_iso_code": "KR-11", "city_name": "Gwangjin-gu", "country_iso_code": "KR", "timezone": "Asia/Seoul", "country_name": "South Korea", "continent_code": "AS", "location": { "lon": 0.0, "lat": 0.0 }, "region_name": "Seoul", "postal_code": "050" }, "ip_traits": { "network": "0.0.0.0/24" }, "ip": "0.0.0.0" }, "domain": { "domain": null }, "isp": { "as": { "number": 9318, "organization": { "name": "SK Broadband Co Ltd" } }, "mmdb": { "organization": "SK Broadband", "isp": "SK Broadband" }, "ip_traits": { "network": "0.0.0.0/24" }, // add "ip": "0.0.0.0" }, "lite2_country": { "geo": { "country_name": "South Korea", "continent_name": "Asia", "country_iso_code": "KR" }, "ip": "0.0.0.0" } }