root@dockerserver:/opt/wazuh-docker/multi-node# curl -k -u admin:******** https://127.0.0.1:9200/_cat/nodes?v
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
192.168.48.2 73 99 41 6.04 7.61 8.56 dimr - wazuh3.indexer
192.168.48.4 73 99 41 6.04 7.61 8.56 dimr * wazuh1.indexer
192.168.48.5 72 99 41 6.04 7.61 8.56 dimr - wazuh2.indexer
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore
Wazuh APP already configured
{"type":"log","@timestamp":"2022-07-31T06:40:35Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin \"visTypeXy\" is disabled."}
{"type":"log","@timestamp":"2022-07-31T06:40:35Z","tags":["info","plugins-system"],"pid":39,"message":"Setting up [42] plugins: [alertingDashboards,usageCollection,opensearchDashboardsUsageCollection,opensearchDashboardsLegacy,mapsLegacy,share,expressions,data,home,console,apmOss,management,indexPatternManagement,advancedSettings,savedObjects,securityDashboards,indexManagementDashboards,opensearchUiShared,reportsDashboards,charts,embeddable,dashboard,visualizations,visTypeTimeseries,visTypeVega,visTypeTable,visTypeVislib,visTypeTimeline,timeline,visTypeTagcloud,visTypeMarkdown,visTypeMetric,tileMap,regionMap,inputControlVis,ganttChartDashboards,visualize,discover,wazuh,savedObjectsManagement,legacyExport,bfetch]"}
{"type":"log","@timestamp":"2022-07-31T06:40:36Z","tags":["info","savedobjects-service"],"pid":39,"message":"Waiting until all OpenSearch nodes are compatible with OpenSearch Dashboards before starting saved objects migrations..."}
{"type":"log","@timestamp":"2022-07-31T06:40:36Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:37Z","tags":["error","savedobjects-service"],"pid":39,"message":"Unable to retrieve version information from OpenSearch nodes."}
{"type":"log","@timestamp":"2022-07-31T06:40:39Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:41Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:44Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:46Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:49Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:51Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:54Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:56Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
{"type":"log","@timestamp":"2022-07-31T06:40:59Z","tags":["error","opensearch","data"],"pid":39,"message":"[ResponseError]: Response Error"}
============ error from indexer node
[2022-07-31T06:39:22,613][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48816
[2022-07-31T06:39:25,208][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48828
[2022-07-31T06:39:27,696][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48816
[2022-07-31T06:39:30,194][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48828
[2022-07-31T06:39:32,618][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48816
[2022-07-31T06:39:35,127][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48828
[2022-07-31T06:39:37,611][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48816
[2022-07-31T06:39:40,125][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48828
[2022-07-31T06:39:42,617][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48816
[2022-07-31T06:39:45,120][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48828
[2022-07-31T06:39:47,615][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48816
[2022-07-31T06:39:50,118][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48828
[2022-07-31T06:39:52,618][WARN ][o.o.s.a.BackendRegistry ] [wazuh1.indexer] Authentication finally failed for kibanaserver from 172.28.0.7:48816
I tried to change pass for kibanaserver and all other users in /config/wazuh_indexer/internal_users.yml and then updated pass in dashboard keystore, but no luck:
wazuh-dashboard@wazuh:~$ ./bin/opensearch-dashboards-keystore --allow-root add opensearch.password
Setting opensearch.password already exists. Overwrite? [y/N] y
Enter value for opensearch.password: ****************
This is strange..looks like dashboard keystore is recreated every time dashboard container is restarted?
keystore is not in volume, is my change persistent after I restart container?
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore
I even tried to set default credentials, as from our previous setup, but that also didn't work:
bash-4.2$ cat /usr/share/kibana/config/kibana.yml
---
# Copyright 2019 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 Kibana configuration from kibana-docker.
server.name: kibana
server.host: "0"
elasticsearch.hosts: https://elasticsearch:9200
elasticsearch.ssl.verificationMode: none
elasticsearch.username: kibanaserver
elasticsearch.password: kibanaserver
Thank you in advance,
Boriša