What is the bug?
Sorry to club two different issues but I am trying to achieve dashboard reporting via either a lambda or the opensearch CLI and both are broken for me. I've looked at similar issues and unfortunately couldn't find anything that is (to me) obviously misconfigured here.
- I've followed the instructions here and created a lambda to send me a daily email snapshot of one of my dashboards. - - -- However, I always get the login screen attached in the mail (see screenshot below)
- I've also tried to run this via the CLI (latest release) and ran into the error in the second screenshot. I am using basic auth with the CLI and passing the credentials as access_key_id:access_secret
How can one reproduce the bug?
Attempt to send a dashboard snapshot via lambda/CLI
What is the expected behavior?
Dashboard snapshot should go past the login screen
CLI should generate this report
What is your host/environment?
- Ubuntu 22.04
- Node v22.11.0
Do you have any screenshots?


Do you have any additional context?