Skip to content

Commit

Permalink
Fixed sed command in kibana_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
manuasir committed May 21, 2019
1 parent 569d3ee commit f66f986
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kibana/config/kibana_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ WAZUH_MAJOR=3
# Customize elasticsearch ip
##############################################################################
if [ "$ELASTICSEARCH_KIBANA_IP" != "" ]; then
sed -i "s/elasticsearch:9200/$ELASTICSEARCH_KIBANA_IP/" /usr/share/kibana/config/kibana.yml
sed -i 's|http://elasticsearch:9200|'$ELASTICSEARCH_KIBANA_IP'|g' /usr/share/kibana/config/kibana.yml

fi

if [ "$KIBANA_IP" != "" ]; then
Expand Down

0 comments on commit f66f986

Please sign in to comment.