extensions/filebeat/7.x/wazuh-module/README.md
The Wazuh Filebeat module is hosted at the following URLs
The Wazuh Filebeat module must follow the following nomenclature, where revision corresponds to X.Y values
Currently, we host the following modules
| Module | Version |
|---|---|
| wazuh-filebeat-0.1.tar.gz | From 3.9.x to 4.2.x included |
| wazuh-filebeat-0.2.tar.gz | From 4.3.x to 4.6.x included |
| wazuh-filebeat-0.3.tar.gz | 4.7.x |
| wazuh-filebeat-0.4.tar.gz | From 4.8.x to 4.14.1 |
| wazuh-filebeat-0.5.tar.gz | From 4.14.2 to current |
To add a new version of the module it is necessary to follow the following steps:
# mkdir wazuh
# cp -r _meta wazuh/
# cp -r alerts wazuh/
# cp -r archives wazuh/
# cp -r module.yml wazuh/
# chown -R root:root wazuh
# chmod 755 wazuh
# chmod 755 wazuh/alerts
# chmod 755 wazuh/alerts/config
# chmod 755 wazuh/alerts/ingest
# chmod 755 wazuh/archives
# chmod 755 wazuh/archives/config
# chmod 755 wazuh/archives/ingest
# chmod 644 wazuh/module.yml
# chmod 644 wazuh/_meta/config.yml
# chmod 644 wazuh/_meta/docs.asciidoc
# chmod 644 wazuh/_meta/fields.yml
# chmod 644 wazuh/alerts/manifest.yml
# chmod 644 wazuh/alerts/config/alerts.yml
# chmod 644 wazuh/alerts/ingest/pipeline.json
# chmod 644 wazuh/archives/manifest.yml
# chmod 644 wazuh/archives/config/archives.yml
# chmod 644 wazuh/archives/ingest/pipeline.json
# tar -czvf wazuh-filebeat-0.5.tar.gz wazuh
# tree -pug wazuh
[drwxr-xr-x root root ] wazuh
├── [drwxr-xr-x root root ] alerts
│ ├── [drwxr-xr-x root root ] config
│ │ └── [-rw-r--r-- root root ] alerts.yml
│ ├── [drwxr-xr-x root root ] ingest
│ │ └── [-rw-r--r-- root root ] pipeline.json
│ └── [-rw-r--r-- root root ] manifest.yml
├── [drwxr-xr-x root root ] archives
│ ├── [drwxr-xr-x root root ] config
│ │ └── [-rw-r--r-- root root ] archives.yml
│ ├── [drwxr-xr-x root root ] ingest
│ │ └── [-rw-r--r-- root root ] pipeline.json
│ └── [-rw-r--r-- root root ] manifest.yml
├── [drwxr-xr-x root root ] _meta
│ ├── [-rw-r--r-- root root ] config.yml
│ ├── [-rw-r--r-- root root ] docs.asciidoc
│ └── [-rw-r--r-- root root ] fields.yml
└── [-rw-r--r-- root root ] module.yml