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

Fix IPinfo geolocation schema #115147

Merged
merged 3 commits into from
Oct 19, 2024

Conversation

joegallo
Copy link
Contributor

This PR updates all the example IPinfo database files using the latest and greatest from https://github.com/ipinfo/sample-database/tree/main. The contents of those files are different because of the update (but not the schema), so our tests have been updated to search for different ip addresses and expect different results. In each case, I'm manually searching for an ip address and the result to search for using a dump of the contents of the file with a slight preference towards results that are earlier in the data dump.

This also switches us from one example database to a different one for the Geolocation database -- this example database more closely matches the standard_location.mmdb database. It also updates our code to match the slightly different schema of this different Geolocation database.

There are slightly different columns in this sample database than in
the one we had been using. Most of the difference is immaterial, but
the location columns themselves are named slightly differently, and we
need to update our code and tests to match this new schema.
@joegallo joegallo added >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v8.16.0 v9.0.0 v8.17.0 labels Oct 18, 2024
@joegallo joegallo requested a review from masseyke October 18, 2024 21:03
@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 added the auto-backport Automatically create backport pull requests when merged label Oct 18, 2024
@joegallo joegallo merged commit ac25dbe into elastic:main Oct 19, 2024
16 checks passed
@joegallo joegallo deleted the fix-ipinfo-geolocation-schema branch October 19, 2024 00:19
joegallo added a commit to joegallo/elasticsearch that referenced this pull request Oct 19, 2024
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.16
8.x

joegallo added a commit to joegallo/elasticsearch that referenced this pull request Oct 19, 2024
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Oct 25, 2024
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v8.16.0 v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants