Skip to content

Commit

Permalink
Add a script for importing GeoIP data (opensearch-project#954)
Browse files Browse the repository at this point in the history
* Add a script for importing GeoIP data

* Splits subnets as necessary to remove any overlap
* Is a Scala script to run in Spark CLI
* Can optionally import the data into a Spark table
* Adds 3 extra columns that will be used to find the subnet for an IP address

Signed-off-by: Norman Jordan <[email protected]>

* Updated based on PR feedback

Signed-off-by: Norman Jordan <[email protected]>

* Fixed formatting

Signed-off-by: Norman Jordan <[email protected]>

---------

Signed-off-by: Norman Jordan <[email protected]>
  • Loading branch information
normanj-bitquill authored Dec 3, 2024
1 parent 0943f1f commit d35d66b
Show file tree
Hide file tree
Showing 2 changed files with 530 additions and 0 deletions.
Loading

0 comments on commit d35d66b

Please sign in to comment.