Questions tagged [amazon-opensearch]
242 questions
0
votes
0 answers
How to send an intentionally unauthenticated request to OpenSearch
We have an issue with the .NET AWS SDK where it always assumes credentials are needed. If no credentials are supplied, the SDK will try to pull them from the EC2 metadata service. The irony here is that the AWS resources we want to access…

user6481358
- 53
- 2
- 6
0
votes
1 answer
Unexpected results for KNN query with filtering on a nested field
I have an index:
"properties": {
"id": {"type": "text"},
"date": {"type": "text"},
"title": {"type": "text"},
"users": {"type": "nested"},
"ideas": {
"type": "nested",
"properties": {
"vector": {
…

AlwaysLearning
- 7,257
- 4
- 33
- 68
0
votes
1 answer
In Elasticsearch, how can I aggregate data from nested fields and their parent document?
Give a sales index with this mapping:
{
"mappings": {
"properties": {
"amount": {
"type": "float"
},
"created_at": {
"type": "date",
"format": "date_time||epoch_millis"
},
"events": {
…

Gabriel R.
- 1,186
- 1
- 15
- 29
0
votes
0 answers
OpenSearch: matching search for a document that a user has access to
I have two indices:
The docs index containing documents and
The permissions index, in which each document is a (doc_id, user_id) pair specifying that the user user_id has access to the document doc_id stored in the docs index.
Here are the…

AlwaysLearning
- 7,257
- 4
- 33
- 68
0
votes
0 answers
Understanding the score decay for repeated connections rationale
Consider:
for _ in range(10):
time.sleep(5)
s = (Search(using=client, index='myindex')
.query('match', title={'query': video_title, 'analyzer': "standard"}))
for hit in s.execute():
print(hit.meta.score, hit.title) #…

AlwaysLearning
- 7,257
- 4
- 33
- 68
0
votes
0 answers
How does POST /_cache/clear works in Open search?
I am executing one query, for first time it is taking 6 7 sec.
After running second time it took only 1 sec.
I check clear cache options on OpenSearch documentation.
But I can not see any query performance as it is taking only 1 sec.
I tried to…

Sharayu Dhamale
- 1
- 1
0
votes
0 answers
Opensearch index pattern creation problems after snapshot restore
We experienced an AWS managed opensearch data loss event, and found a completely empty system.
Using the AWS console, I reset the master user and created some of the previously available users, and restored each of the indexes matching the target…

gbegley
- 2,609
- 5
- 29
- 41
0
votes
1 answer
How to reduce the number of nodes with AWS OpenSearch Elasticsearch?
You can't do the 'normal' way of reducing nodes because you cannot update cluster settings. So how does one reduce the number of nodes?

phil
- 4,668
- 4
- 33
- 51
0
votes
0 answers
Access denied in OpenSearch Serverless
I am trying to create a minimal working example for working with AWS OpenSearch Serverless. With the help of this tutorial, this is the code:
import boto3
from opensearchpy import OpenSearch, RequestsHttpConnection, AWSV4SignerAuth
host =…

AlwaysLearning
- 7,257
- 4
- 33
- 68
0
votes
0 answers
Error on PUT/DELETE operation in AWS OpenSearch "Authorization failure for the following indices: [trip-list]"
I am running my code in AWS Lambda to push data into AWS OpenSearch. I have provided full permissions (es:* and aoss:*) for the user whose credentials I am using to PUT/DELETE data into OpenSearch. But, I am getting the following error...
{
…

StackAddict
- 423
- 9
- 21
0
votes
0 answers
Elasticsearch: Sign aws request based on connection/host used from connectionpool
I am trying to sign the request based on connection/host used if es is hosted in aws. Not sure exactly where should I do it. But this is what I have come up with till now and request signing is not working now.
Using elasticsearch 6.8.2 in aws
class…

Sameer
- 3,124
- 5
- 30
- 57
0
votes
1 answer
Accessing Opensearch Serverless from a Lambda in AWS
I'm trying to access my Opensearch Serverless collection using a Nodejs lambda. This is what my lambda code looks like:
import { Client } from '@opensearch-project/opensearch';
const REGION = 'eu-central-1';
const SEARCH_ENDPOINT =…

L_Cleo
- 1,073
- 1
- 10
- 26
0
votes
0 answers
Problem to Connect Open Search dashboard and Get logs status
I am trying to connect with open search dashboard and try to group all the logs hits on the basis of Internal team , exteranal team and client users . i wanted what filters should i use to discriminate among them . plus most importantly . How to get…
0
votes
0 answers
How much space does AWS exactly reserve for OpenSearch cluster?
When I hit _nodes/stats api and when I see total available free storage space on OpenSearch clusters in cloudwatch metrics i get different results.
According to AWS Documentation
Operating system reserved space: By default, Linux reserves 5% of…

Makarand
- 477
- 1
- 7
- 17
0
votes
0 answers
AWS Cloudwatch -> Kinesis -> OpenSearch
I setup a Cloudwatch subscription filter to a Kinesis data firehose, with a destination of an OpenSearch instance and I'm using the "Process CloudWatch logs sent to Kinesis Firehose" processor lambda from the blueprints. I inject JSON logs and have…

Enrique Avina
- 973
- 7
- 20