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 setting to configure a directory with geoip databases #1211

Merged
merged 2 commits into from
Apr 19, 2023

Conversation

jsoriano
Copy link
Member

@jsoriano jsoriano commented Apr 6, 2023

Proposal to solve #1210, and provide an initial framework to have persistent settings per profile.

With this change, to replace GeoIP databases a user needs to follow these steps:

  • Create a directory with the GeoIP databases they want to use.
  • Create a new profile with elastic-package profiles create.
  • In the directory of the new profile, create a config.yml file with stack.geoip_dir: "/path/to/geoip_dir".
  • Use this profile when starting the stack (by running first elastic-packages profile use, by using the --profile flag of elastic-package stack up, or by exporting the ELASTIC_PACKAGE_PROFILE environment variable).

Fixes #1210.

@jsoriano jsoriano requested review from efd6 and a team April 6, 2023 13:22
@jsoriano jsoriano self-assigned this Apr 6, 2023
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
Copy link
Contributor

@efd6 efd6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jsoriano
Copy link
Member Author

/test

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @jsoriano

Copy link
Contributor

@mrodm mrodm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to override GeoLite2 database per profile in compose stack provider
4 participants