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 an option to configure S3 repository to store snapshots out of the box #1222

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

t0x01
Copy link

@t0x01 t0x01 commented Feb 22, 2024

Description

The aim of this PR is to add an ability to configure S3 repository to store snapshots out of the box. It adds an option to install OpenSearch 'repository-s3' plugin, when building a wazuh-indexer image, and 2 optional environment variables for the S3 access keys. Tested on version 4.7.2.

Example of changes to single-node/config/wazuh_indexer/wazuh.indexer.yml:

...
s3.client.default.endpoint: minio:9000
s3.client.default.protocol: http
s3.client.default.max_retries: 3
s3.client.default.read_timeout: 50s
s3.client.default.path_style_access: true
s3.client.default.use_throttle_retries: true

Example of changes to single-node/docker-compose.yml:

...
  wazuh.indexer:
    ...
    environment:
      ...
      - "S3_ACCESS_KEY_ID=randomAccessKey"
      - "S3_SECRET_ACCESS_KEY=randomSecretAccessKey"
...

Add option to install OpenSearch 'repository-s3' plugin in wazuh-indexer and add S3 access and secret keys to keystore on container startup.
Fix typo in readme
@t0x01
Copy link
Author

t0x01 commented Mar 20, 2024

Hello.
Do i need to add any additional information to this PR or open an issue for it?

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.

1 participant