Questions tagged [aws-elasticsearch]

Use this tag for questions related to AWS OpenSearch, which is an open-source, RESTful, distributed search and analytics engine built on Apache Lucene.

Useful Links:

  1. OpenSearch
  2. OpenSearch Service
448 questions
47
votes
5 answers

ValidationException: Before you can proceed, you must enable a service-linked role to give Amazon ES permissions to access your VPC

I am trying to create a VPC controlled Elastic Search Service on AWS. The problem is I keep getting the error when I run the following code: 'ValidationException: Before you can proceed, you must enable a service-linked role to give Amazon ES…
23
votes
2 answers

On AWS elastic search {"Message":"User: anonymous is not authorized to perform: es:ESHttpGet"}

I have created AWS elasticsearch domain https://search-xx-xx.us-east-1.es.amazonaws.com/ On click both elastic url and kibana below is the error i got {"Message":"User: anonymous is not authorized to perform: es:ESHttpGet"} Below is code which is…
user6882757
18
votes
4 answers

How to fix ElasticSearch ‘Fielddata is disabled on text fields by default’ for keyword field

I'm getting the "Fielddata is disabled on text fields by default" on a keyword field. Below is the code. { "aggs": { "agg_terms_user": { "terms": { "field": "user" } } } } The mapping for the user field is as below user: {…
Nikhil
  • 665
  • 2
  • 11
  • 25
18
votes
1 answer

AWS elastic search error "[Errno 8] nodename nor servname provided, or not known."

I created one AWS elasticsearch instance. I want to access it using a python script. I specified my AWS configuration (access key, secret key, region). I am using below code to access the AWS ES instance: from elasticsearch import Elasticsearch,…
neha
  • 1,858
  • 5
  • 21
  • 35
14
votes
1 answer

How to access AWS ElasticSearch Service automated snapshots/backups?

I was under the impression AWS ElasticSearch service comes with automated snaphshots/backups. Thats what I find in the documentation. It suggests they happen once a day and are stored on s3 but I do not see any backups in any of my s3 buckets. How…
Usman Mutawakil
  • 4,993
  • 9
  • 43
  • 80
13
votes
1 answer

Elasticsearch object mapping for tried to parse field [null] as object, but found a concrete value

How can I change mapping or my input to resolve these error, using elasticsearch on AWS, Mapping: { "index_patterns": ["*-students-log"], "mappings": { "properties": { "Data": { …
13
votes
5 answers

Route53 for AWS Elastic Search Domain gives certificate error

I have create a AWS elastic search domain in Virginia and got a Endpoint url. Now I wanted to configure the Route53 behavior around it, so that a caller can use the same url, even though there is some change in elastic search or in case of a…
11
votes
3 answers

ElasticSearch no permissions for [indices:data/read/msearch] despite having the permission

I'm running into the weirdest permission issue for _msearch. When running simple _search with the same query, everything runs perfectly. POST…
Bolein95
  • 2,947
  • 2
  • 26
  • 31
11
votes
2 answers

AWS ElasticSearch console: How to Access to Indices tab in my ES domain

I can't access the indices tab of my ES domain in the AWS ElasticSearch console. Here is what it looks like in the console: Even though I added my IAM ARN (arn:aws:iam::NNNNNNNNNNNNN:root) to the access policy of the console, I am still getting…
kee
  • 10,969
  • 24
  • 107
  • 168
11
votes
3 answers

AWS Elasticsearch VPC connectivity

I've created an Elasticsearch domain in AWS. It's added to my VPC inside a public subnet and I've attached a security group which is currently completely open. I have this policy attached also: { "Version": "2012-10-17", "Statement": [ { …
9
votes
3 answers

Adding AWS Cognito User Pool role using CDK

I have deployed https://github.com/aws-samples/amazon-elasticsearch-service-with-cognito to my stack, and am trying to add a master group as per…
khinester
  • 3,398
  • 9
  • 45
  • 88
9
votes
2 answers

AWS Elasticsearch domain deployed through CloudFormation. How to update ES version without replacement?

We have an AWS Elasticsearch domain we created through CloudFormation running version 6.3 of ES. When we update the ElasticsearchVersion property in the template, it replaces the Elasticsearch domain with a new one running the new version instead of…
seemach1
  • 303
  • 2
  • 8
9
votes
1 answer

Enabling regex support on AWS Managed ElasticSearch in painless scripts

I am trying to upload templates to my AWS managed ElasticSearch. ElasticSearch responds with a 500 error complaining that I need to set script.painless.regex.enabled to true. I know that you cannot edit the elasticsearch.yml file directly, but is…
Alex
  • 1,432
  • 14
  • 26
8
votes
2 answers

Writing CloudWatch log resource policy failed: LimitExceededException: Resource limit exceeded

I'm trying to create elasticsearch cluster using terraform, But i'm getting this error 11:58:07 * aws_cloudwatch_log_resource_policy.elasticsearch-log-publishing-policy: Writing CloudWatch log resource policy failed: LimitExceededException: Resource…
user6826691
  • 1,813
  • 9
  • 37
  • 74
8
votes
1 answer

Why does Elasticsearch Cluster JVM Memory Pressure keep increasing?

The JVM Memory Pressure of my AWS Elasticsearch cluster has been increasing consistently. The pattern I see for the last 3 days is that it adds 1.1% every 1 hour. This is for one of the 3 master nodes I have provisioned. All other metrics seem to be…
Pratik Mandrekar
  • 9,362
  • 4
  • 45
  • 65
1
2 3
29 30