# Elasticsearch

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

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

**Page:** 426

---

## [Upgrade from 6.8.1 to 7.8.1 causes token offset issues](https://discuss.elastic.co/t/upgrade-from-6-8-1-to-7-8-1-causes-token-offset-issues/307176)

<div class="topic-metadata">

**Author:** [@itaydvir](https://discuss.elastic.co/u/itaydvir)\
**Replies:** 0\
**Last updated:** [June 14, 2022, 2:36pm UTC](https://discuss.elastic.co/t/upgrade-from-6-8-1-to-7-8-1-causes-token-offset-issues/307176 "2022-06-14T14:36:02Z")

</div>

I'm trying to upgrade from 6.8.1 to 7.8.1, using the same mappings from 6.8.1 but when trying to index documents, some (not too many) are throwing exception with the following erre: startOffset must be non-negative, an…

---

## [Watcher - email on condition that doc\_count is less than certain value](https://discuss.elastic.co/t/watcher-email-on-condition-that-doc-count-is-less-than-certain-value/306583)

<div class="topic-metadata">

**Author:** [@abidub](https://discuss.elastic.co/u/abidub)\
**Replies:** 4\
**Last updated:** [June 14, 2022, 2:30pm UTC](https://discuss.elastic.co/t/watcher-email-on-condition-that-doc-count-is-less-than-certain-value/306583 "2022-06-14T14:30:58Z")

</div>

Hi, I have created a watcher that checks various target servers to see if 3 files are present at each target location. I have a number of locations to check. As the email alert must alert at a specific time, I have gr…

---

## [Configuring and debugging anonmyous access to Elasticsearch](https://discuss.elastic.co/t/configuring-and-debugging-anonmyous-access-to-elasticsearch/306116)

<div class="topic-metadata">

**Author:** [@vmassol](https://discuss.elastic.co/u/vmassol)\
**Replies:** 9\
**Last updated:** [June 14, 2022, 2:11pm UTC](https://discuss.elastic.co/t/configuring-and-debugging-anonmyous-access-to-elasticsearch/306116 "2022-06-14T14:11:21Z")

</div>

Hi everyone, I'm trying to configure our ES instance so that anonymous users can index documents (but not modify existing docs). Here's what I did: Enabled security xpack.security.enabled: true Configured a custom r…

---

## [A repetitive 5 seconds slow queries - and I'm out of ideas](https://discuss.elastic.co/t/a-repetitive-5-seconds-slow-queries-and-im-out-of-ideas/307066)

<div class="topic-metadata">

**Author:** [@scaraliu](https://discuss.elastic.co/u/scaraliu)\
**Replies:** 2\
**Last updated:** [June 14, 2022, 2:00pm UTC](https://discuss.elastic.co/t/a-repetitive-5-seconds-slow-queries-and-im-out-of-ideas/307066 "2022-06-14T14:00:01Z")

</div>

On search queries sent via POST method I'm getting from time to time a no-less than 5 seconds, repetitive, delay until the response is received from Elasticsearch. Had this issue in the past, solved but now on 8.1.0 it …

---

## [Unable to reset the elastic and kibana user password](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464)

<div class="topic-metadata">

**Author:** [@manish6.rai](https://discuss.elastic.co/u/manish6.rai)\
**Replies:** 7\
**Last updated:** [June 14, 2022, 1:41pm UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464 "2022-06-14T13:41:14Z")

</div>

Hi Elastic Team, I am unable to reset the elastic and Kibana passwords. Please help getting below error. using command for changing the passwords:/usr/share/Elasticsearch/bin/Elasticsearch-reset-password -i -u elastic …

---

## [MongoDb vs Elastic Search for text based search in a collection](https://discuss.elastic.co/t/mongodb-vs-elastic-search-for-text-based-search-in-a-collection/307146)

<div class="topic-metadata">

**Author:** [@Girish\_V](https://discuss.elastic.co/u/Girish_V)\
**Replies:** 0\
**Last updated:** [June 14, 2022, 11:37am UTC](https://discuss.elastic.co/t/mongodb-vs-elastic-search-for-text-based-search-in-a-collection/307146 "2022-06-14T11:37:48Z")

</div>

We are trying to weighing the benefits of using Elasticsearch for text based search on MongoDb Vs reading data in mongodb using text based indexes available in mongodb( app also have Redis cache) Our Collection in t…

---

## [Variable to store list of recipient addresses for Elastic Watcher](https://discuss.elastic.co/t/variable-to-store-list-of-recipient-addresses-for-elastic-watcher/306108)

<div class="topic-metadata">

**Author:** [@Souvik\_Das](https://discuss.elastic.co/u/Souvik_Das)\
**Replies:** 4\
**Last updated:** [June 14, 2022, 11:34am UTC](https://discuss.elastic.co/t/variable-to-store-list-of-recipient-addresses-for-elastic-watcher/306108 "2022-06-14T11:34:27Z")

</div>

Hi Team, In our production setup, we have multiple watcher alerts (around 100), having different sets of recipient email addresses. Now if there is any requirement from the client to update the list, we need to edit 100…

---

## [Cannot login to the Kibaba with the username and the password from the Secret file](https://discuss.elastic.co/t/cannot-login-to-the-kibaba-with-the-username-and-the-password-from-the-secret-file/307122)

<div class="topic-metadata">

**Author:** [@Frida](https://discuss.elastic.co/u/Frida)\
**Replies:** 0\
**Last updated:** [June 14, 2022, 9:02am UTC](https://discuss.elastic.co/t/cannot-login-to-the-kibaba-with-the-username-and-the-password-from-the-secret-file/307122 "2022-06-14T09:02:37Z")

</div>

Hi, if possible- I have a question: this is my Elasticsearch: apiVersion: elasticsearch.k8s.elastic.co/v1 kind: Elasticsearch metadata: name: jhsearch spec: version: 7.6.2 auth: fileRealm: - secretName: …

---

## [\[ERROR\] Cannot race. Worker \[54\] has exited prematurely](https://discuss.elastic.co/t/error-cannot-race-worker-54-has-exited-prematurely/306981)

<div class="topic-metadata">

**Author:** [@amitsa](https://discuss.elastic.co/u/amitsa)\
**Replies:** 4\
**Last updated:** [June 14, 2022, 7:46am UTC](https://discuss.elastic.co/t/error-cannot-race-worker-54-has-exited-prematurely/306981 "2022-06-14T07:46:42Z")

</div>

Getting below error while benchmarking with nyc\_taxis Running on kubernetes 1 master - 31 gb heap 3 data - 31 gb heap System 208 VCPU mem: 1008 gb track params NUMBER\_OF\_SHARDS=${NUMBER\_OF\_SHARDS:-10} NUMBER\_OF\_RE…

---

## [How to define a global default index route allocation strategy?](https://discuss.elastic.co/t/how-to-define-a-global-default-index-route-allocation-strategy/307093)

<div class="topic-metadata">

**Author:** [@wajika](https://discuss.elastic.co/u/wajika)\
**Replies:** 0\
**Last updated:** [June 14, 2022, 6:11am UTC](https://discuss.elastic.co/t/how-to-define-a-global-default-index-route-allocation-strategy/307093 "2022-06-14T06:11:10Z")

</div>

PUT filebeat-7.17.3-000001/ { "settings": { "index": { "lifecycle": { "name": "30-days-default", "rollover\_alias": "filebeat-7.17.3" }, "routing": { "allocation": { …

---

## [Does reindex honour \_routing option](https://discuss.elastic.co/t/does-reindex-honour-routing-option/306881)

<div class="topic-metadata">

**Author:** [@sreekanth](https://discuss.elastic.co/u/sreekanth)\
**Replies:** 1\
**Last updated:** [June 14, 2022, 5:46am UTC](https://discuss.elastic.co/t/does-reindex-honour-routing-option/306881 "2022-06-14T05:46:08Z")

</div>

We have ingested a few parent docs and few child docs per parent. For all child docs we used \_routing=parentID. So that child also sits on the same shard where the parent lies. Now we had only 1 shard and called reindex…

---

## [Installing Elasticsearch and Kibana on kubernetes, what is next?](https://discuss.elastic.co/t/installing-elasticsearch-and-kibana-on-kubernetes-what-is-next/306968)

<div class="topic-metadata">

**Author:** [@levitoh123](https://discuss.elastic.co/u/levitoh123)\
**Replies:** 12\
**Last updated:** [June 14, 2022, 5:35am UTC](https://discuss.elastic.co/t/installing-elasticsearch-and-kibana-on-kubernetes-what-is-next/306968 "2022-06-14T05:35:20Z")

</div>

Hi, I'm very new to ELK, and I have a very rookie question. I want to monitor the applications running in our kubernetes solution and we chose ELK for it. I have followed the instructions on Deploy ECK in your Kubernetes…

---

## [Alternate for sub aggregation in elastic search](https://discuss.elastic.co/t/alternate-for-sub-aggregation-in-elastic-search/306423)

<div class="topic-metadata">

**Author:** [@khasim\_vali\_dudekula](https://discuss.elastic.co/u/khasim_vali_dudekula)\
**Replies:** 4\
**Last updated:** [June 14, 2022, 5:13am UTC](https://discuss.elastic.co/t/alternate-for-sub-aggregation-in-elastic-search/306423 "2022-06-14T05:13:44Z")

</div>

Hi I am new to Elasticsearch, and I'm writing a query using sub aggregations. I'm not sure whether it is okay in terms of performance or any other alternatives exist. please guide me. the query looks like this { "siz…

---

## [Very basic question](https://discuss.elastic.co/t/very-basic-question/307042)

<div class="topic-metadata">

**Author:** [@stobbe99](https://discuss.elastic.co/u/stobbe99)\
**Replies:** 2\
**Last updated:** [June 14, 2022, 2:30am UTC](https://discuss.elastic.co/t/very-basic-question/307042 "2022-06-14T02:30:48Z")

</div>

Hello, What dataset do I need to load to make the documentation examples work? KR Henk

---

## [Registering Repository](https://discuss.elastic.co/t/registering-repository/306930)

<div class="topic-metadata">

**Author:** [@wonderland14](https://discuss.elastic.co/u/wonderland14)\
**Replies:** 1\
**Last updated:** [June 14, 2022, 1:42am UTC](https://discuss.elastic.co/t/registering-repository/306930 "2022-06-14T01:42:26Z")

</div>

What is more applicable, turning On or Off source-only in registering repository? Upon my research, this is more advantage when it comes to lessen disk space, and by doing this, it only includes fields and metadata not …

---

## [No to use closing index while performing restore](https://discuss.elastic.co/t/no-to-use-closing-index-while-performing-restore/307027)

<div class="topic-metadata">

**Author:** [@wonderland14](https://discuss.elastic.co/u/wonderland14)\
**Replies:** 1\
**Last updated:** [June 14, 2022, 1:32am UTC](https://discuss.elastic.co/t/no-to-use-closing-index-while-performing-restore/307027 "2022-06-14T01:32:07Z")

</div>

Is there any possible way or steps to not close the index while performing restore? If closing is the only way then it makes user life miserable to one by one closing indexes in order to perform restore.

---

## [Moving Elasticsearch Data to New Storage](https://discuss.elastic.co/t/moving-elasticsearch-data-to-new-storage/306658)

<div class="topic-metadata">

**Author:** [@Ryan66740](https://discuss.elastic.co/u/Ryan66740)\
**Replies:** 3\
**Last updated:** [June 14, 2022, 12:33am UTC](https://discuss.elastic.co/t/moving-elasticsearch-data-to-new-storage/306658 "2022-06-14T00:33:27Z")

</div>

I have an Elasticsearch Cluster (v5.6.9) - x2 Data Nodes Both Physical Servers with Storage on different 3PAR systems + x1 Master (Quorum VM). Having 2 Shards + 1 Replica. I need to migrate both Data Nodes' storage to n…

---

## [Ingest pipeline : dissect log sentence](https://discuss.elastic.co/t/ingest-pipeline-dissect-log-sentence/305690)

<div class="topic-metadata">

**Author:** [@Micou12](https://discuss.elastic.co/u/Micou12)\
**Replies:** 3\
**Last updated:** [June 14, 2022, 12:27am UTC](https://discuss.elastic.co/t/ingest-pipeline-dissect-log-sentence/305690 "2022-06-14T00:27:38Z")

</div>

Hello All , would like to request a help on how to split a sentence into small chunk . for example I am making a pipeline from custom integration through kibana dashboard , the log is like this: \[name=tamari.mpaka@apm.rw…

---

## [Data stream indices not moving from frozen to delete state](https://discuss.elastic.co/t/data-stream-indices-not-moving-from-frozen-to-delete-state/304622)

<div class="topic-metadata">

**Author:** [@elastictor](https://discuss.elastic.co/u/elastictor)\
**Replies:** 7\
**Last updated:** [June 14, 2022, 12:27am UTC](https://discuss.elastic.co/t/data-stream-indices-not-moving-from-frozen-to-delete-state/304622 "2022-06-14T00:27:04Z")

</div>

I have created a data stream with ILM with phases ranging from Hot to Deleted. The backing indices are successfully moved into Frozen state but never continue into the Deleted phase. Why are the indices not moving to d…

---

## [Peoplesoft distributed elasticsearch](https://discuss.elastic.co/t/peoplesoft-distributed-elasticsearch/307079)

<div class="topic-metadata">

**Author:** [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Replies:** 1\
**Last updated:** [June 13, 2022, 9:49pm UTC](https://discuss.elastic.co/t/peoplesoft-distributed-elasticsearch/307079 "2022-06-13T21:49:05Z")

</div>

It seems that Peoplesoft uses Elasticsearch for some search functions? Our Peoplesoft is on-prem and someone is asking questions.... Is it a current version? I searched the web and only saw references from the Elastic…

---

## [Transport 502 Error: Need Help Isolating Error](https://discuss.elastic.co/t/transport-502-error-need-help-isolating-error/306590)

<div class="topic-metadata">

**Author:** [@raphaelli1](https://discuss.elastic.co/u/raphaelli1)\
**Replies:** 2\
**Last updated:** [June 13, 2022, 6:23pm UTC](https://discuss.elastic.co/t/transport-502-error-need-help-isolating-error/306590 "2022-06-13T18:23:20Z")

</div>

The command we are using is this: esrally race --track=http\_logs --target-hosts=\[IP address\] --pipeline=benchmark-only --report-file=es\_report\_E3\_32gb.md --report-format=csv --kill-running-processes The IP address is t…

---

## [How to Use Multiple Remote Hosts for Reindexing](https://discuss.elastic.co/t/how-to-use-multiple-remote-hosts-for-reindexing/307060)

<div class="topic-metadata">

**Author:** [@robromo](https://discuss.elastic.co/u/robromo)\
**Replies:** 0\
**Last updated:** [June 13, 2022, 6:10pm UTC](https://discuss.elastic.co/t/how-to-use-multiple-remote-hosts-for-reindexing/307060 "2022-06-13T18:10:25Z")

</div>

I'm just trying to get some clarification on how to use multiple remote hosts for reindexing. It seems (from the official docs) you can list multiple old servers in your reindex.remote.whitelist easily with: reindex.re…

---

## [Coloration error in tournament mode](https://discuss.elastic.co/t/coloration-error-in-tournament-mode/307041)

<div class="topic-metadata">

**Author:** [@Gsqsf](https://discuss.elastic.co/u/Gsqsf)\
**Replies:** 2\
**Last updated:** [June 13, 2022, 4:49pm UTC](https://discuss.elastic.co/t/coloration-error-in-tournament-mode/307041 "2022-06-13T16:49:53Z")

</div>

An upgrade in the range -90% percent take the color red for Mean Throughput Median Throughput Max Throughput

---

## [Elasticsearch Component Template Increase Total Mappings Limit](https://discuss.elastic.co/t/elasticsearch-component-template-increase-total-mappings-limit/307047)

<div class="topic-metadata">

**Author:** [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Replies:** 2\
**Last updated:** [June 13, 2022, 4:21pm UTC](https://discuss.elastic.co/t/elasticsearch-component-template-increase-total-mappings-limit/307047 "2022-06-13T16:21:23Z")

</div>

Hi All, I was wondering if there is a way to increase the total mappings limit on Component Template? I have a component template with \> 1000 mappings and am hitting the error: {"error":{"root\_cause":\[{"type":"illegal…

---

## [Side effect of command "elasticsearch-users useradd"](https://discuss.elastic.co/t/side-effect-of-command-elasticsearch-users-useradd/307044)

<div class="topic-metadata">

**Author:** [@luok0](https://discuss.elastic.co/u/luok0)\
**Replies:** 0\
**Last updated:** [June 13, 2022, 2:23pm UTC](https://discuss.elastic.co/t/side-effect-of-command-elasticsearch-users-useradd/307044 "2022-06-13T14:23:23Z")

</div>

We have a superuser named "admin1" in config/users file, what would happen to admin1 if we add a new superuser "admin2" through below command, will it cover the existing admin1 as the only superuser and make admin1 not v…

---

## [Run elasticsearch on startup](https://discuss.elastic.co/t/run-elasticsearch-on-startup/307036)

<div class="topic-metadata">

**Author:** [@Franck\_LONGO](https://discuss.elastic.co/u/Franck_LONGO)\
**Replies:** 0\
**Last updated:** [June 13, 2022, 1:18pm UTC](https://discuss.elastic.co/t/run-elasticsearch-on-startup/307036 "2022-06-13T13:18:07Z")

</div>

Hi there, I installed Nextcloud on Windows with WSL 2 and Elasticsearch. All is working great but I’m unable to run Elasticsearch on Windows Startup. I managed to have MYSQL, APACHE2 and CRON running on startup with th…

---

## [How to perform Index Stats API using NodeClient?](https://discuss.elastic.co/t/how-to-perform-index-stats-api-using-nodeclient/307002)

<div class="topic-metadata">

**Author:** [@Nishikant\_Tayade](https://discuss.elastic.co/u/Nishikant_Tayade)\
**Replies:** 2\
**Last updated:** [June 13, 2022, 12:47pm UTC](https://discuss.elastic.co/t/how-to-perform-index-stats-api-using-nodeclient/307002 "2022-06-13T12:47:18Z")

</div>

Hi, I am using ES 7.10.2 I have come across Index Stats API in ES documentation. Also in Java Lib there is class available named I did come across NodeClient, so I am trying to fetch index stats as below : NodeClient…

---

## [Old logs are not getting compressed](https://discuss.elastic.co/t/old-logs-are-not-getting-compressed/307029)

<div class="topic-metadata">

**Author:** [@Giri\_Dharan1](https://discuss.elastic.co/u/Giri_Dharan1)\
**Replies:** 0\
**Last updated:** [June 13, 2022, 12:30pm UTC](https://discuss.elastic.co/t/old-logs-are-not-getting-compressed/307029 "2022-06-13T12:30:26Z")

</div>

I'm using the below code to delete and roll(compress) old logs ######## Server - old style pattern ########### appender.rolling\_old.type = RollingFile appender.rolling\_old.name = rolling\_old appender.rolling\_old.fil…

---

## [Query with multiple conditions on denormalized data](https://discuss.elastic.co/t/query-with-multiple-conditions-on-denormalized-data/307010)

<div class="topic-metadata">

**Author:** [@sherzinger](https://discuss.elastic.co/u/sherzinger)\
**Replies:** 1\
**Last updated:** [June 13, 2022, 11:55am UTC](https://discuss.elastic.co/t/query-with-multiple-conditions-on-denormalized-data/307010 "2022-06-13T11:55:59Z")

</div>

Hi, I seem to be stuck formulating a certain query on a denormalized matrix. The original dataset looks like this: id fieldA fieldB fieldC "0001" 0.1 0.2 0.3 "0002" 0.4 0.5 0.6 ... In such a structure I can easily fin…

---

## [Highest ingestion speed](https://discuss.elastic.co/t/highest-ingestion-speed/307019)

<div class="topic-metadata">

**Author:** [@ktomu](https://discuss.elastic.co/u/ktomu)\
**Replies:** 2\
**Last updated:** [June 13, 2022, 11:39am UTC](https://discuss.elastic.co/t/highest-ingestion-speed/307019 "2022-06-13T11:39:50Z")

</div>

Hi, I have a general architectical question I'm going to use Elasticsearch in the way of highest ingestion speed of data. I don't care about data save, the most important is throughput of data ingestion. I have 100k ne…

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

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