Making signed requests to Elasticsearch
See original GitHub issueHi,
I’m writing a python lambda function to process incoming ELB logs and put them into an Elasticsearch domain. So far the boto3 library has been great, but I’m struggling to find out how to either make my bulk index post through the client or how to sign a direct rest api call.
I thought the generate_presigned_url
call might be what I want, but I can’t find out what is a valid ClientMethod
Is there an easy way to sign an outgoing request through the boto3 library using assumed iam role credentials?
Thanks, Alex
Issue Analytics
- State:
- Created 7 years ago
- Reactions:16
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Signing HTTP requests to Amazon OpenSearch Service
This section includes examples of how to send signed HTTP requests to Amazon OpenSearch Service using Elasticsearch and OpenSearch clients and other common ......
Read more >Making signed requests to AWS Elasticsearch Service with ...
Here is my implementation for Elasticsearch client compatible with Amazon Elasticsearch AWS4 signed requests:
Read more >Sign Requests to AWS Elasticsearch Service with Instance ...
AWS Elasticsearch Tutorial : What is Elasticsearch and How to Create it and Use it. dotsway. dotsway. •. •. 112K views 5 years...
Read more >How to send signed AWS Elasticsearch request? · Issue #2099
Describe the issue with documentation How to send signed AWS Elasticsearch request? I've come with up the below solution.
Read more >Signing requests to Amazon Elasticsearch service - ElastAlert
Currently, there is no way to secure your Elasticsearch using network firewall rules, so the only way is to signing the requests using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks!
For anyone else who comes across this problem, here’s what I ended up doing:
It was intentionally broken by Elastic: https://www.theregister.com/2021/08/09/elasticsearch_python_client_change/ https://github.com/elastic/elasticsearch-py/pull/1623