Skip to content

filebeat.yml - need to enable archive #1035

@SimpraOmanDev

Description

@SimpraOmanDev

i have configured wazuh in local kubernetes enviroment 1.32.2. and wazuh version is 4.11.
i need to enable archiving for the logs to keep for a long time and want to see them in kibana dashboard, i tried everything with filebeat.yml file to change the values of archive from disabled to enabled, but its not working. is there any straight forward way to achieve this, my filebeat is taking the new password for indexer from the kustomize as i changed all the password by following the steps on the wazuh docs and all is set. i want to see wazuh-archives* in the dashboard to find all the old logs and this way i can avoid using ELK to keep the logs and will relay only on the wazuh stack.

check the filebeat file below, i tried on both master and worker but the values are not changing by feeding the configMap or anything else. HELP PLEASE

bash-5.2# cat /etc/filebeat/filebeat.yml

Wazuh - Filebeat configuration file

filebeat.modules:

  • module: wazuh
    alerts:
    enabled: true
    archives:
    enabled: false

setup.template.json.enabled: true
setup.template.overwrite: true
setup.template.json.path: '/etc/filebeat/wazuh-template.json'
setup.template.json.name: 'wazuh'
setup.ilm.enabled: false
output.elasticsearch:
hosts: ['https://indexer:9200']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions