diff --git a/unattended_scripts/open-distro/unattended-installation/unattended-installation.sh b/unattended_scripts/open-distro/unattended-installation/unattended-installation.sh index 68d374cadb..c5b4ec8f95 100644 --- a/unattended_scripts/open-distro/unattended-installation/unattended-installation.sh +++ b/unattended_scripts/open-distro/unattended-installation/unattended-installation.sh @@ -363,7 +363,7 @@ installFilebeat() { else filebeatinstalled="1" eval "curl -so /etc/filebeat/filebeat.yml ${resources}/open-distro/filebeat/7.x/filebeat_unattended.yml --max-time 300 ${debug}" - eval "curl -so /etc/filebeat/wazuh-template.json https://raw.githubusercontent.com/wazuh/wazuh/4.0/extensions/elasticsearch/7.x/wazuh-template.json --max-time 300 ${debug}" + eval "curl -so /etc/filebeat/wazuh-template.json https://raw.githubusercontent.com/wazuh/wazuh/4.2/extensions/elasticsearch/7.x/wazuh-template.json --max-time 300 ${debug}" eval "chmod go+r /etc/filebeat/wazuh-template.json ${debug}" eval "curl -s '${repobaseurl}'/filebeat/wazuh-filebeat-0.1.tar.gz --max-time 300 | tar -xvz -C /usr/share/filebeat/module ${debug}" eval "mkdir /etc/filebeat/certs ${debug}"