Questions tagged [amazon-elasticsearch]

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

248 questions
2
votes
2 answers

Problem with 'match_phrase_prefix' query for elastic search

I have an issue with querying using match_phrase_prefix. P.ex let's say i have a record with display_name = "stack overflow". If i query using "stack" or "stack over" it will find the record but not if i try "stack o". I noticed this has been asked…
fidans
  • 31
  • 1
2
votes
1 answer

Elasticsearch - sort by score of array matchings within multiple array

Indexed documents { "book_id":"book01", "pages":[ { "page_id":1, "words":["1", "2", "xx"] } { "page_id":2, "words":["4", "5", "xx"] } { "page_id":3, "words":["7", "8", "xx"] } ] } { "book_id":"book02", "pages":[ {…
2
votes
2 answers

Query the latest created index in Elasticsearch

I have a need to query the latest index that is created on Elasticsearch. I have formed the below curl command curl -X GET "localhost/_cat/indices?h=i,creation.date.string" It is returning the response as follows: accounting …
user11249038
2
votes
1 answer

Encountered a retryable error. Will Retry with exponential backoff {:code=>400, :url=>"https://example.us-east-1.es.amazonaws.com:443/_bulk"}

Logstash Config file input { elasticsearch { hosts => ["https://staing-example.com:443"] user => "userName" password => "password" index => "testingindex" size => 100 scroll => "1m" } } filter { } output { amazon_es { hosts =>…
Thilak
  • 126
  • 2
  • 12
2
votes
1 answer

How can I add retention policy to AWS ElasticSearch created from CloudFormation?

I am sending logs from different environments to AWS ElasticSearch using fluentd. The AWS ES is created using a CloudFormation stack. How can do following two things: Add a retention policy to keep all logs for 30 days. Add retention policy as per…
bot
  • 1,293
  • 3
  • 17
  • 34
2
votes
1 answer

How to Export Data from AWS Elasticsearch Domain into a CSV File

I would like to know how to export indices from AWS Elasticsearch Domain into CSV files. I appreciate any advise.
funbrain9
  • 503
  • 6
  • 15
2
votes
1 answer

Delete only fields from all the documents that match my criteria

To delete any field with value from all the documents without deleting the whole document from the Elasticsearch index usually I use _update_by_query API call with script For Ex: on my_properties index I want to delete all the fields e.g…
2
votes
1 answer

AWS streaming multi-line log files from CloudWatch to ELK

We are streaming app logs from CloudWatch to AWS ELK. Our microservices are written in Java and so I am only concentrating on those. A typical java exception stack trace when logged looks like this: Exception in thread "main"…
2
votes
0 answers

Wildcard search in AWS elastic search using java client

I am trying to access AWS elastic search (not the normal Elastic which could be hosted on some machine, but the AWS version of Elastic) using java. One thing I have identified is that we have to use REST TEMPLATE instead of the TransportClient…
2
votes
1 answer

Serilog doesn't write logs into AWS Elasticsearch Service

I am using Serilog to write logs into AWS Elasticsearch Service in my .NET Core application but when logging into Kibana I don't see any logs written. public Startup(IConfiguration configuration, IHostingEnvironment hostingEnvironment) { const…
2
votes
1 answer

Elastic search on AWS site can’t be reached

I have elastic search running on my AWS Server, I follow this tutorial: And, when I execute this on my server: $ curl localhost:9200/_cluster/health?pretty And returns the correct results. But, when I use the complete IP provider by Amazon, I get…
2
votes
0 answers

Amazon Elasticsearch service 403-forbidden error

I am having trouble fetching result from my amazon elastic search cluster using the amazon java SDK and an IAm user credential. Now the issue is that when the PATH string is equal to "/" then I am able to fetch the result correctly but when I try…
2
votes
0 answers

Documents are not deleted when using the Javascript APIs deleteByQuery()?

Using deleteByQuery() in the Javascript API I would like to delete some documents from an index called people. It might be important to note that this is version 5.1 in AWS Elastic Search Service. The index mapping looks like this: "people": { …
Craig van Tonder
  • 7,497
  • 18
  • 64
  • 109
2
votes
0 answers

Kibana 5.1 shared short url's do not work

I am running elasticsearch 5.1 using the AWS elasticsearch service. By default the kibana plugin is available with an AWS ES installation. Using the kibana 'share' function I then select the 'short URL'. When people go to the short URL they get…
2
votes
1 answer

Install delete-by-query plugin in AWS ES service

How do I install delete-by-query plugin in AWS ES service? I'm using Elasticsearch (version 2.3). I am not sure whether it is even possible to install plugin in AWS ES service (assume preloaded and cannot be customized). My current research…
Balaji
  • 859
  • 1
  • 16
  • 27