# Elasticsearch

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

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

**Page:** 192

---

## [Sliding Window Query in Elastic](https://discuss.elastic.co/t/sliding-window-query-in-elastic/344733)

<div class="topic-metadata">

**Author:** [@vignesh\_nayak](https://discuss.elastic.co/u/vignesh_nayak)\
**Replies:** 0\
**Last updated:** [October 10, 2023, 12:26pm UTC](https://discuss.elastic.co/t/sliding-window-query-in-elastic/344733 "2023-10-10T12:26:12Z")

</div>

Hello, I have a log message which has an id, and it will be same for repeating requests. So I need to find repetitive requests from same id in a certain interval(ex:15min) , What would be the easiest way to achieve this,…

---

## [How to set in Discovery max\_analyzed\_offset as a default value?](https://discuss.elastic.co/t/how-to-set-in-discovery-max-analyzed-offset-as-a-default-value/344731)

<div class="topic-metadata">

**Author:** [@elk1985](https://discuss.elastic.co/u/elk1985)\
**Replies:** 0\
**Last updated:** [October 10, 2023, 11:51am UTC](https://discuss.elastic.co/t/how-to-set-in-discovery-max-analyzed-offset-as-a-default-value/344731 "2023-10-10T11:51:51Z")

</div>

Hello. I have a problem with documents with over 10 mln characters. I'm getting max\_analyzed\_offset error. How can I set max\_analyzed\_offset as a default value so when I will be using Discovery i will not get any error…

---

## [ECK and Platinum license](https://discuss.elastic.co/t/eck-and-platinum-license/344718)

<div class="topic-metadata">

**Author:** [@chriske](https://discuss.elastic.co/u/chriske)\
**Replies:** 2\
**Last updated:** [October 10, 2023, 11:05am UTC](https://discuss.elastic.co/t/eck-and-platinum-license/344718 "2023-10-10T11:05:07Z")

</div>

Hello! I would like to ask if, theoretically, I have a Platinum license and I want to use ECK (Elastic Cloud on Kubernetes), is it possible to run ECK with a basic license while activating the Platinum license for Elast…

---

## [1 index having two shards went unassigned, when we do the cluster explain we received below response. Request you to assist on this issue](https://discuss.elastic.co/t/1-index-having-two-shards-went-unassigned-when-we-do-the-cluster-explain-we-received-below-response-request-you-to-assist-on-this-issue/344725)

<div class="topic-metadata">

**Author:** [@Jefferson\_Lourthusam](https://discuss.elastic.co/u/Jefferson_Lourthusam)\
**Replies:** 0\
**Last updated:** [October 10, 2023, 10:25am UTC](https://discuss.elastic.co/t/1-index-having-two-shards-went-unassigned-when-we-do-the-cluster-explain-we-received-below-response-request-you-to-assist-on-this-issue/344725 "2023-10-10T10:25:52Z")

</div>

{ "index" : "audit\_latestchargesave\_26112022", "shard" : 0, "primary" : true, "current\_state" : "unassigned", "unassigned\_info" : { "reason" : "NODE\_LEFT", "at" : "2023-07-17T20:07:51.278Z", "detail…

---

## [Elasticsearch 7.17 index with alias - granting privileges best practice](https://discuss.elastic.co/t/elasticsearch-7-17-index-with-alias-granting-privileges-best-practice/344721)

<div class="topic-metadata">

**Author:** [@zvonimir](https://discuss.elastic.co/u/zvonimir)\
**Replies:** 0\
**Last updated:** [October 10, 2023, 9:35am UTC](https://discuss.elastic.co/t/elasticsearch-7-17-index-with-alias-granting-privileges-best-practice/344721 "2023-10-10T09:35:11Z")

</div>

Hi. What would be best practice for granting read security privileges on index with alias on Elasticsearch 7.17? Granting read privilege only on alias is deprecated but granting read privilege only on index isn't workin…

---

## [The problem when create HTTPS for elasticsearch](https://discuss.elastic.co/t/the-problem-when-create-https-for-elasticsearch/344708)

<div class="topic-metadata">

**Author:** [@Tai\_Nguyen\_Huu](https://discuss.elastic.co/u/Tai_Nguyen_Huu)\
**Replies:** 1\
**Last updated:** [October 10, 2023, 8:37am UTC](https://discuss.elastic.co/t/the-problem-when-create-https-for-elasticsearch/344708 "2023-10-10T08:37:25Z")

</div>

Hi guys, I am having the problem with setup HTTPS for elasticsearch stack. I created certifacate with private key with one certificate for every node with command elasticsearch-certutil http I am understanding that. I…

---

## [Whenever I restore from snapshot, I got Authentication Problem](https://discuss.elastic.co/t/whenever-i-restore-from-snapshot-i-got-authentication-problem/344707)

<div class="topic-metadata">

**Author:** [@Faker](https://discuss.elastic.co/u/Faker)\
**Replies:** 0\
**Last updated:** [October 10, 2023, 8:09am UTC](https://discuss.elastic.co/t/whenever-i-restore-from-snapshot-i-got-authentication-problem/344707 "2023-10-10T08:09:30Z")

</div>

Hello, thank you in advance. I'm trying to migrate my entire data from one ES to another ES. whenever i try to restore from snapshot, I am restoring an entire cluster so I followed instructions below. Restore an entir…

---

## [Unable to start elastic search -bound or publishing to a non-loopback address, enforcing bootstrap checks ERROR: \[1\] bootstrap checks failed \[1\]: max file descriptors \[4096\] for elasticsearch process is too low, increase to at least \[65535\]](https://discuss.elastic.co/t/unable-to-start-elastic-search-bound-or-publishing-to-a-non-loopback-address-enforcing-bootstrap-checks-error-1-bootstrap-checks-failed-1-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/344696)

<div class="topic-metadata">

**Author:** [@ramyanamala013](https://discuss.elastic.co/u/ramyanamala013)\
**Replies:** 3\
**Last updated:** [October 10, 2023, 7:34am UTC](https://discuss.elastic.co/t/unable-to-start-elastic-search-bound-or-publishing-to-a-non-loopback-address-enforcing-bootstrap-checks-error-1-bootstrap-checks-failed-1-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/344696 "2023-10-10T07:34:34Z")

</div>

Dear all, while starting Elasticsearch i'm getting below error please help \[2023-10-10T07:27:32,014\]\[INFO \]\[o.e.x.s.a.s.FileRolesStore\] \[visitor-es-node-1\] parsed \[0\] roles from file \[/opt/MBRL/Elastic/elasticsearch-6.…

---

## [Handle Error While upload csv file to Elasticsearch](https://discuss.elastic.co/t/handle-error-while-upload-csv-file-to-elasticsearch/344701)

<div class="topic-metadata">

**Author:** [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)\
**Replies:** 0\
**Last updated:** [October 10, 2023, 7:08am UTC](https://discuss.elastic.co/t/handle-error-while-upload-csv-file-to-elasticsearch/344701 "2023-10-10T07:08:44Z")

</div>

Hi Team, While uploading csv files to Elasticsearch through filebeat how to handle the records which are not processed. For Example the csv file contain 200 records and due to some reason 20 records not processed. So i…

---

## [Is there a way to add a custom tag to a Rally race?](https://discuss.elastic.co/t/is-there-a-way-to-add-a-custom-tag-to-a-rally-race/344134)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 1\
**Last updated:** [October 10, 2023, 6:56am UTC](https://discuss.elastic.co/t/is-there-a-way-to-add-a-custom-tag-to-a-rally-race/344134 "2023-10-10T06:56:35Z")

</div>

Hey there, I was trying to use Rally to benchmark my clusters. Is there a way to add a tag to the race? I have a custom track and I want to modify only the races not the track.

---

## [Ilm policy errors for indices](https://discuss.elastic.co/t/ilm-policy-errors-for-indices/344694)

<div class="topic-metadata">

**Author:** [@shailendra1](https://discuss.elastic.co/u/shailendra1)\
**Replies:** 0\
**Last updated:** [October 10, 2023, 2:40am UTC](https://discuss.elastic.co/t/ilm-policy-errors-for-indices/344694 "2023-10-10T02:40:58Z")

</div>

Hi All, duing the setup of my ILM policy for the indices , i am facing the errors illegal\_argument\_exception: setting \[index.lifecycle.rollover\_alias\] for index \[csec\_uat.test\] is empty or not defined. even after i h…

---

## [Path.repo is not being updated by elasticsearch.yml file](https://discuss.elastic.co/t/path-repo-is-not-being-updated-by-elasticsearch-yml-file/344441)

<div class="topic-metadata">

**Author:** [@Faker](https://discuss.elastic.co/u/Faker)\
**Replies:** 4\
**Last updated:** [October 10, 2023, 12:29am UTC](https://discuss.elastic.co/t/path-repo-is-not-being-updated-by-elasticsearch-yml-file/344441 "2023-10-10T00:29:57Z")

</div>

Hi, I'd like to thank you in advance for your reply. i am going through hard tasks. our team use ES 7.13.12 and wants to migrate (& upgrade) to docker ELK 8.10.2 according to ES document, i should go through 7.17.13 b…

---

## [What's the relationship between clients and CPU cores?](https://discuss.elastic.co/t/whats-the-relationship-between-clients-and-cpu-cores/344588)

<div class="topic-metadata">

**Author:** [@Dhineshkumar\_R](https://discuss.elastic.co/u/Dhineshkumar_R)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 11:02pm UTC](https://discuss.elastic.co/t/whats-the-relationship-between-clients-and-cpu-cores/344588 "2023-10-09T23:02:15Z")

</div>

Hi Folks, I found that rally uses Actor model to generate load under the hood. From the documentation, I understand that target throughput is achieved with all clients together. However, I do not understand the way numb…

---

## [Elasticearch version\[8.6.2\] initialization error](https://discuss.elastic.co/t/elasticearch-version-8-6-2-initialization-error/344643)

<div class="topic-metadata">

**Author:** [@Daniel\_Schneider](https://discuss.elastic.co/u/Daniel_Schneider)\
**Replies:** 8\
**Last updated:** [October 9, 2023, 8:21pm UTC](https://discuss.elastic.co/t/elasticearch-version-8-6-2-initialization-error/344643 "2023-10-09T20:21:53Z")

</div>

Hi, When I'm trying to launch Elasticsearch server v 8.6.2 it fails with following error: \[2023-10-09T13:45:34,090\]\[INFO \]\[o.e.n.Node \] \[DANIELS-HRLP\] version\[8.6.2\], pid\[2188\], build\[zip/2d58d0f136141f03…

---

## [Generative AI for Search](https://discuss.elastic.co/t/generative-ai-for-search/344675)

<div class="topic-metadata">

**Author:** [@sivagurlinka](https://discuss.elastic.co/u/sivagurlinka)\
**Replies:** 2\
**Last updated:** [October 9, 2023, 7:31pm UTC](https://discuss.elastic.co/t/generative-ai-for-search/344675 "2023-10-09T19:31:28Z")

</div>

Hi, We are trying to understand Generative AI features/capabilities Elastic can offer. We are working on a semantic search use cases where we are aware of ELSER and Third party dense vector models. We would like to kno…

---

## [Elastic KNN search questions](https://discuss.elastic.co/t/elastic-knn-search-questions/344684)

<div class="topic-metadata">

**Author:** [@AdarshPrabhakara](https://discuss.elastic.co/u/AdarshPrabhakara)\
**Replies:** 2\
**Last updated:** [October 9, 2023, 7:14pm UTC](https://discuss.elastic.co/t/elastic-knn-search-questions/344684 "2023-10-09T19:14:12Z")

</div>

I am looking into using Elastic KNN search feature and from what I see this is how we query ES for KNN search. GET my-index/\_knn\_search { "knn": { "field": "image\_vector", "query\_vector": \[0.3, 0.1, 1.2\], …

---

## [Unable to start elastic search in linux server](https://discuss.elastic.co/t/unable-to-start-elastic-search-in-linux-server/344681)

<div class="topic-metadata">

**Author:** [@ramyanamala013](https://discuss.elastic.co/u/ramyanamala013)\
**Replies:** 1\
**Last updated:** [October 9, 2023, 6:06pm UTC](https://discuss.elastic.co/t/unable-to-start-elastic-search-in-linux-server/344681 "2023-10-09T18:06:47Z")

</div>

Unable to start Elasticsearch in linux server, kindly help Exception in thread "main" java.nio.file.AccessDeniedException: /opt/MBRL/Elastic/elasticsearch-6.5.0/config/jvm.options at sun.nio.fs.UnixException.translateT…

---

## [Filter records having count =0 in aggregation](https://discuss.elastic.co/t/filter-records-having-count-0-in-aggregation/344679)

<div class="topic-metadata">

**Author:** [@star42](https://discuss.elastic.co/u/star42)\
**Replies:** 0\
**Last updated:** [October 9, 2023, 3:24pm UTC](https://discuss.elastic.co/t/filter-records-having-count-0-in-aggregation/344679 "2023-10-09T15:24:30Z")

</div>

Hi, I have a requirement to fetch categories having zero count Query : GET /category-sale-\*/\_search?size=100&filter\_path=aggregations { "query": { "bool": { "filter": { "bool": { "must\_not": \[ { "bool": { "sh…

---

## [Auto profiler instrumentation is not working](https://discuss.elastic.co/t/auto-profiler-instrumentation-is-not-working/344672)

<div class="topic-metadata">

**Author:** [@Samiullah\_Shah](https://discuss.elastic.co/u/Samiullah_Shah)\
**Replies:** 0\
**Last updated:** [October 9, 2023, 2:15pm UTC](https://discuss.elastic.co/t/auto-profiler-instrumentation-is-not-working/344672 "2023-10-09T14:15:48Z")

</div>

Hi everyone, I have been using stand alone dotnet agent which working perfectly. I now i was trying to use third party tool dotnet auto instrumentation i followed the mentioned steps but my application is not sending …

---

## [How to filter \_search performed with text\_expansion](https://discuss.elastic.co/t/how-to-filter-search-performed-with-text-expansion/344646)

<div class="topic-metadata">

**Author:** [@sivagurlinka](https://discuss.elastic.co/u/sivagurlinka)\
**Replies:** 1\
**Last updated:** [October 9, 2023, 2:10pm UTC](https://discuss.elastic.co/t/how-to-filter-search-performed-with-text-expansion/344646 "2023-10-09T14:10:49Z")

</div>

I have an Elasticsearch index ingested with inference pipeline using ELSER. While performing the search I would like to filter and show all the URL's containing "/cn/" in it. (http://www.elastic.co/giude/cn/\*). How to a…

---

## [Function\_score with several functions](https://discuss.elastic.co/t/function-score-with-several-functions/343786)

<div class="topic-metadata">

**Author:** [@MikeT1234](https://discuss.elastic.co/u/MikeT1234)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 1:36pm UTC](https://discuss.elastic.co/t/function-score-with-several-functions/343786 "2023-10-09T13:36:03Z")

</div>

Could somebody point me to the right direction? :nerd\_face: I'm trying to search items and categorize / score them based on several criteria. function\_score seems to do all the right things except I it just returns tot…

---

## [Help me please](https://discuss.elastic.co/t/help-me-please/344574)

<div class="topic-metadata">

**Author:** [@vlados31999](https://discuss.elastic.co/u/vlados31999)\
**Replies:** 1\
**Last updated:** [October 9, 2023, 12:58pm UTC](https://discuss.elastic.co/t/help-me-please/344574 "2023-10-09T12:58:12Z")

</div>

Good afternoon Given: 1 server with deb. elasticsearch package (master) 1 server with elasticsearch installed in docker Can you please tell me if it is possible to add an elasticsearch node that is installed in…

---

## [What is the best practise to add a new field to an index in elasticsearch?](https://discuss.elastic.co/t/what-is-the-best-practise-to-add-a-new-field-to-an-index-in-elasticsearch/344624)

<div class="topic-metadata">

**Author:** [@stephane\_chan](https://discuss.elastic.co/u/stephane_chan)\
**Replies:** 4\
**Last updated:** [October 9, 2023, 12:25pm UTC](https://discuss.elastic.co/t/what-is-the-best-practise-to-add-a-new-field-to-an-index-in-elasticsearch/344624 "2023-10-09T12:25:07Z")

</div>

Hi, My problem is that I want to add a new field in my index but the value of the field is in the database, is it possible to update the data in my index by doing \_update\_by\_query? if it is possible, how to do this to c…

---

## [Elasticsearch-relevance-engine and chatgpt(openAI) multi-region](https://discuss.elastic.co/t/elasticsearch-relevance-engine-and-chatgpt-openai-multi-region/344644)

<div class="topic-metadata">

**Author:** [@Wheelontrac](https://discuss.elastic.co/u/Wheelontrac)\
**Replies:** 0\
**Last updated:** [October 9, 2023, 11:12am UTC](https://discuss.elastic.co/t/elasticsearch-relevance-engine-and-chatgpt-openai-multi-region/344644 "2023-10-09T11:12:20Z")

</div>

Hi Team, how we can take the advantage of elasticsearch-relevance-engine with chatgpt(openAI) for a use case where we have 2 Elasticsearch database which resides in 2 different regions and we want to perform a search …

---

## [Elasticsearch design feasibility](https://discuss.elastic.co/t/elasticsearch-design-feasibility/344621)

<div class="topic-metadata">

**Author:** [@mr\_zer0](https://discuss.elastic.co/u/mr_zer0)\
**Replies:** 9\
**Last updated:** [October 9, 2023, 10:15am UTC](https://discuss.elastic.co/t/elasticsearch-design-feasibility/344621 "2023-10-09T10:15:14Z")

</div>

Hello All, Would need your help in validation of few numbers, based on your experience. Would be happy to get a response or some feedback. I wanted to check if the below numbers are feasible to be handled by Elasticse…

---

## [Cannot register new repository \[local-backup\] failed to create repository](https://discuss.elastic.co/t/cannot-register-new-repository-local-backup-failed-to-create-repository/344632)

<div class="topic-metadata">

**Author:** [@Keremcan\_Seker](https://discuss.elastic.co/u/Keremcan_Seker)\
**Replies:** 1\
**Last updated:** [October 9, 2023, 9:41am UTC](https://discuss.elastic.co/t/cannot-register-new-repository-local-backup-failed-to-create-repository/344632 "2023-10-09T09:41:26Z")

</div>

i'm getting this eroor while creating a repositry for backups in docker this is my settings on compose file the path setting is on the bottom i saw from another elastic topic and created the backup directory and gi…

---

## [Update a value in documents contained in different indexes](https://discuss.elastic.co/t/update-a-value-in-documents-contained-in-different-indexes/344634)

<div class="topic-metadata">

**Author:** [@Ric31](https://discuss.elastic.co/u/Ric31)\
**Replies:** 0\
**Last updated:** [October 9, 2023, 9:19am UTC](https://discuss.elastic.co/t/update-a-value-in-documents-contained-in-different-indexes/344634 "2023-10-09T09:19:06Z")

</div>

Hello everyone! I just started studying/working in Elastic and was wondering if there is any native function that goes to update documents in all the indexes they are in when I need to update a value in a document. Ex:…

---

## [Elastic Search](https://discuss.elastic.co/t/elastic-search/343614)

<div class="topic-metadata">

**Author:** [@Gopal\_Gupta](https://discuss.elastic.co/u/Gopal_Gupta)\
**Replies:** 2\
**Last updated:** [October 9, 2023, 7:15am UTC](https://discuss.elastic.co/t/elastic-search/343614 "2023-10-09T07:15:17Z")

</div>

PROBLEM STATEMENT I am using Join field type Sample Mapping { "mappings": { "properties": { "firstname": { "type": "keyword" }, "lastname": { "type": "keyword" }, "my\_jo…

---

## [elasticSearch query\_string not applying on .keyword version of field](https://discuss.elastic.co/t/elasticsearch-query-string-not-applying-on-keyword-version-of-field/344606)

<div class="topic-metadata">

**Author:** [@cpawali](https://discuss.elastic.co/u/cpawali)\
**Replies:** 5\
**Last updated:** [October 9, 2023, 7:09am UTC](https://discuss.elastic.co/t/elasticsearch-query-string-not-applying-on-keyword-version-of-field/344606 "2023-10-09T07:09:58Z")

</div>

I am trying to query index with { "query": { "query\_string": { "query": "application\_id:app-20231008232923-0060" } } } But records with application\_id:app-20231008232923-0061 are also showing up in result Her…

---

## [Percolator on Elasticsearch version 8 with JAVA API](https://discuss.elastic.co/t/percolator-on-elasticsearch-version-8-with-java-api/344343)

<div class="topic-metadata">

**Author:** [@sloren](https://discuss.elastic.co/u/sloren)\
**Replies:** 3\
**Last updated:** [October 8, 2023, 9:39am UTC](https://discuss.elastic.co/t/percolator-on-elasticsearch-version-8-with-java-api/344343 "2023-10-08T09:39:01Z")

</div>

Hello, Is there a way to use the percolator in the new version of Elasticsearch (8.8.2) with the Java API? my index mapping { "my\_index\_1": { "mappings": { "dynamic": "strict", "properties": { …

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

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