Adding env variables for alerts data flow

This commit is contained in:
havidarou
2019-02-08 15:32:36 +00:00
parent 4687360677
commit 15f35ca6a8
5 changed files with 46 additions and 27 deletions
+8
View File
@@ -141,6 +141,14 @@ eval $change_user
popd
##############################################################################
# Customize filebeat output ip
##############################################################################
if [ "$FILEBEAT_OUTPUT" != "" ]; then
sed -i "s/logstash:5000/$FILEBEAT_OUTPUT:5000/" /etc/filebeat/filebeat.yml
fi
##############################################################################
# Start Wazuh Server.
##############################################################################