From ce7bc14e50a402521517b6d369a071cead0ce9cf Mon Sep 17 00:00:00 2001 From: sreekarjami Date: Fri, 30 Apr 2021 21:00:59 +0000 Subject: [PATCH 1/2] Add opensearch_dashboards yaml Signed-off-by: sreekarjami --- config/opensearch_dashboards.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 config/opensearch_dashboards.yml diff --git a/config/opensearch_dashboards.yml b/config/opensearch_dashboards.yml new file mode 100644 index 0000000000..b4f92b489b --- /dev/null +++ b/config/opensearch_dashboards.yml @@ -0,0 +1,27 @@ +# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). +# You may not use this file except in compliance with the License. +# A copy of the License is located at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# or in the "license" file accompanying this file. This file is distributed +# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +# express or implied. See the License for the specific language governing +# permissions and limitations under the License. + +# Description: +# Default configuration for OpenSearch Dashboards + +opensearch.hosts: ["http://localhost:9200"] +opensearch.ssl.verificationMode: full +opensearch.username: "opensearch_dashboards_system" +opensearch.password: "pass" +opensearch.requestHeadersWhitelist: [ authorization ] + +opensearch_security.multitenancy.enabled: true +opensearch_security.multitenancy.tenants.preferred: ["Private", "Global"] +opensearch_security.readonly_mode.roles: ["kibana_read_only"] +# Use this setting if you are running kibana without https +opensearch_security.cookie.secure: false From 83c4b7fd681ca47e121521e5aaf17a310895a501 Mon Sep 17 00:00:00 2001 From: sreekarjami Date: Fri, 30 Apr 2021 22:16:27 +0000 Subject: [PATCH 2/2] Change username and password Signed-off-by: sreekarjami --- config/opensearch_dashboards.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/opensearch_dashboards.yml b/config/opensearch_dashboards.yml index b4f92b489b..ecc6d7596e 100644 --- a/config/opensearch_dashboards.yml +++ b/config/opensearch_dashboards.yml @@ -16,8 +16,8 @@ opensearch.hosts: ["http://localhost:9200"] opensearch.ssl.verificationMode: full -opensearch.username: "opensearch_dashboards_system" -opensearch.password: "pass" +opensearch.username: "kibanaserver" +opensearch.password: "kibanaserver" opensearch.requestHeadersWhitelist: [ authorization ] opensearch_security.multitenancy.enabled: true