# Elasticsearch

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

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

**Page:** 357

---

## [Cannot use own java version in ES 8](https://discuss.elastic.co/t/cannot-use-own-java-version-in-es-8/317007)

<div class="topic-metadata">

**Author:** [@surkovoleg2010](https://discuss.elastic.co/u/surkovoleg2010)\
**Replies:** 0\
**Last updated:** [October 19, 2022, 1:16pm UTC](https://discuss.elastic.co/t/cannot-use-own-java-version-in-es-8/317007 "2022-10-19T13:16:19Z")

</div>

Hello, I have ES version 8.1.2 and have env var for ES\_JAVA\_HOME But anyway, when I start ES with systemctl start elasticsearch.service it uses bundled jdk. I found a way how to start it with my own, using override.…

---

## [Convert 2 Node Cluster Into Single Node](https://discuss.elastic.co/t/convert-2-node-cluster-into-single-node/316555)

<div class="topic-metadata">

**Author:** [@rhailey](https://discuss.elastic.co/u/rhailey)\
**Replies:** 7\
**Last updated:** [October 19, 2022, 1:10pm UTC](https://discuss.elastic.co/t/convert-2-node-cluster-into-single-node/316555 "2022-10-19T13:10:27Z")

</div>

Hello - I'm currently using Elastic 7.11 (open/communitiy version) as the back-end storage for Graylog (also the open/community version). OS is Oracle Linux v8. I have 2 Graylog servers, clustered, in front of 2 Elast…

---

## [Is there a way to return true/false if documents exists for the given query?](https://discuss.elastic.co/t/is-there-a-way-to-return-true-false-if-documents-exists-for-the-given-query/316965)

<div class="topic-metadata">

**Author:** [@Hamza\_Khalid](https://discuss.elastic.co/u/Hamza_Khalid)\
**Replies:** 5\
**Last updated:** [October 19, 2022, 12:37pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-return-true-false-if-documents-exists-for-the-given-query/316965 "2022-10-19T12:37:47Z")

</div>

I have a query: GET users/\_search { "from": 0, "size": 20, "query": { "match\_all": {} } What i want to achieve is if the above query returns even a single document i get the response as true and if no document is r…

---

## [Connection refused with Python connection in Docker](https://discuss.elastic.co/t/connection-refused-with-python-connection-in-docker/316365)

<div class="topic-metadata">

**Author:** [@kgeographer](https://discuss.elastic.co/u/kgeographer)\
**Replies:** 1\
**Last updated:** [October 19, 2022, 11:40am UTC](https://discuss.elastic.co/t/connection-refused-with-python-connection-in-docker/316365 "2022-10-19T11:40:23Z")

</div>

Trying to install Elasticsearch and Kibana 8.4.3 Docker containers on a development laptop, and run elasticsearch-py commands from an app in another running container. And I'm stuck. I have the ES8 and Kibana containers…

---

## [Query "at least one not in given array"](https://discuss.elastic.co/t/query-at-least-one-not-in-given-array/316984)

<div class="topic-metadata">

**Author:** [@ltr31](https://discuss.elastic.co/u/ltr31)\
**Replies:** 1\
**Last updated:** [October 19, 2022, 11:20am UTC](https://discuss.elastic.co/t/query-at-least-one-not-in-given-array/316984 "2022-10-19T11:20:52Z")

</div>

Hello I have documents with let say positive terms and negative terms like { ... "mood" : \[ "happy", "excited", "furious" \], ... } Positive terms can be an infinite list of values, …

---

## [searchAsync is calling both OnResponse and onFailure](https://discuss.elastic.co/t/searchasync-is-calling-both-onresponse-and-onfailure/316981)

<div class="topic-metadata">

**Author:** [@jjc](https://discuss.elastic.co/u/jjc)\
**Replies:** 0\
**Last updated:** [October 19, 2022, 10:06am UTC](https://discuss.elastic.co/t/searchasync-is-calling-both-onresponse-and-onfailure/316981 "2022-10-19T10:06:15Z")

</div>

Hi, i've got a little problem. im running an async search that first returns calls OnResponse with the desired result then immediately calls onFailure. The index i'm querying contains exactly one single row. Please i…

---

## [ERROR: no\_shard\_available\_action\_exception](https://discuss.elastic.co/t/error-no-shard-available-action-exception/316950)

<div class="topic-metadata">

**Author:** [@hjsroldan](https://discuss.elastic.co/u/hjsroldan)\
**Replies:** 11\
**Last updated:** [October 19, 2022, 8:44am UTC](https://discuss.elastic.co/t/error-no-shard-available-action-exception/316950 "2022-10-19T08:44:42Z")

</div>

Hi, Does someone know how to fix this issue "no\_shard\_available\_action\_exception". Encountered this error after I restore my cluster, index was restored but the documents was not restored. Kindly see the error below: '…

---

## [Problem in multi match search](https://discuss.elastic.co/t/problem-in-multi-match-search/316963)

<div class="topic-metadata">

**Author:** [@Fakeknox](https://discuss.elastic.co/u/Fakeknox)\
**Replies:** 0\
**Last updated:** [October 19, 2022, 7:47am UTC](https://discuss.elastic.co/t/problem-in-multi-match-search/316963 "2022-10-19T07:47:13Z")

</div>

hello i have 6 different field that i want to search in all of them . im using edge gram analyzer for search and using multi match query and text come from front. my sample code is : esClient.search({ index…

---

## [Connecting and fetching elasticsearch from react Js](https://discuss.elastic.co/t/connecting-and-fetching-elasticsearch-from-react-js/316955)

<div class="topic-metadata">

**Author:** [@pravu](https://discuss.elastic.co/u/pravu)\
**Replies:** 5\
**Last updated:** [October 19, 2022, 7:44am UTC](https://discuss.elastic.co/t/connecting-and-fetching-elasticsearch-from-react-js/316955 "2022-10-19T07:44:54Z")

</div>

Hello, Would it be possible or is there any library available in javascript to connect and fetch data from elasticsearch index by providing json as input which elasticserver understand. regards,

---

## [Deploying in tomcat : React JS app with elasticsearch backend](https://discuss.elastic.co/t/deploying-in-tomcat-react-js-app-with-elasticsearch-backend/316956)

<div class="topic-metadata">

**Author:** [@pravu](https://discuss.elastic.co/u/pravu)\
**Replies:** 1\
**Last updated:** [October 19, 2022, 7:44am UTC](https://discuss.elastic.co/t/deploying-in-tomcat-react-js-app-with-elasticsearch-backend/316956 "2022-10-19T07:44:12Z")

</div>

what are the approaches to create a react js application with elasticsearch as backend. Can this application be deployed in Tomcat server. Thanks and Regards,

---

## [Index Lifecycle Management - closing indices](https://discuss.elastic.co/t/index-lifecycle-management-closing-indices/316757)

<div class="topic-metadata">

**Author:** [@mikewillis](https://discuss.elastic.co/u/mikewillis)\
**Replies:** 4\
**Last updated:** [October 19, 2022, 7:10am UTC](https://discuss.elastic.co/t/index-lifecycle-management-closing-indices/316757 "2022-10-19T07:10:07Z")

</div>

Have I failed to find the relevant part of the documentation for Elasticsearch 7.17 and 8.4, or is it the case that Index Lifecycle Management does not provide a way to close indices? (And if it really doesn't provide a …

---

## [How much data in GB is being ingested daily in our Elastic Cloud?](https://discuss.elastic.co/t/how-much-data-in-gb-is-being-ingested-daily-in-our-elastic-cloud/316905)

<div class="topic-metadata">

**Author:** [@dabo](https://discuss.elastic.co/u/dabo)\
**Replies:** 2\
**Last updated:** [October 19, 2022, 5:24am UTC](https://discuss.elastic.co/t/how-much-data-in-gb-is-being-ingested-daily-in-our-elastic-cloud/316905 "2022-10-19T05:24:58Z")

</div>

Hello, Where to see how much data in GB is being ingested daily to our Hot nodes in our Elastic Cloud solution? Kind regards, Dane

---

## [Cannot restore index \[.ds-.logs-deprecation.elasticsearch-default](https://discuss.elastic.co/t/cannot-restore-index-ds-logs-deprecation-elasticsearch-default/316856)

<div class="topic-metadata">

**Author:** [@hjsroldan](https://discuss.elastic.co/u/hjsroldan)\
**Replies:** 4\
**Last updated:** [October 19, 2022, 5:21am UTC](https://discuss.elastic.co/t/cannot-restore-index-ds-logs-deprecation-elasticsearch-default/316856 "2022-10-19T05:21:33Z")

</div>

Hi, Does someone know if .ds-.logs-deprecation.elasticsearch-default index can be deleted or can it be disabled on the configuration? I'm encountering the error below while restoring my cluster. {"error":{"root\_cause":…

---

## [Hello Community,](https://discuss.elastic.co/t/hello-community/316949)

<div class="topic-metadata">

**Author:** [@Chirag\_Gupta](https://discuss.elastic.co/u/Chirag_Gupta)\
**Replies:** 0\
**Last updated:** [October 19, 2022, 5:07am UTC](https://discuss.elastic.co/t/hello-community/316949 "2022-10-19T05:07:51Z")

</div>

Can we index the postgrec table with data as an index to elasti -search via a java client? If yes please help me out. As most of the tutorials only index some data(hard-coded) from java programme to elastic-search.

---

## [Delete Phase Not Actioned](https://discuss.elastic.co/t/delete-phase-not-actioned/316726)

<div class="topic-metadata">

**Author:** [@waleedkh](https://discuss.elastic.co/u/waleedkh)\
**Replies:** 3\
**Last updated:** [October 19, 2022, 4:46am UTC](https://discuss.elastic.co/t/delete-phase-not-actioned/316726 "2022-10-19T04:46:38Z")

</div>

Hi there, I have an ILM configured with the following settings PUT \_ilm/policy/cwl-abc-policy { "policy": { "phases": { "hot": { "min\_age": "0ms", "actions": { "rollover": { …

---

## [Restoring watchers](https://discuss.elastic.co/t/restoring-watchers/316391)

<div class="topic-metadata">

**Author:** [@Harper\_S1](https://discuss.elastic.co/u/Harper_S1)\
**Replies:** 2\
**Last updated:** [October 19, 2022, 4:30am UTC](https://discuss.elastic.co/t/restoring-watchers/316391 "2022-10-19T04:30:11Z")

</div>

Hi Everyone, I am trying to restore the watcher snapshot from ELK 7.10 version to 8.2 but it showing the following error. after this issue, I tried to setup 7.1 cluster to reindex these watchers but when I tried to …

---

## [Fatal exception while booting Elasticsearch](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/316884)

<div class="topic-metadata">

**Author:** [@Abhi\_Abhishek](https://discuss.elastic.co/u/Abhi_Abhishek)\
**Replies:** 3\
**Last updated:** [October 19, 2022, 3:59am UTC](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/316884 "2022-10-19T03:59:49Z")

</div>

Hello, While I am trying to upgrade from 8.3.2 to 8.4.1 Its upgrading the Elasticsearch but the service is not running. \[2022-10-18T11:15:37,060\]\[ERROR\]\[o.e.b.Elasticsearch \] \[vm0dnelkdma0003.corp.chartercom.com\] …

---

## [How to configure ILM options such as Hot-Warm-Cold configuration and data limits to each phase with the Helm chart?](https://discuss.elastic.co/t/how-to-configure-ilm-options-such-as-hot-warm-cold-configuration-and-data-limits-to-each-phase-with-the-helm-chart/316872)

<div class="topic-metadata">

**Author:** [@Sankar\_S](https://discuss.elastic.co/u/Sankar_S)\
**Replies:** 0\
**Last updated:** [October 18, 2022, 9:48am UTC](https://discuss.elastic.co/t/how-to-configure-ilm-options-such-as-hot-warm-cold-configuration-and-data-limits-to-each-phase-with-the-helm-chart/316872 "2022-10-18T09:48:33Z")

</div>

how to configure ILM options such as Hot-Warm-Cold configuration and data limits to each phase with the Helm chart ?

---

## [Docker error during 3-node cluster running](https://discuss.elastic.co/t/docker-error-during-3-node-cluster-running/315304)

<div class="topic-metadata">

**Author:** [@tifty](https://discuss.elastic.co/u/tifty)\
**Replies:** 3\
**Last updated:** [October 19, 2022, 1:24am UTC](https://discuss.elastic.co/t/docker-error-during-3-node-cluster-running/315304 "2022-10-19T01:24:03Z")

</div>

Hi everyone, I am trying to run a 3-node cluster on my local machine. Although it doesn't happen with every run but at times I am getting the "Error response from daemon: i/o timeout" error in one of the nodes randomly a…

---

## [X509: certificate signed by unknown authority](https://discuss.elastic.co/t/x509-certificate-signed-by-unknown-authority/316904)

<div class="topic-metadata">

**Author:** [@EExisT](https://discuss.elastic.co/u/EExisT)\
**Replies:** 2\
**Last updated:** [October 18, 2022, 10:53pm UTC](https://discuss.elastic.co/t/x509-certificate-signed-by-unknown-authority/316904 "2022-10-18T22:53:56Z")

</div>

Hello, I have an SSL connection between a Windows machine with Winlogbeat and Metricbeat and an Ubuntu machine with ES and Kibana on it. The beat's .ymls file are the same, with same configuration. With the elasticsea…

---

## [New to Elastic Community](https://discuss.elastic.co/t/new-to-elastic-community/315025)

<div class="topic-metadata">

**Author:** [@tifty](https://discuss.elastic.co/u/tifty)\
**Replies:** 2\
**Last updated:** [October 18, 2022, 8:17pm UTC](https://discuss.elastic.co/t/new-to-elastic-community/315025 "2022-10-18T20:17:32Z")

</div>

Hi everyone, I am very new to using elastic stack and docker. I am using elasticsearch built by docker-compose, and currently, I am just practicing on my local machine how to make any deployment production ready. It will…

---

## [Wildcard suffix for indicies, aggregate for each index](https://discuss.elastic.co/t/wildcard-suffix-for-indicies-aggregate-for-each-index/316779)

<div class="topic-metadata">

**Author:** [@daekblad](https://discuss.elastic.co/u/daekblad)\
**Replies:** 1\
**Last updated:** [October 18, 2022, 7:29pm UTC](https://discuss.elastic.co/t/wildcard-suffix-for-indicies-aggregate-for-each-index/316779 "2022-10-18T19:29:00Z")

</div>

Hi, I have this watcher that checks for errors and sends an e-mail if any error is found. It's setup so that it checks a wildcard index patterns ("services-\*"). There are too many services so a wildcard is a must since …

---

## [How to enable size-mapper plugin / \_size field via RestHighLevelClient](https://discuss.elastic.co/t/how-to-enable-size-mapper-plugin-size-field-via-resthighlevelclient/314501)

<div class="topic-metadata">

**Author:** [@rowi1de](https://discuss.elastic.co/u/rowi1de)\
**Replies:** 19\
**Last updated:** [October 18, 2022, 7:19pm UTC](https://discuss.elastic.co/t/how-to-enable-size-mapper-plugin-size-field-via-resthighlevelclient/314501 "2022-10-18T19:19:38Z")

</div>

Hey Folks, I'm trying to add the \_size field to an existing index via RestHighLevelClient and failing to see there I could put the following "mappings": { "\_size": { "enabled": true } } the Dev Tools…

---

## [There are no transform nodes available](https://discuss.elastic.co/t/there-are-no-transform-nodes-available/316889)

<div class="topic-metadata">

**Author:** [@Kosala\_Randika\_Paran](https://discuss.elastic.co/u/Kosala_Randika_Paran)\
**Replies:** 4\
**Last updated:** [October 18, 2022, 5:26pm UTC](https://discuss.elastic.co/t/there-are-no-transform-nodes-available/316889 "2022-10-18T17:26:38Z")

</div>

Hi, I am configuring enroll an agent with endpoint and cloud security module and while it doing I'm getting error "Required transform failed" and "A required transform, endpoint.metadata\_current-default-8.4.1, endpoint.…

---

## [ILM shrink adds random uuid but no aliases created](https://discuss.elastic.co/t/ilm-shrink-adds-random-uuid-but-no-aliases-created/316457)

<div class="topic-metadata">

**Author:** [@danksim](https://discuss.elastic.co/u/danksim)\
**Replies:** 3\
**Last updated:** [October 18, 2022, 3:35pm UTC](https://discuss.elastic.co/t/ilm-shrink-adds-random-uuid-but-no-aliases-created/316457 "2022-10-18T15:35:36Z")

</div>

elasticsearch version 7.17 since upgrading from 7.6.2. to 7.17.x, i noticed ilm adds a random uuid to the shrunk index name. looks like this feature was added in 7.13 (see here). my ilm policy was set up again right af…

---

## [Sending Data to elasticsearch](https://discuss.elastic.co/t/sending-data-to-elasticsearch/316911)

<div class="topic-metadata">

**Author:** [@VitorBarroso](https://discuss.elastic.co/u/VitorBarroso)\
**Replies:** 0\
**Last updated:** [October 18, 2022, 3:11pm UTC](https://discuss.elastic.co/t/sending-data-to-elasticsearch/316911 "2022-10-18T15:11:26Z")

</div>

Hello, When i try to connect to my elasticsearch, i have this problem. If i dont use ca\_certs, its ok but i have the warnings because i dont use the ssl, but when i use the ssl, i have this error( elastic\_transport.Tl…

---

## [No data log in Discover section](https://discuss.elastic.co/t/no-data-log-in-discover-section/316775)

<div class="topic-metadata">

**Author:** [@EExisT](https://discuss.elastic.co/u/EExisT)\
**Replies:** 1\
**Last updated:** [October 18, 2022, 2:29pm UTC](https://discuss.elastic.co/t/no-data-log-in-discover-section/316775 "2022-10-18T14:29:46Z")

</div>

Hi, I'm sending Winlogbeat events form a Windows VM to an Ubuntu VM, where are running both ES than Kibana. The VM's are on the same subnet and I can access the https Kibana GUI from both VM's. If I go to "Stack Manag…

---

## [ElasticSearch snapshots are not visisble](https://discuss.elastic.co/t/elasticsearch-snapshots-are-not-visisble/316808)

<div class="topic-metadata">

**Author:** [@not\_correct](https://discuss.elastic.co/u/not_correct)\
**Replies:** 7\
**Last updated:** [October 18, 2022, 2:12pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshots-are-not-visisble/316808 "2022-10-18T14:12:39Z")

</div>

Hi, I have Elasticsearch cluster running and s3 bucket that contains snapshot files to this cluster. However, when I first listed \_snapshot/\_all no repository, and/or snapshots were found. I added the repository using t…

---

## [Unable to create snapshot repo in azure](https://discuss.elastic.co/t/unable-to-create-snapshot-repo-in-azure/316804)

<div class="topic-metadata">

**Author:** [@jaykb77](https://discuss.elastic.co/u/jaykb77)\
**Replies:** 5\
**Last updated:** [October 18, 2022, 1:33pm UTC](https://discuss.elastic.co/t/unable-to-create-snapshot-repo-in-azure/316804 "2022-10-18T13:33:58Z")

</div>

Im trying to register an azure blob as snapshot repository. I have already tested this with elasticsearch 7.17 on test VMs outside my firm but it is failing when Im trying the same steps inside the firm. My first impre…

---

## [How come recoveries for a given shard with EMPTY\_STORE is not showing but the index has data?](https://discuss.elastic.co/t/how-come-recoveries-for-a-given-shard-with-empty-store-is-not-showing-but-the-index-has-data/316894)

<div class="topic-metadata">

**Author:** [@jmlucjav](https://discuss.elastic.co/u/jmlucjav)\
**Replies:** 0\
**Last updated:** [October 18, 2022, 1:08pm UTC](https://discuss.elastic.co/t/how-come-recoveries-for-a-given-shard-with-empty-store-is-not-showing-but-the-index-has-data/316894 "2022-10-18T13:08:39Z")

</div>

I have an index in red state. It has some docs, so at some point it was in yellow or green..But if I run GET/indexA/\_recovery I get entries for shards 0 and 2, but shard 1 is not showing up at all, does it mean it was …

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

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