Skip to content

feat: Add AWS (SIG4) Connection #304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

ChrisMcKee
Copy link

Great tool; I long missed the old elastic plugins (head plugin) and kibana is pretty useless for administration use.
I've added in AWS connections as an option and tested it; the playwright tests were hit and miss on run and the last one said the filter wasn't working so I've included a screenshot showing it works fine so it doesnt look like I'm losing my mind.

AWS Cluster Tab

AWS Cluster Connection Test

Index filter

@ChrisMcKee ChrisMcKee changed the base branch from master to develop May 27, 2025 12:57
@cars10
Copy link
Owner

cars10 commented May 27, 2025

Hey @ChrisMcKee , thanks for taking the time to implement this. I currently do not use aws - can you add detailed instructions for how to setup elasticsearch in aws, including the credentials, iam, etc, so i can setup and validate this?

@ChrisMcKee
Copy link
Author

Sure; you might find it quicker to test in localstack (and I probably spent longer getting localstack to work than I'd like to admit)
It uses the localstack proxy (I've set it to "path" mode) so the

I've added a docker-compose file and readme to scripts/localstack

localstack connection

localstack toast

localstack connected

@ChrisMcKee
Copy link
Author

Added the translations to the locale.
I've copied the translations by swithing language in the AWS SSO console

@cars10
Copy link
Owner

cars10 commented May 27, 2025

@ChrisMcKee huge thanks for the localstack setup, this really helps (will try tomorrow). There is still some work to do, e.g. support for elasticvue desktop. I will work on this and cherrypick from your PR. Thanks!

@ChrisMcKee
Copy link
Author

I've been running it locally using tauri:dev is desktop something else?
Works really well, beats all the time I've wasted writing proxies to access kibana only for it to hide all the stuff I need to see

@cars10
Copy link
Owner

cars10 commented May 27, 2025

I've been running it locally using tauri:dev is desktop something else?

Elasticvue desktop does not use javascript fetch, it uses reqwest to send requests directly to elasticsearch. This has some advantages, e.g. the ability to ignore self signed certificates - this is not possible with javascript fetch. Your implementation overwrites the usage of reqwest again. surely works - as long as you use valid ssl certificates :)

@ChrisMcKee
Copy link
Author

@cars10 tls parfait

I didn't realise the reqwest thing was there tbh.
I've pulled the change back so it basically adds the auth header for amazon then uses requestMethod so it goes via whichever is currently being used.

Seems to still work fine
image

@cars10 cars10 closed this in 63bf55a Jun 22, 2025
@cars10
Copy link
Owner

cars10 commented Jun 22, 2025

Thanks again @ChrisMcKee for your work on this! I added it to 1.8.0, cherrypicked the relevant changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants