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

Standardize logging for modules #380

Merged

Conversation

cborla
Copy link
Member

@cborla cborla commented Dec 3, 2024

Related issue
Close #367

This PR Adapt the Inventory log and the Logcollector log, to align them.

Configuration options

default wazuh-agent.yml

agent:
  server_url: https://localhost:27000
  registration_url: https://localhost:55000
  path.data: /tmp/wazuh-agent-data
  retry_interval: 30s
inventory:
  enabled: false
  interval: 1h
  scan_on_start: true
  hardware: true
  system: true
  networks: true
  packages: true
  ports: true
  ports_all: true
  processes: true
  hotfixes: true
logcollector:
  enabled: true
  localfiles:
    - /var/log/auth.log
  reload_interval: 1m
  file_wait: 500ms

Logs/Alerts example

"Inventory module started."
"Inventory module finished."
"Inventory module stopped."

"Logcollector module started."
"Logcollector module finished."
"Logcollector module stopped."

@cborla cborla marked this pull request as ready for review December 3, 2024 03:02
@cborla cborla requested a review from vikman90 December 3, 2024 03:02
@vikman90 vikman90 merged commit 6c70487 into master Dec 3, 2024
5 checks passed
@vikman90 vikman90 deleted the enhancement/367-standardize-logging-for-disabled-modules branch December 3, 2024 07:01
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.

Standardize Logging for Disabled Modules
2 participants