Skip to main content

All Questions

0 votes
2 answers
3k views

How to issue POST requests to opensearch cluster in VPC?

I've deployed an opensearch cluster into a VPC. I have a VPC endpoint and can successfully issue GET requests to "VPC endpoint URL"/_cluster/settings to get the cluster config, but issuing ...
kpg11's user avatar
  • 11
1 vote
1 answer
936 views

How to pass values from CDK into a lambda

I am trying to create a service that employs a Lambda function and an opensearch domain. I have one cdk stack typescript file that creates all my service instances and I want to pass the endpoint for ...
Omar Elhosseni's user avatar
1 vote
0 answers
1k views

Date field in OpenSearch index showing as String in Discover page

I've got to index a JSON file to OpenSearch through AWS Lambda from a S3 bucket to create several reports out of it. However a field that is supposed to be a date field is showing as if it was String ...
Sayonara Chops's user avatar
0 votes
1 answer
2k views

Give access Lambda to Opensearch [IAM & Configure domain level access policy] [duplicate]

I need your help with right policy. I am using ACloud Guru AWS Sandbox and i am trying to use elasticsearch lib for python code run on lambda. But for Opensearch only "configure domain level ...
akelsey's user avatar
  • 99
2 votes
2 answers
14k views

How do I import Opensearch from opensearchpy?

new to the community here. I didn't find this problem discussed, so I'm probably missing something super obvious. Thanks! Python Code snippet: import botocore import time import os import os.path ...
arooster's user avatar
4 votes
0 answers
2k views

AWS Open search requests sent via lambda time out

I am trying to index data being received by an API to an AWS open search domain(using elastic search 7.10), the following is the code for my lambda function # Dependency imports from jose import jwt ...
Yash.S.Narang's user avatar