Hi,
I am running opensearch-dashboards-2.11.1 and opensearch-2.11.1 on a local single node. I have created this setup to test multiple data source in opensearch dashboards.
I have followed this documentation for multi-data-sources and altough the datasource can connect it either gives me 404 errors or json parse errors.
To the remote dashboard url
https:// osdashb.on.my.host (new users are allow max 2 links)
"type":"response","@timestamp":"2024-01-25T07:05:19Z","tags":[],"pid":1029671,"method":"get","statusCode":404,"req":{"url":"/_mapping?pretty=true","method":"get","headers":{"x-forwarded-for":"100.107.90.146","host":"osdashb-prd-nl1-vmo.nl1.unified.services","content-length":"0","user-agent":"opensearch-js/2.3.1 (linux 5.4.0-165-generic-x64; Node.js v18.16.0)","content-type":"application/json","x-forwarded-proto":"https","securitytenant":""},"remoteAddress":"100.107.89.146","userAgent":"opensearch-js/2.3.1 (linux 5.4.0-165-generic-x64; Node.js v18.16.0)"},"res":{"statusCode":404,"responseTime":11,"contentLength":9},"message":"GET /_mapping?pretty=true 404 11ms - 9.0B"}
Of the url mentioned in the documentation
ie: https:// osdashb.on.my.host/app/management/opensearch-dashboards/dataSources
parse@http://my.public.host:5601/6867/bundles/plugin/opensearchUiShared/opensearchUiShared.plugin.js:1:69116
expandLiteralStrings@http://my.public.host:5601/6867/bundles/plugin/opensearchUiShared/opensearchUiShared.plugin.js:1:70930
51/EditorOutputUI/<@http://my.public.host:5601/6867/bundles/plugin/console/console.chunk.2.js:1:319380
os@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:83209
gc@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:102288
__osdSharedDeps__</t.unstable_runWithPriority@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:443:3844
Xo@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:45024
bc@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:102047
Qs@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:93596
Vo/<@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:45315
__osdSharedDeps__</t.unstable_runWithPriority@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:443:3844
Xo@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:45024
Vo@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:45262
Yo@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:45195
$s@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:90458
ba@http://my.public.host:5601/6867/bundles/osd-ui-shared-deps/osd-ui-shared-deps.js:435:62277
51/useSendCurrentRequestToOpenSearch/<@http://my.public.host:5601/6867/bundles/plugin/console/console.chunk.2.js:1:250160
Result of test connection is this
{"type":"response","@timestamp":"2024-01-25T07:30:08Z","tags":[],"pid":1020841,"method":"get","statusCode":200,"req":{"url":"/app/management/opensearch-dashboards/dataSources/","method":"get","headers":{"x-forwarded-for":"100.107.90.146","host":"osdashb-prd-nl1-vmo.nl1.unified.services","user-agent":"opensearch-js/2.3.1 (linux 5.4.0-165-generic-x64; Node.js v18.16.0)","x-forwarded-proto":"https","securitytenant":""},"remoteAddress":"100.107.89.157","userAgent":"opensearch-js/2.3.1 (linux 5.4.0-165-generic-x64; Node.js v18.16.0)"},"res":{"statusCode":200,"responseTime":27,"contentLength":9},"message":"GET /app/management/opensearch-dashboards/dataSources/ 200 27ms - 9.0B"}
So I am a bit lost on this feature, am I doing something wrong or is this a bug?
Thanks.
Paul.