Our Elastic data is in an OpenSearch DB, protected by basic authentication. I'm trying to connect like this but Flexmonster seems to be stripping out the basic auth username and password before sending the request.
report={{
dataSource: {
type: 'elasticsearch',
node: 'https://<username>:<password>@<opensearch-id>.us-east-2.es.amazonaws.com',
index: '<my-index>'
}
}}
How can I connect to a data source that requires basic authentication?
Actually - got it working! I hadn't spotted the requestHeaders
option.
Hello, Graham!
Thank you for reaching out to us.
We are glad to hear that you have resolved the issue.
Feel free to contact us if any other questions arise.
Regards,
Solomiia