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

Command manager settings on opensearch.yml #186

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

QU3B1M
Copy link
Member

@QU3B1M QU3B1M commented Dec 16, 2024

Description

[Describe what this change achieves]

Issues Resolved

Resolves #180

@QU3B1M
Copy link
Member Author

QU3B1M commented Dec 18, 2024

Registered the defined settings so far

opensearch.yml

...
management_api:
  auth:
    username: admin
    password: admin
  host: "https://localhost:55000/"
  retries: 3
  timeout: 10

command_manager:
  timeout: 30
  job:
    schedule: "* * * * *"
    page_size: 100
    pit_keep_alive: 10
    index:
      name: .scheduled-commands
      template: index-template-scheduled-commands
  api:
    prefix: /_command_manager
    endpoint: /commands
  index:
    name: .commands
    template: index-template-commands
grep "SETTINGS" /var/log/wazuh-indexer/wazuh-cluster.log 
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] Username: admin
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] URI: https://localhost:55000/
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] Retries: 3
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] Timeout: 10
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] jobSchedule: * * * * *
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] jobPageSize: 100
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] jobKeepAlive: 10
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] jobIndexName: .scheduled-commands
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] jobIndexTemplate: index-template-scheduled-commands
[2024-12-18T16:29:36,378][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] apiPrefix: /_command_manager
[2024-12-18T16:29:36,379][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] apiEndpoint: /commands
[2024-12-18T16:29:36,379][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] indexName: .commands
[2024-12-18T16:29:36,379][INFO ][c.w.c.s.PluginSettings   ] [node-1] [SETTINGS] indexTemplate: index-template-commands

@QU3B1M QU3B1M self-assigned this Dec 18, 2024
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.

Command Manager configuration file
1 participant