@rathiga I will need a little more info here. How are you runing OpenSearch Dashboards? Also admin:admin is no longer a valid password. Its not strong enough and you will need to set a default password for the admin user that is strong
# opensearch.yml
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
#path.data: /path/to/data
#
# Path to log files:
#
#path.logs: /path/to/logs
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# OpenSearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
#network.host: localhost
network.host: 0.0.0.0
# Set a custom port for HTTP:
#network.host: 35.90.174.190
http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
# Bootstrap the cluster using an initial set of cluster-manager-eligible nodes:
discovery.type: single-node
#cluster.initial_cluster_manager_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
#gateway.recover_after_nodes: 3
#
# For more information, consult the gateway module documentation.
#
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
#
# ---------------------------------- Remote Store -----------------------------------
# Controls whether cluster imposes index creation only with remote store enabled
# cluster.remote_store.enabled: true
#
# Repository to use for segment upload while enforcing remote store for an index
# node.attr.remote_store.segment.repository: my-repo-1
#
# Repository to use for translog upload while enforcing remote store for an index
# node.attr.remote_store.translog.repository: my-repo-1
#
# ---------------------------------- Experimental Features -----------------------------------
# Gates the visibility of the experimental segment replication features until they are production ready.
#
#opensearch.experimental.feature.segment_replication_experimental.enabled: false
#
# Gates the functionality of a new parameter to the snapshot restore API
# that allows for creation of a new index type that searches a snapshot
# directly in a remote repository without restoring all index data to disk
# ahead of time.
#
#opensearch.experimental.feature.searchable_snapshot.enabled: false
#
#
# Gates the functionality of enabling extensions to work with OpenSearch.
# This feature enables applications to extend features of OpenSearch outside of
# the core.
#
#opensearch.experimental.feature.extensions.enabled: false
#
#
# Gates the optimization of datetime formatters caching along with change in default datetime formatter
# Once there is no observed impact on performance, this feature flag can be removed.
#
#opensearch.experimental.optimization.datetime_formatter_caching.enabled: false
plugins.security.disabled: false
plugins.security.ssl.transport.pemcert_filepath: /opt/opensearch-2.12.0/config/node1.pem
plugins.security.ssl.transport.pemkey_filepath: /opt/opensearch-2.12.0/config/node1-key.pem
plugins.security.ssl.transport.pemtrustedcas_filepath: /opt/opensearch-2.12.0/config/root-ca.pem
plugins.security.ssl.http.enabled: true
plugins.security.ssl.http.pemcert_filepath: /opt/opensearch-2.12.0/config/node1.pem
plugins.security.ssl.http.pemkey_filepath: /opt/opensearch-2.12.0/config/node1-key.pem
plugins.security.ssl.http.pemtrustedcas_filepath: /opt/opensearch-2.12.0/config/root-ca.pem
plugins.security.allow_default_init_securityindex: true
plugins.security.authcz.admin_dn:
- 'CN=A,OU=UNIT,O=ORG,L=TORONTO,ST=ONTARIO,C=CA'
plugins.security.nodes_dn:
- 'CN=node1.dns.a-record,OU=UNIT,O=ORG,L=TORONTO,ST=ONTARIO,C=CA'
plugins.security.audit.type: internal_opensearch
plugins.security.enable_snapshot_restore_privilege: true
plugins.security.check_snapshot_restore_write_privileges: true
plugins.security.restapi.roles_enabled: ["all_access", "security_rest_api_access"]
---
# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0
# Description:
# Default configuration for OpenSearch Dashboards
# OpenSearch Dashboards is served by a back end server. This setting specifies t he port to use.
server.port: 5601
# Specifies the address to which the OpenSearch Dashboards server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be ab le to connect.
# To allow connections from remote users, set this parameter to a non-loopback a ddress.
server.host: "0.0.0.0"
The opensearch_dashboards.yml seems to be missing some configuration, please see a sample below:
---
server.host: "0.0.0.0"
server.port: 5601
opensearch.hosts: [https://<OS_node>:9200]
opensearch.ssl.verificationMode: none
opensearch.username: <kibanaserver>
opensearch.password: <kibanaserver_password>
opensearch.requestHeadersWhitelist: [authorization]
opensearch_security.readonly_mode.roles: [kibana_read_only]
# Use this setting if you are running opensearch-dashboards without https
opensearch_security.cookie.secure: false
log [15:56:13.862] [info][plugins-service] Plugin “dataSourceManagement” has been disabled since the following direct or transitive dependencies are missing or disabled: [dataSource]
log [15:56:13.869] [info][plugins-service] Plugin “dataSource” is disabled.
log [15:56:13.870] [info][plugins-service] Plugin “visTypeXy” is disabled.
log [15:56:13.927] [warning][config][deprecation] “opensearch.requestHeaders Whitelist” is deprecated and has been replaced by “opensearch.requestHeadersAllo wlist”
log [15:56:13.931] [fatal][root] InvalidConfigurationError: Unknown configur ation key(s): “opensearch_security.multitenancy.enabled”, “opensearch_security.m ultitenancy.tenants.preferred”, “opensearch_security.readonly_mode.roles”, “open search_security.cookie.secure”. Check for spelling errors and ensure that expect ed plugins are installed.
at ensureValidConfiguration (/opt/opensearch-dashboards-2.12.0/src/core/serv er/legacy/config/ensure_valid_configuration.js:50:11)
at Server.setup (/opt/opensearch-dashboards-2.12.0/src/core/server/server.js :156:5)
at Root.setup (/opt/opensearch-dashboards-2.12.0/src/core/server/root/index. js:60:14)
at bootstrap (/opt/opensearch-dashboards-2.12.0/src/core/server/bootstrap.js :113:5)
at Command. (/opt/opensearch-dashboards-2.12.0/src/cli/serve/serv e.js:192:5) {
code: ‘InvalidConfig’,
processExitCode: 64,
cause: undefined
}
FATAL Error: Unknown configuration key(s): “opensearch_security.multitenancy.e nabled”, “opensearch_security.multitenancy.tenants.preferred”, “opensearch_secur ity.readonly_mode.roles”, “opensearch_security.cookie.secure”. Check for spellin g errors and ensure that expected plugins are installed.