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

[RFE] Add support for GeoIP and custom geoip DB #344

Open
phvalguima opened this issue Jul 2, 2024 · 1 comment
Open

[RFE] Add support for GeoIP and custom geoip DB #344

phvalguima opened this issue Jul 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@phvalguima
Copy link
Contributor

Add support for opensearch-geospatial plugin. This plugin pulls the IPs database from an upstream source as configured by ingest.geoip.downloader.endpoint.default and copy its contents to the plugin's config directory.

We should (1) support this feature and make sure the database is downloaded and copied to the right folder under the snap; and (2) provide a config option to set the endpoint default above.

The alternative for the default is for the user to manually download the database file and then, at each ingest pipeline creation:

{
  ...
  "processors" : [
    {
      "geoip" : {
        "field" : "ip",
        "target_field" : "geo",
        "database_file" : "my-db-file"
      }
    }
  ]
}
@phvalguima phvalguima added the bug Something isn't working label Jul 2, 2024
Copy link
Contributor

github-actions bot commented Jul 2, 2024

@Mehdi-Bendriss Mehdi-Bendriss added enhancement New feature or request and removed bug Something isn't working labels Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants