I switched from Elasticsearch to Opensearch yesterday to support Graylog. I was curious about Dashboards so I installed opensource-dashboards 1.3 via yum repo. I modified the yml file and started it up. I get the login page, but the default first login found here doesn’t work. Is there a new default password that hasn’t been updated in the documentation, or is there a way to set the default login through the yml file?
I’m running both opensearch and opensearch-dashboards as a service.
Can you link me to any other documentation on this issue? I don’t have a config directory under my opensearch directory and I just want to verify that I need to create one.
EDIT: I did some google-fu and found reference to the internal_users.yml file at /usr/share/opensearch/config/opensearch-security/ and changed the hash there. After restarting opensearch and opensearch-dashboards I still can’t log into opensearch-dashboards with the new password.
Hey again,
Did you change the internal_users.yml?
If so, you have to apply the configuration in your case it will be:
first go to /usr/share/opensearch/config/opensearch-security/
Then:
We are not able to access opensearch-dasboard through browser though it shows running.
We too are facing similar issue of opensearch-dashboard showing log [09:08:57.732] [info][server][OpenSearchDashboards][http] http server running at http://localhost:5601. But we don’t see any UI when we access http://localhost:5601 in browser chrome. While starting opensearch-dashboard we see some error as below before the above message.
log [09:08:57.496] [error][plugins][securityDashboards] StatusCodeError: no handler found for uri [/_plugins/_security/tenantinfo] and method [GET]
at respond (/home/mwcuser/opensearch-dashboards-2.3.0/node_modules/elasticsearch/src/lib/transport.js:349:15)
at checkRespForFailure (/home/mwcuser/opensearch-dashboards-2.3.0/node_modules/elasticsearch/src/lib/transport.js:306:7)
at HttpConnector. (/home/mwcuser/opensearch-dashboards-2.3.0/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
at IncomingMessage.wrapper (/home/mwcuser/opensearch-dashboards-2.3.0/node_modules/lodash/lodash.js:4991:19)
at IncomingMessage.emit (events.js:412:35)
at endReadableNT (internal/streams/readable.js:1333:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
status: 400,
displayName: ‘BadRequest’,
path: ‘/_plugins/_security/tenantinfo’,
query: {},
body: {
error: ‘no handler found for uri [/_plugins/_security/tenantinfo] and method [GET]’
},
statusCode: 400,
response: ‘{“error”:“no handler found for uri [/_plugins/_security/tenantinfo] and method [GET]”}’,
toString: [Function (anonymous)],
toJSON: [Function (anonymous)]
}
log [09:08:57.502] [warning][environment] Detected an unhandled Promise rejection.
no handler found for uri [/_plugins/_security/tenantinfo] and method [GET] :: {“path”:“/_plugins/_security/tenantinfo”,“query”:{},“statusCode”:400,“response”:“{"error":"no handler found for uri [/_plugins/_security/tenantinfo] and method [GET]"}”}
We are running under non ssl both opensearch & opensearch-dashboard & default config file only.