Skip to content

Commit

Permalink
Updated kibana.yml template on odfe version
Browse files Browse the repository at this point in the history
  • Loading branch information
okynos committed May 24, 2021
1 parent 8a21b2f commit 015da94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions kibana-odfe/config/kibana_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ WAZUH_MAJOR=4
# Customize elasticsearch ip
##############################################################################
sed -i "s|elasticsearch.hosts:.*|elasticsearch.hosts: $el_url|g" /usr/share/kibana/config/kibana.yml
# disable multitenancy
sed -i "s|opendistro_security.multitenancy.enabled:.*|opendistro_security.multitenancy.enabled: false|g" /usr/share/kibana/config/kibana.yml

# If KIBANA_INDEX was set, then change the default index in kibana.yml configuration file. If there was an index, then delete it and recreate.
if [ "$KIBANA_INDEX" != "" ]; then
Expand Down
2 changes: 1 addition & 1 deletion kibana-odfe/config/welcome_wazuh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
if [[ $CHANGE_WELCOME == "true" ]]
then
echo "Set Wazuh app as the default landing page"
echo "server.defaultRoute: /app/wazuh" >> /usr/share/kibana/config/kibana.yml
echo "server.defaultRoute: /app/wazuh?security_tenant=global" >> /usr/share/kibana/config/kibana.yml

echo "Set custom welcome styles"
cp -f /tmp/custom_welcome/template.js.hbs /usr/share/kibana/src/legacy/ui/ui_render/bootstrap/template.js.hbs
Expand Down

0 comments on commit 015da94

Please sign in to comment.