Skip to content

Commit

Permalink
Updated to use 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaos committed Aug 23, 2021
1 parent d7e54ef commit 6f82840
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wazuh/config/02-set_config_filebeat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ set -e

##############################################################################
# Set Filebeat config.

##############################################################################

WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.1.tar.gz

echo "FILEBEAT - Copy Filebeat config file"
cp filebeat.yml /etc/filebeat/filebeat.yml

Expand All @@ -17,6 +20,6 @@ chmod go-w /etc/filebeat/filebeat.yml
echo "FILEBEAT - Get Filebeat Wazuh module"

>&2 echo "FILEBEAT - Install Wazuh Filebeat Module."
curl -s "https://packages.wazuh.com/3.x/filebeat/${WAZUH_FILEBEAT_MODULE}" | tar -xvz -C /usr/share/filebeat/module
curl -s "https://packages.wazuh.com/4.x/filebeat/${WAZUH_FILEBEAT_MODULE}" | tar -xvz -C /usr/share/filebeat/module
mkdir -p /usr/share/filebeat/module/wazuh
chmod 755 -R /usr/share/filebeat/module/wazuh

0 comments on commit 6f82840

Please sign in to comment.