# Elasticsearch

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

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

**Page:** 398

---

## [Elasticsearch Linux User](https://discuss.elastic.co/t/elasticsearch-linux-user/311031)

<div class="topic-metadata">

**Author:** [@lucian1094](https://discuss.elastic.co/u/lucian1094)\
**Replies:** 5\
**Last updated:** [July 30, 2022, 6:04pm UTC](https://discuss.elastic.co/t/elasticsearch-linux-user/311031 "2022-07-30T18:04:33Z")

</div>

I installed an Elasticsearch on CentOS using rpm file. After install, elaticsearch user and group is created, user which can't be used to manage (start/stop/restart) elasticsearch (nologin, nonexistent). I don't want to …

---

## [How to count matched phrases with slop](https://discuss.elastic.co/t/how-to-count-matched-phrases-with-slop/311036)

<div class="topic-metadata">

**Author:** [@Daniil](https://discuss.elastic.co/u/Daniil)\
**Replies:** 0\
**Last updated:** [July 30, 2022, 9:56am UTC](https://discuss.elastic.co/t/how-to-count-matched-phrases-with-slop/311036 "2022-07-30T09:56:16Z")

</div>

Now I am using scripted similarity to count phrases in matched documents. "similarity": { "my\_scripted\_formula": { "type": "scripted", "script": {"source": "double tf = doc.freq; return query.boost \*…

---

## [Can elasticsearch-1.13.3 work with kibana-1.13.3](https://discuss.elastic.co/t/can-elasticsearch-1-13-3-work-with-kibana-1-13-3/311003)

<div class="topic-metadata">

**Author:** [@Rain\_Water](https://discuss.elastic.co/u/Rain_Water)\
**Replies:** 3\
**Last updated:** [July 30, 2022, 7:03am UTC](https://discuss.elastic.co/t/can-elasticsearch-1-13-3-work-with-kibana-1-13-3/311003 "2022-07-30T07:03:02Z")

</div>

Is kibana version 1.13.2 compatible with elasticsearch 1.13.3 can both work together with different version?

---

## [Docker Heap Dump](https://discuss.elastic.co/t/docker-heap-dump/309240)

<div class="topic-metadata">

**Author:** [@Stef\_Nestor](https://discuss.elastic.co/u/Stef_Nestor)\
**Replies:** 1\
**Last updated:** [July 30, 2022, 2:12am UTC](https://discuss.elastic.co/t/docker-heap-dump/309240 "2022-07-30T02:12:56Z")

</div>

:wave:, howdy! How do you grab an ES Docker heap dump? From basic setup: $ docker run -it -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.17.0 $ docker exec -it…

---

## [Where is the elastic community team?](https://discuss.elastic.co/t/where-is-the-elastic-community-team/311022)

<div class="topic-metadata">

**Author:** [@morad\_della3](https://discuss.elastic.co/u/morad_della3)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 11:25pm UTC](https://discuss.elastic.co/t/where-is-the-elastic-community-team/311022 "2022-07-29T23:25:21Z")

</div>

where is the elastic comunity team ?I asked a question and any response ....

---

## [Force a synchronous refresh when updating documents](https://discuss.elastic.co/t/force-a-synchronous-refresh-when-updating-documents/311012)

<div class="topic-metadata">

**Author:** [@sz\_bb](https://discuss.elastic.co/u/sz_bb)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 6:30pm UTC](https://discuss.elastic.co/t/force-a-synchronous-refresh-when-updating-documents/311012 "2022-07-29T18:30:02Z")

</div>

As is well-documented, Elastic provides "near real-time search capabilities". My data is typically ingested with through the Bulk API and we use a 30 second refresh interval as the data typically does not need to be avai…

---

## [Could not index event to Elasticsearch due to opType: \[-1\]](https://discuss.elastic.co/t/could-not-index-event-to-elasticsearch-due-to-optype-1/311010)

<div class="topic-metadata">

**Author:** [@co88liwan](https://discuss.elastic.co/u/co88liwan)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 5:41pm UTC](https://discuss.elastic.co/t/could-not-index-event-to-elasticsearch-due-to-optype-1/311010 "2022-07-29T17:41:48Z")

</div>

Hi all, We encountered a transient issue with the \[WARN\] said: Could not index event to Elasticsearch From the log, the response is like :response =\> {"create"=\>{"\_index"=\>"zzzzzzzzzz"}, "\_type"=\>"\_doc", "\_id"=\>"xxxx…

---

## [Speed of dense vector search with 512 or more dimensions](https://discuss.elastic.co/t/speed-of-dense-vector-search-with-512-or-more-dimensions/307121)

<div class="topic-metadata">

**Author:** [@telunyang](https://discuss.elastic.co/u/telunyang)\
**Replies:** 7\
**Last updated:** [July 29, 2022, 5:43pm UTC](https://discuss.elastic.co/t/speed-of-dense-vector-search-with-512-or-more-dimensions/307121 "2022-07-29T17:43:37Z")

</div>

Hi Team, Reading the article Introducing approximate nearest neighbor search in Elasticsearch 8.0 is very useful to our lab for building an Elasticsearch service, so I would like to consult you on how to speed up our qu…

---

## [Illegal\_argument\_exception when searching with scroll in new elasticserach java client](https://discuss.elastic.co/t/illegal-argument-exception-when-searching-with-scroll-in-new-elasticserach-java-client/310970)

<div class="topic-metadata">

**Author:** [@ALX\_DM](https://discuss.elastic.co/u/ALX_DM)\
**Replies:** 2\
**Last updated:** [July 29, 2022, 5:02pm UTC](https://discuss.elastic.co/t/illegal-argument-exception-when-searching-with-scroll-in-new-elasticserach-java-client/310970 "2022-07-29T17:02:54Z")

</div>

What is the correct syntax when building a search request with scroll. I did this but I get an exception final co.elastic.clients.elasticsearch.core.SearchRequest req = rbuilder .index(indexPref…

---

## [How to create Custom Endpoints with an API?](https://discuss.elastic.co/t/how-to-create-custom-endpoints-with-an-api/311004)

<div class="topic-metadata">

**Author:** [@rcorfield](https://discuss.elastic.co/u/rcorfield)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 4:36pm UTC](https://discuss.elastic.co/t/how-to-create-custom-endpoints-with-an-api/311004 "2022-07-29T16:36:50Z")

</div>

Hi I've created custom endpoints for my ECE cluster via the Cloud UI using the guidance here: However in future I'd like to use an API call, or some other programmatic method (writing config files directly?). Can some…

---

## [Elasticsearch v8 Java API client adding index settings](https://discuss.elastic.co/t/elasticsearch-v8-java-api-client-adding-index-settings/310888)

<div class="topic-metadata">

**Author:** [@ijaxahmed](https://discuss.elastic.co/u/ijaxahmed)\
**Replies:** 4\
**Last updated:** [July 29, 2022, 3:42pm UTC](https://discuss.elastic.co/t/elasticsearch-v8-java-api-client-adding-index-settings/310888 "2022-07-29T15:42:32Z")

</div>

How to set index setting while creation using Elasticsearch v8 Java API client. I can able to set numberOfShards and numberOfReplicas using below syntax but could not able to set analysis due to confusing builder syntax. …

---

## [Java API Client compatibility mode](https://discuss.elastic.co/t/java-api-client-compatibility-mode/310994)

<div class="topic-metadata">

**Author:** [@sbrunot](https://discuss.elastic.co/u/sbrunot)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 2:35pm UTC](https://discuss.elastic.co/t/java-api-client-compatibility-mode/310994 "2022-07-29T14:35:49Z")

</div>

Hello, I have a question regarding the compatibility mode of the Java API Client version 7.17.3. Looking at the documentation section entitled "Elasticsearch server compatibility policy" (Introduction | Elasticsearch J…

---

## [Elasticsearch json logging @timestamp missing](https://discuss.elastic.co/t/elasticsearch-json-logging-timestamp-missing/310992)

<div class="topic-metadata">

**Author:** [@logger](https://discuss.elastic.co/u/logger)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 2:01pm UTC](https://discuss.elastic.co/t/elasticsearch-json-logging-timestamp-missing/310992 "2022-07-29T14:01:25Z")

</div>

Hello there, I have a problem with elasticsearch logging and the filebeat module. I collect the logs from elasticsearch with the filebeat module. For example the deprecation logs: - module: elasticsearch deprecatio…

---

## [Stop elasticsearch\_dsl from sending events to Elastic when server is down](https://discuss.elastic.co/t/stop-elasticsearch-dsl-from-sending-events-to-elastic-when-server-is-down/310977)

<div class="topic-metadata">

**Author:** [@Adso\_4](https://discuss.elastic.co/u/Adso_4)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 10:36am UTC](https://discuss.elastic.co/t/stop-elasticsearch-dsl-from-sending-events-to-elastic-when-server-is-down/310977 "2022-07-29T10:36:07Z")

</div>

We have a django web application that sends user data with elasticsearch\_dsl library to an APM server. Our Elastic Stack is mounted with docker-compose, with Kibana, Elasticsearch and APM nodes. For every user interacti…

---

## [The client is unable to verify that the server is Elasticsearch due to an unsuccessful product check call. Some functionality may not be compatible if the server is running an unsupported product](https://discuss.elastic.co/t/the-client-is-unable-to-verify-that-the-server-is-elasticsearch-due-to-an-unsuccessful-product-check-call-some-functionality-may-not-be-compatible-if-the-server-is-running-an-unsupported-product/310969)

<div class="topic-metadata">

**Author:** [@shashi1](https://discuss.elastic.co/u/shashi1)\
**Replies:** 10\
**Last updated:** [July 29, 2022, 1:09pm UTC](https://discuss.elastic.co/t/the-client-is-unable-to-verify-that-the-server-is-elasticsearch-due-to-an-unsuccessful-product-check-call-some-functionality-may-not-be-compatible-if-the-server-is-running-an-unsupported-product/310969 "2022-07-29T13:09:39Z")

</div>

Invalid NEST response built from a unsuccessful () low level call on POST: /client/az30268j/\_search?pretty=true&error\_trace=true&typed\_keys=true Audit trail of this API call: \[1\] ProductCheckOnStartup: Took: 00:00:00.7…

---

## [How do you bootstrap an elastic cluster for production with security enabled? The documentation feels unclear](https://discuss.elastic.co/t/how-do-you-bootstrap-an-elastic-cluster-for-production-with-security-enabled-the-documentation-feels-unclear/310915)

<div class="topic-metadata">

**Author:** [@Atharv\_Kirtikar](https://discuss.elastic.co/u/Atharv_Kirtikar)\
**Replies:** 2\
**Last updated:** [July 29, 2022, 1:02pm UTC](https://discuss.elastic.co/t/how-do-you-bootstrap-an-elastic-cluster-for-production-with-security-enabled-the-documentation-feels-unclear/310915 "2022-07-29T13:02:47Z")

</div>

I am trying to create a 3 node cluster for production. The documentation here implies that with security creating an enrolment token is the way to go. However it also recommends here that you should have at least three…

---

## [How to delete the indices older than 90 days](https://discuss.elastic.co/t/how-to-delete-the-indices-older-than-90-days/310974)

<div class="topic-metadata">

**Author:** [@praveen\_raju](https://discuss.elastic.co/u/praveen_raju)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 11:43am UTC](https://discuss.elastic.co/t/how-to-delete-the-indices-older-than-90-days/310974 "2022-07-29T11:43:10Z")

</div>

Hi, We are using Elasticsearch mostly for Observability. We have almost 1000 + VM' where we have deployed fleet agent to capture metrics. We would like to delete data if \> 90 days. Please be noted we are using standar…

---

## [Search for: elasticsearch right to enable](https://discuss.elastic.co/t/search-for-elasticsearch-right-to-enable/310958)

<div class="topic-metadata">

**Author:** [@smm](https://discuss.elastic.co/u/smm)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 8:31am UTC](https://discuss.elastic.co/t/search-for-elasticsearch-right-to-enable/310958 "2022-07-29T08:31:07Z")

</div>

Hi there, I have a simple question: I am admin for a central cluster mit multiple customers and would like to give the users in their space the rights not only to see the index they have (already by done giving the 'mon…

---

## [Unable to verify the first certificate](https://discuss.elastic.co/t/unable-to-verify-the-first-certificate/310955)

<div class="topic-metadata">

**Author:** [@AGiles102](https://discuss.elastic.co/u/AGiles102)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 8:12am UTC](https://discuss.elastic.co/t/unable-to-verify-the-first-certificate/310955 "2022-07-29T08:12:36Z")

</div>

Hi all, I hope you can help me with the below. We are using a third party to sign our certificate, and I have followed the guide below. Our infrastructure team have provided me with a P12 file, which seems to work f…

---

## [Rollover issue when upgrading from ES5.6 to 6.8](https://discuss.elastic.co/t/rollover-issue-when-upgrading-from-es5-6-to-6-8/310886)

<div class="topic-metadata">

**Author:** [@Teddy\_Santos](https://discuss.elastic.co/u/Teddy_Santos)\
**Replies:** 2\
**Last updated:** [July 29, 2022, 7:41am UTC](https://discuss.elastic.co/t/rollover-issue-when-upgrading-from-es5-6-to-6-8/310886 "2022-07-29T07:41:29Z")

</div>

I am receiving this issue below in ES6.8 when performing the same rollover function I have in ES5.6 { "error": { "root\_cause": \[ { "type": "remote\_transport\_exception", "reason": "\[TrekrMZ\]\[x.x.x.x:9300\]\[indices:ad…

---

## [How to check elasticsearch current version after login to linux ? How to upgrade it with new version?](https://discuss.elastic.co/t/how-to-check-elasticsearch-current-version-after-login-to-linux-how-to-upgrade-it-with-new-version/310865)

<div class="topic-metadata">

**Author:** [@jisha](https://discuss.elastic.co/u/jisha)\
**Replies:** 5\
**Last updated:** [July 29, 2022, 6:23am UTC](https://discuss.elastic.co/t/how-to-check-elasticsearch-current-version-after-login-to-linux-how-to-upgrade-it-with-new-version/310865 "2022-07-29T06:23:33Z")

</div>

Hi , I am new to elk in linux. How to check elasticsearch current version after login to linux ? I want to upgrade it with new version also .

---

## [Delta load in Elasticsearch](https://discuss.elastic.co/t/delta-load-in-elasticsearch/310947)

<div class="topic-metadata">

**Author:** [@madhanvs](https://discuss.elastic.co/u/madhanvs)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 6:14am UTC](https://discuss.elastic.co/t/delta-load-in-elasticsearch/310947 "2022-07-29T06:14:18Z")

</div>

Hi I have two Elasticsearch indexes say Index\_A and Index\_B. Index\_A gets daily updates and inserts. I need to do a delta loading on Index\_B based on the data in Index\_A on a weekly basis. For Docy\_Type =A, I should c…

---

## [How many number of aliases should be created on single index?](https://discuss.elastic.co/t/how-many-number-of-aliases-should-be-created-on-single-index/310868)

<div class="topic-metadata">

**Author:** [@Vaibhav\_Tandale](https://discuss.elastic.co/u/Vaibhav_Tandale)\
**Replies:** 8\
**Last updated:** [July 29, 2022, 4:33am UTC](https://discuss.elastic.co/t/how-many-number-of-aliases-should-be-created-on-single-index/310868 "2022-07-29T04:33:07Z")

</div>

how many number of aliases should be created on single index? is there any hard limit for number of aliases on index/cluster?

---

## [Restoring elasticsearch snapshot into another cluster on cloud](https://discuss.elastic.co/t/restoring-elasticsearch-snapshot-into-another-cluster-on-cloud/310872)

<div class="topic-metadata">

**Author:** [@somkhil](https://discuss.elastic.co/u/somkhil)\
**Replies:** 2\
**Last updated:** [July 29, 2022, 3:46am UTC](https://discuss.elastic.co/t/restoring-elasticsearch-snapshot-into-another-cluster-on-cloud/310872 "2022-07-29T03:46:13Z")

</div>

HI As part of the elasticsearch cloud migration, I have taken snapshot of current on-premise elasticsearch indices into cloud object storage (IBM COS). I need to restore this snapshot into completely new elasticsearch…

---

## [Elasticsearch API throwing ValueError in PROD, fine in DEV/QAT](https://discuss.elastic.co/t/elasticsearch-api-throwing-valueerror-in-prod-fine-in-dev-qat/310796)

<div class="topic-metadata">

**Author:** [@TravisCanCode604](https://discuss.elastic.co/u/TravisCanCode604)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 2:27am UTC](https://discuss.elastic.co/t/elasticsearch-api-throwing-valueerror-in-prod-fine-in-dev-qat/310796 "2022-07-29T02:27:06Z")

</div>

Hi there, I'm experiencing an issue with the Python packages elasticsearch and elastic\_transport in an OCP cluster. The code I'm using works in DEV and QAT environments but throws this error in PROD: Traceback (most re…

---

## [Used wait\_for\_completion=false but get 404 when trying to query task id](https://discuss.elastic.co/t/used-wait-for-completion-false-but-get-404-when-trying-to-query-task-id/310355)

<div class="topic-metadata">

**Author:** [@mdo1](https://discuss.elastic.co/u/mdo1)\
**Replies:** 4\
**Last updated:** [July 28, 2022, 11:31pm UTC](https://discuss.elastic.co/t/used-wait-for-completion-false-but-get-404-when-trying-to-query-task-id/310355 "2022-07-28T23:31:14Z")

</div>

I’m doing a reindex and have waitForCompletion: false (using Node.js Elasticsearch client). The response gives me a task id, but when I query the task id manually ( /\_tasks/\<task\_id\>) I get a 404: “type”: “resource\_not\_…

---

## [Elasticsearch installation issues](https://discuss.elastic.co/t/elasticsearch-installation-issues/310859)

<div class="topic-metadata">

**Author:** [@stewoens](https://discuss.elastic.co/u/stewoens)\
**Replies:** 1\
**Last updated:** [July 28, 2022, 11:15pm UTC](https://discuss.elastic.co/t/elasticsearch-installation-issues/310859 "2022-07-28T23:15:19Z")

</div>

Hi Everyone, I'm having some issues getting elasticsearch running on my windows laptop. I've tried using the guide Install Elasticsearch with .zip on Windows | Elasticsearch Guide \[master\] | Elastic but am getting an e…

---

## [Why is Elasticsearch so hungry for resources?](https://discuss.elastic.co/t/why-is-elasticsearch-so-hungry-for-resources/310891)

<div class="topic-metadata">

**Author:** [@JorgeCarousel](https://discuss.elastic.co/u/JorgeCarousel)\
**Replies:** 2\
**Last updated:** [July 28, 2022, 11:10pm UTC](https://discuss.elastic.co/t/why-is-elasticsearch-so-hungry-for-resources/310891 "2022-07-28T23:10:17Z")

</div>

Hey guys, I downloaded Elasticsearch to try it and it ate 33GB of memory from the start without anything in it yet, I believe it is because it is made in Java and that's what makes it so hungry for resources, have Elast…

---

## [ELASTIC SEARCH GRAFANA CONFIGURE](https://discuss.elastic.co/t/elastic-search-grafana-configure/310909)

<div class="topic-metadata">

**Author:** [@Vitoria\_De\_Lara](https://discuss.elastic.co/u/Vitoria_De_Lara)\
**Replies:** 1\
**Last updated:** [July 28, 2022, 11:08pm UTC](https://discuss.elastic.co/t/elastic-search-grafana-configure/310909 "2022-07-28T23:08:48Z")

</div>

how to connect a file in elasticsearch to send data to grafana?

---

## [Upgrade from 7.5 to 8.X, (APM Server)](https://discuss.elastic.co/t/upgrade-from-7-5-to-8-x-apm-server/310928)

<div class="topic-metadata">

**Author:** [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Replies:** 1\
**Last updated:** [July 28, 2022, 11:06pm UTC](https://discuss.elastic.co/t/upgrade-from-7-5-to-8-x-apm-server/310928 "2022-07-28T23:06:08Z")

</div>

Hi we have to upgrade elasticsearch from 7.5 to 8.X, the problem is that one of our clients uses APM and we dont have access to change the APM agents intalled on our clients machines, so we have to tell them what to do. …

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

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