Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the 'Enterprise' database to the geoip processor #107377

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

joegallo
Copy link
Contributor

Follow on to #107287

Adds support for the 'GeoIP2 Enterprise' database from MaxMind to the geoip processor.

The geoip processor will automatically download the various 'GeoLite2' databases, but the 'GeoIP2 Enterprise' database is not a 'GeoLite2' database -- it's a commercial database available to those with a suitable license from MaxMind.

The support that is being added for it in this PR is in line with the support that we already have for MaxMind's 'GeoIP2 City' and 'GeoIP2 Country' databases -- that is, one would need to arrange their own download management via some custom endpoint or otherwise arrange for the relevant file(s) to be in the $ES_CONFIG/ingest-geoip directory on the nodes of the cluster.

Note: only a limited number of properties are supported in this initial implementation. The 'GeoIP2 Enterprise' database is almost like a union of the other database types, and in keeping with that the properties that are supported here are a union of the supported properties from the other already supported database types -- we have some work to do to support more of the fields available in the 'GeoLite2 City' and 'GeoIP2 City' databases, though, and that implementation debt also shows through here.

@joegallo joegallo added >enhancement :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v8.14.0 labels Apr 11, 2024
@joegallo joegallo requested a review from masseyke April 11, 2024 18:47
Copy link

Documentation preview:

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine
Copy link
Collaborator

Hi @joegallo, I've created a changelog YAML for you.

@joegallo joegallo merged commit 6ff3a26 into elastic:main Apr 11, 2024
15 checks passed
@joegallo joegallo deleted the ingest-geoip-processor-enterprise branch April 11, 2024 20:45
@joegallo
Copy link
Contributor Author

Related to #101080

yaauie added a commit to yaauie/logstash-filter-elastic_integration that referenced this pull request Apr 23, 2024
Catches up with Elasticsearch 8.14+ support for user-provided databases:
 - `Anonymous-IP` elastic/elasticsearch#107287
 - `Enterprise` elastic/elasticsearch#107377

When compiled against Elasticsearch < 8.14, these methods neither exist in the
interface nor are reachable by the GeoIP processor.

Co-authored-by: Joe Gallo <joegallo@gmail.com>
yaauie added a commit to elastic/logstash-filter-elastic_integration that referenced this pull request Apr 23, 2024
Catches up with Elasticsearch 8.14+ support for user-provided databases:
 - `Anonymous-IP` elastic/elasticsearch#107287
 - `Enterprise` elastic/elasticsearch#107377

When compiled against Elasticsearch < 8.14, these methods neither exist in the
interface nor are reachable by the GeoIP processor.

Co-authored-by: Joe Gallo <joegallo@gmail.com>
joegallo added a commit to joegallo/elasticsearch that referenced this pull request Jun 3, 2024
The same highlight also serves for elastic#107287, but I don't know an
especially elegant way of making one highlight do double duty, so I
did it the naive way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >enhancement release highlight Team:Data Management Meta label for data/management team v8.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants