Questions tagged [amazon-elasticsearch]

Amazon Elasticsearch Service is a managed Elasticsearch offering as part of Amazon Web Services.

248 questions
1
vote
1 answer

java.lang.NoClassDefFoundError: org/elasticsearch/script/mustache/SearchTemplateRequest

I am trying to access Amazon Elasticsearch instance using the RestHighLevelClient from a java program. Below is my code: AWS4Signer signer = new AWS4Signer(); signer.setServiceName("es"); signer.setRegionName("us-east-1"); HttpRequestInterceptor…
Hemanth Annavarapu
  • 823
  • 3
  • 19
  • 37
1
vote
0 answers

AWS Elasticsearch endpoint unauthorized

When I click on elasticsearch domain endpoint it tells me unauthorized. Moreover, I tried using curl and the same issue. I've written a lambda function that takes data from dynamodb and tries to put into es and I'm getting 403 status. Configuration…
1
vote
0 answers

How do i upload html documents with Amazon Elasticsearch

Going through this link https://developer.searchblox.com/v8.6.3/docs/searchblox-and-amazon-elasticsearch-service ,I understand how to integrate Searchblox server with Amazon elastic search. But how do I index the website and HTML documents (that is…
divi009
  • 11
  • 1
1
vote
0 answers

Unable to sort in Elastic Search with Pipeline Aggregation

I am trying to sort some data in my ES query. I have tried a lot of things and spend a lot of time, But unable to find the solution. Below is the query. Thanks in advance for help. "size":0, "aggs":{ "abc":{ "composite":{ "sources":[ {…
ap.singh
  • 1,150
  • 4
  • 15
  • 35
1
vote
1 answer

aws elasticsearch created 2 instance but says it has 3 nodes

First I had a cluster with one node. I've increased one instance(node) so now it should show that I have 2 nodes but instead it says I have 3. Why is this?
haneulkim
  • 4,406
  • 9
  • 38
  • 80
1
vote
1 answer

Logstash: Migrating from one elastic search to another elastic search result in some additional properties

I have been migrating one of the indexes from self-hosted Elasticsearch to Amazon ElasticSearch using Logstash. After successful migration what we found was some additional fields is getting added in the documents. How can we prevent it from getting…
Thilak
  • 126
  • 2
  • 12
1
vote
2 answers

Let AWS EC2 access ElasticSearch behind Cognito Auth

I have an AWS ElasticSearch cluster inside a VPC with a Kibana plugin. I'm trying to achieve 2 things: Have Kibana accessible to the world, behind cognito authentication Let my EC2 inside the same VPC write and read from this ElasticSearch…
1
vote
2 answers

ElasticSearch search performance

I'm working on an application that is similar to some shopping cart, where we store product and its metadata (JSON) and we are expecting faster search results. (Expected Search results should contain documents having search string anywhere in…
Venkat Papana
  • 4,757
  • 13
  • 52
  • 74
1
vote
0 answers

Connectionerror - Elasticsearch

I am using Amazon elasticsearch service along with postgress. Elasticsearch works well with every Create, Update operations through django admin. But when I tries to delete from django admin I am…
1
vote
0 answers

How to filter the results from a composite aggregation?

I want to filter the results of the composite aggregation which inside has a top_hits aggregation. So I first group my data with a top_hits, then I use this as a subaggregation inside my composite aggregation that has a single source based on an Id…
sant016
  • 195
  • 1
  • 2
  • 14
1
vote
1 answer

AWS Elastic search change policy using lambda function

I am trying to change the elastic search access policy through lambda function using node js currently access policy looks like bellow { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "*" }, …
Shibon
  • 1,552
  • 2
  • 9
  • 20
1
vote
3 answers

TypeError: request() got an unexpected keyword argument 'json' - PYTHON,AWS

Is there anyone here who can help me with this python script. When I execute this script I am getting this error: TypeError: request() got an unexpected keyword argument 'json' import boto3 import requests from requests_aws4auth import…
1
vote
1 answer

Elastic search always return no result

I am trying to test elastic search with the following instruction: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-gsg.html When I try the above and upload the following text which is also in the instruction: { "index":…
Hamed Minaee
  • 2,480
  • 4
  • 35
  • 63
1
vote
1 answer

Does the AWS SDK support indexing and searching for Elasticsearch?

In the AWS Elasticsearch documentation they recommend submitting Elasticsearch requests using the AWS SDK. However, I don't find any APIs related to indexing and searching in the SDK. Should indexing and searching instead be done through one of the…
johnnyodonnell
  • 1,838
  • 3
  • 16
  • 34
1
vote
0 answers

Unable to AWS Elasticsearch node-to-node Spark

I have an Elasticsearch Service on AWS I would like to access from Spark using elasticsearch-spark using a node-to-node configuration, so Spark workers can connect to elasticsearch nodes parallelly. However, Amazon only provides one endpoint to…