Fix INDEXER_URL substitution

This commit is contained in:
Victor Carlos Erenu
2026-02-24 23:21:38 +07:00
parent 51ab4da8e4
commit 03febcb005
3 changed files with 3 additions and 3 deletions
@@ -5,7 +5,7 @@ set -e
if [ "$INDEXER_URL" != "" ]; then
>&2 echo "Customize Elasticsearch output IP"
sed -i "s|hosts:.*|hosts: ['$INDEXER_URL']|g" /etc/filebeat/filebeat.yml
sed -i "s|hosts:.*|hosts: [$INDEXER_URL]|g" /etc/filebeat/filebeat.yml
fi
# Configure filebeat.yml security settings