# Elasticsearch

**URL:** https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=458

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 459

---

## [Completeness rate](https://discuss.elastic.co/t/completeness-rate/302189)

<div class="topic-metadata">

**Author:** [@meyer1](https://discuss.elastic.co/u/meyer1)\
**Replies:** 0\
**Last updated:** [April 12, 2022, 8:22am UTC](https://discuss.elastic.co/t/completeness-rate/302189 "2022-04-12T08:22:24Z")

</div>

Hello everyone, I need help with an Elastic query I want to get the completeness rate of the fields in my index. And then integrate it in a Vega visualization. Someone could help me for the Elastic query to realize? T…

---

## [Normal for node to be RED after reboot; standalone environment](https://discuss.elastic.co/t/normal-for-node-to-be-red-after-reboot-standalone-environment/300630)

<div class="topic-metadata">

**Author:** [@aleding](https://discuss.elastic.co/u/aleding)\
**Replies:** 9\
**Last updated:** [April 12, 2022, 7:18am UTC](https://discuss.elastic.co/t/normal-for-node-to-be-red-after-reboot-standalone-environment/300630 "2022-04-12T07:18:39Z")

</div>

Hello - first time poster here and new ES user. Been troubleshooting for a couple days now and after reading numerous posts and ES docs, I must say this is pretty amazing stuff and the ES team + community seem quite ama…

---

## [Data not evenly distributed](https://discuss.elastic.co/t/data-not-evenly-distributed/302179)

<div class="topic-metadata">

**Author:** [@vaclav1](https://discuss.elastic.co/u/vaclav1)\
**Replies:** 0\
**Last updated:** [April 12, 2022, 7:04am UTC](https://discuss.elastic.co/t/data-not-evenly-distributed/302179 "2022-04-12T07:04:14Z")

</div>

Dear team, we have enlarged our cluster by adding two nodes to it. However we have ended up with situation that data are not evenly distributed among them. Please check table below: 133 2 .5tb 2 .5tb 1 .4tb 3 .9…

---

## [Migration from AWS opensearch to self hosted ElasticSearch cluster](https://discuss.elastic.co/t/migration-from-aws-opensearch-to-self-hosted-elasticsearch-cluster/302172)

<div class="topic-metadata">

**Author:** [@rogerlee](https://discuss.elastic.co/u/rogerlee)\
**Replies:** 2\
**Last updated:** [April 12, 2022, 4:36am UTC](https://discuss.elastic.co/t/migration-from-aws-opensearch-to-self-hosted-elasticsearch-cluster/302172 "2022-04-12T04:36:58Z")

</div>

Hi guys, Is it possible to migrate data from AWS OpenSearch to a self hosted Elasticsearch cluster with higher version? For example, I want to migrate data from OpenSearch with 6.x to Elasticsearch 8.x -Roger

---

## [Unable to shrink index using curator](https://discuss.elastic.co/t/unable-to-shrink-index-using-curator/299401)

<div class="topic-metadata">

**Author:** [@fidsamuraiCrelio](https://discuss.elastic.co/u/fidsamuraiCrelio)\
**Replies:** 12\
**Last updated:** [April 12, 2022, 4:05am UTC](https://discuss.elastic.co/t/unable-to-shrink-index-using-curator/299401 "2022-04-12T04:05:24Z")

</div>

I have an action file with 7 steps. --- actions: 1: action: rollover description: \>- Rollover index \<index\>-logs-\* options: name: active-\<index\>-logs #Enter alias name not index name cond…

---

## [New User Problem -- empty reply from server (curl)](https://discuss.elastic.co/t/new-user-problem-empty-reply-from-server-curl/302033)

<div class="topic-metadata">

**Author:** [@KatePearce](https://discuss.elastic.co/u/KatePearce)\
**Replies:** 4\
**Last updated:** [April 12, 2022, 12:36am UTC](https://discuss.elastic.co/t/new-user-problem-empty-reply-from-server-curl/302033 "2022-04-12T00:36:52Z")

</div>

Today, I was trying to run Elasticsearch for the first time, but I've been running into some issues with the tutorial (Getting started with the Elastic Stack | Getting Started \[8.1\] | Elastic). When I check whether Elast…

---

## [Completion type Is it possible to use Query after word](https://discuss.elastic.co/t/completion-type-is-it-possible-to-use-query-after-word/302157)

<div class="topic-metadata">

**Author:** [@fzxwan](https://discuss.elastic.co/u/fzxwan)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 9:07pm UTC](https://discuss.elastic.co/t/completion-type-is-it-possible-to-use-query-after-word/302157 "2022-04-11T21:07:55Z")

</div>

"settings": { "number\_of\_shards": 3, "analysis": { "analyzer": { "my\_analyzer":{ "tokenizer": "ik\_max\_word", "filter": "py" } }, "filter": { "py": { …

---

## [Write queue increasing](https://discuss.elastic.co/t/write-queue-increasing/302153)

<div class="topic-metadata">

**Author:** [@elephant](https://discuss.elastic.co/u/elephant)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 7:45pm UTC](https://discuss.elastic.co/t/write-queue-increasing/302153 "2022-04-11T19:45:17Z")

</div>

Hi, We have upgraded our cluster to the latest Elastic 8 version but have hit a strange bug twice in two weeks; The write queue is filling up and write tasks are very slow to complete. This monitoring screenshots clear…

---

## [Issues Elastic using Python as a client](https://discuss.elastic.co/t/issues-elastic-using-python-as-a-client/302149)

<div class="topic-metadata">

**Author:** [@Frida\_Rodriguez\_Esco](https://discuss.elastic.co/u/Frida_Rodriguez_Esco)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 7:01pm UTC](https://discuss.elastic.co/t/issues-elastic-using-python-as-a-client/302149 "2022-04-11T19:01:11Z")

</div>

Hey everybody, I have tried to carry out this tutorial: using apple health data from my iPhone, but I have failed every time when it comes to importing mapped data to Elastic. Import is just fine, but the data is no…

---

## [MongoDB vs Elasticsearch - indexing parallel arrays](https://discuss.elastic.co/t/mongodb-vs-elasticsearch-indexing-parallel-arrays/302142)

<div class="topic-metadata">

**Author:** [@BySpecops](https://discuss.elastic.co/u/BySpecops)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 6:02pm UTC](https://discuss.elastic.co/t/mongodb-vs-elasticsearch-indexing-parallel-arrays/302142 "2022-04-11T18:02:47Z")

</div>

I have an application that needs to filter the data based on more than 7+ fields. 2+ of these fields are array and currently stored on MongoDB (each of them individually stores almost thousands of hexadecimal id). In Mon…

---

## [Elasticsearch.net How to write a query in c#](https://discuss.elastic.co/t/elasticsearch-net-how-to-write-a-query-in-c/302140)

<div class="topic-metadata">

**Author:** [@Shushil\_Shankar](https://discuss.elastic.co/u/Shushil_Shankar)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 5:34pm UTC](https://discuss.elastic.co/t/elasticsearch-net-how-to-write-a-query-in-c/302140 "2022-04-11T17:34:03Z")

</div>

Hello everyone! How convert write a below query into another working query using c# elsaticsearch.net Currently I'm using this C# query: Queries.Add(Query\<IndexModel\>.Bool(b =\> b.Should(filter =\> filter …

---

## [How to filter the document contain some tags?](https://discuss.elastic.co/t/how-to-filter-the-document-contain-some-tags/302129)

<div class="topic-metadata">

**Author:** [@Frank1957](https://discuss.elastic.co/u/Frank1957)\
**Replies:** 1\
**Last updated:** [April 11, 2022, 4:26pm UTC](https://discuss.elastic.co/t/how-to-filter-the-document-contain-some-tags/302129 "2022-04-11T16:26:07Z")

</div>

My document may contain a tag msg\_type "\_source": { "@timestamp": "2022-04-11T08:06:38.519Z", "message": "xxxx", "msg\_type": \[ "risk\_info" \] } I wanna use Pipeline Processor to execute another p…

---

## [Issues with Elasticseach 7 on WSL - Windows 11](https://discuss.elastic.co/t/issues-with-elasticseach-7-on-wsl-windows-11/302134)

<div class="topic-metadata">

**Author:** [@giss](https://discuss.elastic.co/u/giss)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 4:16pm UTC](https://discuss.elastic.co/t/issues-with-elasticseach-7-on-wsl-windows-11/302134 "2022-04-11T16:16:14Z")

</div>

Hi there. I tried to install Elastichseach 7.17. When I try to start elastic I have this error: sudo -i service elasticsearch start \* Starting Elasticsearch Server …

---

## [Snapshot and restore from local infra to aws s3](https://discuss.elastic.co/t/snapshot-and-restore-from-local-infra-to-aws-s3/302066)

<div class="topic-metadata">

**Author:** [@indrajit\_kal](https://discuss.elastic.co/u/indrajit_kal)\
**Replies:** 1\
**Last updated:** [April 11, 2022, 2:06pm UTC](https://discuss.elastic.co/t/snapshot-and-restore-from-local-infra-to-aws-s3/302066 "2022-04-11T14:06:33Z")

</div>

Please guide me how can i setup snapshot and restore the indices form inhouse elastic server to aws s3 bucket.

---

## [Way to get all documents more than 10,000,000](https://discuss.elastic.co/t/way-to-get-all-documents-more-than-10-000-000/302079)

<div class="topic-metadata">

**Author:** [@BonoHubby](https://discuss.elastic.co/u/BonoHubby)\
**Replies:** 1\
**Last updated:** [April 11, 2022, 2:04pm UTC](https://discuss.elastic.co/t/way-to-get-all-documents-more-than-10-000-000/302079 "2022-04-11T14:04:11Z")

</div>

Dears, I want to get all docuemnts in an index. I already know the way but there was a limitation. Way to get documents more than 10,000. ES supprt size prametter. But the maximum value is 10,000. So to get more than …

---

## [ELK pipeline duration and performance](https://discuss.elastic.co/t/elk-pipeline-duration-and-performance/302098)

<div class="topic-metadata">

**Author:** [@bianca6](https://discuss.elastic.co/u/bianca6)\
**Replies:** 2\
**Last updated:** [April 11, 2022, 2:00pm UTC](https://discuss.elastic.co/t/elk-pipeline-duration-and-performance/302098 "2022-04-11T14:00:48Z")

</div>

Goal Hi, I have an ELK pipeline running and I would like to measure the duration of the different steps (Logstash grok and send - Elasticsearch indexing). Those information are useful for me in order to check the scalab…

---

## [Incrementing Datetime field by one day in Elasticsearch Production Cluster using painless script](https://discuss.elastic.co/t/incrementing-datetime-field-by-one-day-in-elasticsearch-production-cluster-using-painless-script/302088)

<div class="topic-metadata">

**Author:** [@vaibhav\_sanil](https://discuss.elastic.co/u/vaibhav_sanil)\
**Replies:** 1\
**Last updated:** [April 11, 2022, 1:45pm UTC](https://discuss.elastic.co/t/incrementing-datetime-field-by-one-day-in-elasticsearch-production-cluster-using-painless-script/302088 "2022-04-11T13:45:43Z")

</div>

I am facing difficulty in debugging a production level Elasticsearch Index Date time field in yyyy-MM-dd format & i want to update/increment the datetime field by one day Eg- 2009-07-01 i want to update it to 2009-07-02 …

---

## [How to specify a date query and another query term](https://discuss.elastic.co/t/how-to-specify-a-date-query-and-another-query-term/301986)

<div class="topic-metadata">

**Author:** [@MrFantastic2022](https://discuss.elastic.co/u/MrFantastic2022)\
**Replies:** 2\
**Last updated:** [April 11, 2022, 1:34pm UTC](https://discuss.elastic.co/t/how-to-specify-a-date-query-and-another-query-term/301986 "2022-04-11T13:34:15Z")

</div>

Hello - I have an index with a single date field with n text fields. I am trying to construct a query which will search the index for a given date range while considering the value the user supplies across all the other…

---

## [Deleting old elastic logs data](https://discuss.elastic.co/t/deleting-old-elastic-logs-data/302103)

<div class="topic-metadata">

**Author:** [@Shahzaib\_Abid](https://discuss.elastic.co/u/Shahzaib_Abid)\
**Replies:** 1\
**Last updated:** [April 11, 2022, 1:24pm UTC](https://discuss.elastic.co/t/deleting-old-elastic-logs-data/302103 "2022-04-11T13:24:40Z")

</div>

Hi all, if i delete old elastic logs data which my model was trained on, does that make my model useless? i.e. Will it stop detecting anomalies?

---

## [Migration from HLRC to Java API](https://discuss.elastic.co/t/migration-from-hlrc-to-java-api/300479)

<div class="topic-metadata">

**Author:** [@ivanqwam](https://discuss.elastic.co/u/ivanqwam)\
**Replies:** 6\
**Last updated:** [April 11, 2022, 11:59am UTC](https://discuss.elastic.co/t/migration-from-hlrc-to-java-api/300479 "2022-04-11T11:59:06Z")

</div>

In this page talking about migration https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/migrate-hlrc.html I found this keep the existing code as-is and use the new Java API Client for new fe…

---

## [Upgrade to Elastic 8.0.0 (Windows Zip package)](https://discuss.elastic.co/t/upgrade-to-elastic-8-0-0-windows-zip-package/297816)

<div class="topic-metadata">

**Author:** [@TonyLuc](https://discuss.elastic.co/u/TonyLuc)\
**Replies:** 6\
**Last updated:** [April 11, 2022, 11:46am UTC](https://discuss.elastic.co/t/upgrade-to-elastic-8-0-0-windows-zip-package/297816 "2022-04-11T11:46:22Z")

</div>

Error “… will not overwrite keystore …, because this incurs changing the file owner” Verbose at org.elasticsearch.common.settings.KeyStoreWrapper.save(KeyStoreWrapper.java:608) at org.elasticsearch.common.settings.Key…

---

## [Muliple nested 'Should' sub-queries using DSL](https://discuss.elastic.co/t/muliple-nested-should-sub-queries-using-dsl/302097)

<div class="topic-metadata">

**Author:** [@daniel.butler](https://discuss.elastic.co/u/daniel.butler)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 11:08am UTC](https://discuss.elastic.co/t/muliple-nested-should-sub-queries-using-dsl/302097 "2022-04-11T11:08:32Z")

</div>

Hi, I have a query which works as I intended however when trying to replicate the query in DSL I have been unable to get the generated query to match and so the results are obviously incorrect. What I need to achieve i…

---

## [Continuous transform failures](https://discuss.elastic.co/t/continuous-transform-failures/302053)

<div class="topic-metadata">

**Author:** [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Replies:** 2\
**Last updated:** [April 11, 2022, 10:46am UTC](https://discuss.elastic.co/t/continuous-transform-failures/302053 "2022-04-11T10:46:14Z")

</div>

Hello, What can cause this error when running a continuous transform ? \[s1-aggs-xxx\] Search context missing, falling back to normal search; request \[apply\_results\] Caused by: org.Elasticsearch.search.SearchContextMiss…

---

## [How check internodes SSL encryption?](https://discuss.elastic.co/t/how-check-internodes-ssl-encryption/302095)

<div class="topic-metadata">

**Author:** [@Barbarossa](https://discuss.elastic.co/u/Barbarossa)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 10:39am UTC](https://discuss.elastic.co/t/how-check-internodes-ssl-encryption/302095 "2022-04-11T10:39:45Z")

</div>

If i have a cluster and configured the tranport layer connection to be encrypted, is there a way or some command to actually verify that the communication between all nodes is encrypted?

---

## [Elastic watcher for http 400 and http 500](https://discuss.elastic.co/t/elastic-watcher-for-http-400-and-http-500/302094)

<div class="topic-metadata">

**Author:** [@sravan.kumar.potnuru](https://discuss.elastic.co/u/sravan.kumar.potnuru)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 10:38am UTC](https://discuss.elastic.co/t/elastic-watcher-for-http-400-and-http-500/302094 "2022-04-11T10:38:06Z")

</div>

Hello I was quite new to the elastic and its observability stack. I was struggling hard to create the watcher based on the elastic APM data i.e., needs to trigger whenever there is a http 400 or 500 received in the APM…

---

## [Check if a single point, is contained in documents multiple geohash,](https://discuss.elastic.co/t/check-if-a-single-point-is-contained-in-documents-multiple-geohash/302091)

<div class="topic-metadata">

**Author:** [@TheGreatBaldOne](https://discuss.elastic.co/u/TheGreatBaldOne)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 10:14am UTC](https://discuss.elastic.co/t/check-if-a-single-point-is-contained-in-documents-multiple-geohash/302091 "2022-04-11T10:14:49Z")

</div>

So I have a geo point , \[-70, 40\] for example And I have an index with multiple documents, each document containing multiple geohashes of various precisions. I am struggling to find out, how can I query that my geopoin…

---

## [Configuring multiple nodes](https://discuss.elastic.co/t/configuring-multiple-nodes/300922)

<div class="topic-metadata">

**Author:** [@albert2022](https://discuss.elastic.co/u/albert2022)\
**Replies:** 7\
**Last updated:** [April 11, 2022, 9:33am UTC](https://discuss.elastic.co/t/configuring-multiple-nodes/300922 "2022-04-11T09:33:45Z")

</div>

We try to run an Elasticsearch cluster with multiple nodes on the same VM for testing purpose and for this we are using the following docker compose file: version: "2.2" services: es01: image: docker.elastic.co/e…

---

## [Elasticsearch documents are dropped on bulk insert](https://discuss.elastic.co/t/elasticsearch-documents-are-dropped-on-bulk-insert/301837)

<div class="topic-metadata">

**Author:** [@JanMo](https://discuss.elastic.co/u/JanMo)\
**Replies:** 3\
**Last updated:** [April 11, 2022, 9:15am UTC](https://discuss.elastic.co/t/elasticsearch-documents-are-dropped-on-bulk-insert/301837 "2022-04-11T09:15:28Z")

</div>

I have the following situation: Logstash with a JDBC input connector and an Elasticsearch output connector. The data is loaded initially into the ES, meaning the indices which are filled do not exist prior to the Logstas…

---

## [Aggregation Filter Sort - InternalFilter cannot be cast to class InternalMultiBucketAggregation](https://discuss.elastic.co/t/aggregation-filter-sort-internalfilter-cannot-be-cast-to-class-internalmultibucketaggregation/302050)

<div class="topic-metadata">

**Author:** [@Sridatta19](https://discuss.elastic.co/u/Sridatta19)\
**Replies:** 4\
**Last updated:** [April 11, 2022, 5:02am UTC](https://discuss.elastic.co/t/aggregation-filter-sort-internalfilter-cannot-be-cast-to-class-internalmultibucketaggregation/302050 "2022-04-11T05:02:05Z")

</div>

I'm try to sort the results generated after performing terms, filter and sum aggregation. But I keep facing an error. GET stats/\_search { "size": 0, "aggs": { "group\_by\_names": { "terms": { "field"…

---

## [How to connect Elastic version 8.0 on EC2 to Spring?](https://discuss.elastic.co/t/how-to-connect-elastic-version-8-0-on-ec2-to-spring/302043)

<div class="topic-metadata">

**Author:** [@hieuxt1002](https://discuss.elastic.co/u/hieuxt1002)\
**Replies:** 5\
**Last updated:** [April 11, 2022, 12:59am UTC](https://discuss.elastic.co/t/how-to-connect-elastic-version-8-0-on-ec2-to-spring/302043 "2022-04-11T00:59:55Z")

</div>

Hello everyone, i'm student from Viet Nam, my english is not good, hope you understand for me. I have researched on google, Spring only supports for Elasticsearch version 7.1.x. So how can i do to configure connect Elast…

[Previous page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=457)

[Next page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=459)
