# Elasticsearch

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

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

**Page:** 247

---

## [How to add \_size mapping to index template in elasticsearch?](https://discuss.elastic.co/t/how-to-add-size-mapping-to-index-template-in-elasticsearch/335432)

<div class="topic-metadata">

**Author:** [@Amirhossein\_eidy](https://discuss.elastic.co/u/Amirhossein_eidy)\
**Replies:** 6\
**Last updated:** [June 11, 2023, 6:54am UTC](https://discuss.elastic.co/t/how-to-add-size-mapping-to-index-template-in-elasticsearch/335432 "2023-06-11T06:54:38Z")

</div>

Hi friends I have installed size mapping plugin and I added it to Kibana meta fields too I could successfully enable "\_size" in Elasticsearch via bellow command and see the result in kibana PUT logstash-2023-06-06 { …

---

## [What are the benefits of using sync reindexing API instead of async reindexing API?](https://discuss.elastic.co/t/what-are-the-benefits-of-using-sync-reindexing-api-instead-of-async-reindexing-api/335712)

<div class="topic-metadata">

**Author:** [@sanskarfc](https://discuss.elastic.co/u/sanskarfc)\
**Replies:** 0\
**Last updated:** [June 11, 2023, 6:22am UTC](https://discuss.elastic.co/t/what-are-the-benefits-of-using-sync-reindexing-api-instead-of-async-reindexing-api/335712 "2023-06-11T06:22:04Z")

</div>

What are the benefits of using sync reindexing API instead of async reindexing API? If the size of the documents is in multiple GBs, it looks like it is always better to use async API instead of sync API :thinking:

---

## [Convert 2 nodes with roles \[data\] to \[data\_hot, data\_content\] and \[warm\]](https://discuss.elastic.co/t/convert-2-nodes-with-roles-data-to-data-hot-data-content-and-warm/335685)

<div class="topic-metadata">

**Author:** [@kaismax](https://discuss.elastic.co/u/kaismax)\
**Replies:** 1\
**Last updated:** [June 11, 2023, 2:51am UTC](https://discuss.elastic.co/t/convert-2-nodes-with-roles-data-to-data-hot-data-content-and-warm/335685 "2023-06-11T02:51:26Z")

</div>

Salut, Elastic Fulks My production cluster is set up as follows: 1 master node two data nodes \[data\] 1 coordinator I want to convert the 2 data nodes to first one to \[data\_content,data\_hot\]. second one to \[data\_war…

---

## [Price of Entreprise license on prem](https://discuss.elastic.co/t/price-of-entreprise-license-on-prem/335532)

<div class="topic-metadata">

**Author:** [@kaismax](https://discuss.elastic.co/u/kaismax)\
**Replies:** 6\
**Last updated:** [June 10, 2023, 2:11pm UTC](https://discuss.elastic.co/t/price-of-entreprise-license-on-prem/335532 "2023-06-10T14:11:16Z")

</div>

I want to use the searchable snapshot capability in my on-premises 7.17.9 cluster; what is the cost of the enterprise license?

---

## [ApiError(406, 'Content-Type header \[application/vnd.elasticsearch+json; compatible-with=8\] is not supported',](https://discuss.elastic.co/t/apierror-406-content-type-header-application-vnd-elasticsearch-json-compatible-with-8-is-not-supported/334579)

<div class="topic-metadata">

**Author:** [@Anand\_Konagala](https://discuss.elastic.co/u/Anand_Konagala)\
**Replies:** 8\
**Last updated:** [June 10, 2023, 1:11pm UTC](https://discuss.elastic.co/t/apierror-406-content-type-header-application-vnd-elasticsearch-json-compatible-with-8-is-not-supported/334579 "2023-06-10T13:11:23Z")

</div>

Hii.. ApiError(406, 'Content-Type header \[application/vnd.elasticsearch+json; compatible-with=8\] is not supported', 'Content-Type header \[application/vnd.elasticsearch+json; compatible-with=8\] is not supported') When I…

---

## [Elasticsearch is not starting on windows with installer](https://discuss.elastic.co/t/elasticsearch-is-not-starting-on-windows-with-installer/335675)

<div class="topic-metadata">

**Author:** [@Nilesh\_Brahmkshatriy](https://discuss.elastic.co/u/Nilesh_Brahmkshatriy)\
**Replies:** 2\
**Last updated:** [June 10, 2023, 10:38am UTC](https://discuss.elastic.co/t/elasticsearch-is-not-starting-on-windows-with-installer/335675 "2023-06-10T10:38:43Z")

</div>

We have installed the elasticsearch version 7.0.1 in windows 11 but not starting the service. Can you please help us to solve the issue?

---

## [Elasticsearch in RKE in running status but not active](https://discuss.elastic.co/t/elasticsearch-in-rke-in-running-status-but-not-active/335655)

<div class="topic-metadata">

**Author:** [@Mhvrke](https://discuss.elastic.co/u/Mhvrke)\
**Replies:** 10\
**Last updated:** [June 10, 2023, 6:10am UTC](https://discuss.elastic.co/t/elasticsearch-in-rke-in-running-status-but-not-active/335655 "2023-06-10T06:10:38Z")

</div>

Hi! I need help with the following escenario: I’m running Elasticsearch in cluster mode in 3 worker nodes in RKE. Suddenly stopped from working and Kibana went down as Elasticsearch presents 503 error service unavailable…

---

## [Setting multinode elk cluster](https://discuss.elastic.co/t/setting-multinode-elk-cluster/335165)

<div class="topic-metadata">

**Author:** [@rajeshri](https://discuss.elastic.co/u/rajeshri)\
**Replies:** 2\
**Last updated:** [June 10, 2023, 6:05am UTC](https://discuss.elastic.co/t/setting-multinode-elk-cluster/335165 "2023-06-10T06:05:25Z")

</div>

cluster.name: my-cluster node.name: master-1 path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch network.host: 172.31.82.55 http.port: 9200 discovery.seed\_hosts: \["172.31.82.55", "172.31.86.217"\] c…

---

## [How to add \_size mapping to index legacy template in elasticsearch?](https://discuss.elastic.co/t/how-to-add-size-mapping-to-index-legacy-template-in-elasticsearch/335672)

<div class="topic-metadata">

**Author:** [@Amirhossein\_eidy](https://discuss.elastic.co/u/Amirhossein_eidy)\
**Replies:** 1\
**Last updated:** [June 10, 2023, 5:16am UTC](https://discuss.elastic.co/t/how-to-add-size-mapping-to-index-legacy-template-in-elasticsearch/335672 "2023-06-10T05:16:38Z")

</div>

Hi friends I have installed size mapping plugin and I added it to Kibana meta fields too I could successfully enable "\_size" in Elasticsearch via bellow command and see the result in kibana PUT logstash-2023-06-06 { …

---

## [Read segments directly from the snapshot](https://discuss.elastic.co/t/read-segments-directly-from-the-snapshot/335122)

<div class="topic-metadata">

**Author:** [@Ariel\_Zach](https://discuss.elastic.co/u/Ariel_Zach)\
**Replies:** 10\
**Last updated:** [June 9, 2023, 10:46pm UTC](https://discuss.elastic.co/t/read-segments-directly-from-the-snapshot/335122 "2023-06-09T22:46:00Z")

</div>

Hello, I'm trying to read Lucene files (segments) directly from the files generated in the snapshot, but I'm encountering errors. Could you guide me on how to do it? Thank you.

---

## [ElasticSearch returns "index not found error" for an index that exists](https://discuss.elastic.co/t/elasticsearch-returns-index-not-found-error-for-an-index-that-exists/335658)

<div class="topic-metadata">

**Author:** [@RA31](https://discuss.elastic.co/u/RA31)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 9:08pm UTC](https://discuss.elastic.co/t/elasticsearch-returns-index-not-found-error-for-an-index-that-exists/335658 "2023-06-09T21:08:53Z")

</div>

I have an index pattern "barney", which shows on Kibana Management screen and on Discover. But when I hit the \_cat/indices API, it does not show the index pattern in the list of indices returned. When triggering barney/…

---

## [Use of PHP overloads](https://discuss.elastic.co/t/use-of-php-overloads/335653)

<div class="topic-metadata">

**Author:** [@Marcelo\_Saldanha](https://discuss.elastic.co/u/Marcelo_Saldanha)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 6:59pm UTC](https://discuss.elastic.co/t/use-of-php-overloads/335653 "2023-06-09T18:59:07Z")

</div>

Could you help me? Since the 06/01 I have my website being crashed by PHP load, and generates the following errors: Elasticsearch\\Common\\Exceptions\\Missing404Exception: {"error":{"root\_cause":\[{"type":"illegal\_argume…

---

## [ElasticsearchClient API says Name does not resolve](https://discuss.elastic.co/t/elasticsearchclient-api-says-name-does-not-resolve/335572)

<div class="topic-metadata">

**Author:** [@silentfilm](https://discuss.elastic.co/u/silentfilm)\
**Replies:** 7\
**Last updated:** [June 9, 2023, 4:47pm UTC](https://discuss.elastic.co/t/elasticsearchclient-api-says-name-does-not-resolve/335572 "2023-06-09T16:47:56Z")

</div>

I am converting my existing Java code to the new Elastic Java API. My system is ES 7.17.9. When I send a query, I get the following error: 2023-06-08 20:58:00.918Z ERROR \[ForkJoinPool.commonPool-worker-9\] c.n.b.a.h.c.El…

---

## [Issue with Range query using hour\_minute format](https://discuss.elastic.co/t/issue-with-range-query-using-hour-minute-format/335567)

<div class="topic-metadata">

**Author:** [@Daniel\_Scott](https://discuss.elastic.co/u/Daniel_Scott)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 3:33pm UTC](https://discuss.elastic.co/t/issue-with-range-query-using-hour-minute-format/335567 "2023-06-09T15:33:52Z")

</div>

I'm having issue using the range query with the various time formats. Here is my query in question: { "\_source": \["created\_on"\], "fields": \[{ "field": "created\_on", "format": "hour\_minute" }\], "query": { "rang…

---

## [Elasticsearch GCS snapshots RepositoryException](https://discuss.elastic.co/t/elasticsearch-gcs-snapshots-repositoryexception/335336)

<div class="topic-metadata">

**Author:** [@navaneethan](https://discuss.elastic.co/u/navaneethan)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 2:46pm UTC](https://discuss.elastic.co/t/elasticsearch-gcs-snapshots-repositoryexception/335336 "2023-06-09T14:46:32Z")

</div>

Hi Team, We are suddenly facing the snapshot exception in GCS with \[2023-06-05T11:40:34,219\]\[WARN \]\[r.suppressed \] \[###\] path: /\_snapshot/e#-repo/###\_gcs\_ss\_2023-06-05-1130, params: {pretty=true, repositor…

---

## [Does "filebeat setup -e" need to be run every time I enable a module, or only once for all modules?](https://discuss.elastic.co/t/does-filebeat-setup-e-need-to-be-run-every-time-i-enable-a-module-or-only-once-for-all-modules/335557)

<div class="topic-metadata">

**Author:** [@andrew.klaassen](https://discuss.elastic.co/u/andrew.klaassen)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 2:25pm UTC](https://discuss.elastic.co/t/does-filebeat-setup-e-need-to-be-run-every-time-i-enable-a-module-or-only-once-for-all-modules/335557 "2023-06-09T14:25:22Z")

</div>

So far I've been running "filebeat setup -e" every time I enable a new filebeat module. However, looking at its output, it seems to be setting stuff up for all of my modules, even the disabled ones. Do I need to run "f…

---

## [Plugin in Elasticsearch to find the term Dictionary](https://discuss.elastic.co/t/plugin-in-elasticsearch-to-find-the-term-dictionary/335630)

<div class="topic-metadata">

**Author:** [@Atomic\_Structure](https://discuss.elastic.co/u/Atomic_Structure)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 11:47am UTC](https://discuss.elastic.co/t/plugin-in-elasticsearch-to-find-the-term-dictionary/335630 "2023-06-09T11:47:53Z")

</div>

I am writing a plugin to find the term dictionary. It creates a new REST endpoint. I am not able to get leafreader, any idea how could I proceed. By getting the leafreader I could directly use it to get terms.

---

## [About elastic full seach text score](https://discuss.elastic.co/t/about-elastic-full-seach-text-score/335598)

<div class="topic-metadata">

**Author:** [@GithubRyze](https://discuss.elastic.co/u/GithubRyze)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 10:39am UTC](https://discuss.elastic.co/t/about-elastic-full-seach-text-score/335598 "2023-06-09T10:39:03Z")

</div>

We have 4 docs in Elastictsearch index. the docs content as below: 1. { “content”: "elastic a good engine"} 2. { “content”: "elastic a nice password"} 3. { “content”: "elastic password is 12344fe"} 4. { “content…

---

## [How to limit logs ingestion into Elastic?](https://discuss.elastic.co/t/how-to-limit-logs-ingestion-into-elastic/335527)

<div class="topic-metadata">

**Author:** [@irshadalam](https://discuss.elastic.co/u/irshadalam)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 9:40am UTC](https://discuss.elastic.co/t/how-to-limit-logs-ingestion-into-elastic/335527 "2023-06-09T09:40:55Z")

</div>

How to limit logs ingestion into Elastic ?

---

## [What can go wrong in ES cluster without replicas](https://discuss.elastic.co/t/what-can-go-wrong-in-es-cluster-without-replicas/335595)

<div class="topic-metadata">

**Author:** [@Don\_Boscow](https://discuss.elastic.co/u/Don_Boscow)\
**Replies:** 6\
**Last updated:** [June 9, 2023, 9:19am UTC](https://discuss.elastic.co/t/what-can-go-wrong-in-es-cluster-without-replicas/335595 "2023-06-09T09:19:03Z")

</div>

Hi, the typical paradigm in ES is that sharding involves replica nodes, which serve two main purposes - act as a backup, so that in case one shard or one node is down, its replica continues to provide the same data until…

---

## [Single Elasticsearch node abruptly ran out of disk space (possibly due to a giant temp file)](https://discuss.elastic.co/t/single-elasticsearch-node-abruptly-ran-out-of-disk-space-possibly-due-to-a-giant-temp-file/335515)

<div class="topic-metadata">

**Author:** [@username11](https://discuss.elastic.co/u/username11)\
**Replies:** 5\
**Last updated:** [June 9, 2023, 6:21am UTC](https://discuss.elastic.co/t/single-elasticsearch-node-abruptly-ran-out-of-disk-space-possibly-due-to-a-giant-temp-file/335515 "2023-06-09T06:21:30Z")

</div>

Hi. I have recently observed that one of our Elasticsearch nodes ran out of disk space and fell out of the cluster. Upon investigating it, I found several things that are very, very weird about this situation: I haven'…

---

## [Elasticsearch user dictionary space include](https://discuss.elastic.co/t/elasticsearch-user-dictionary-space-include/335588)

<div class="topic-metadata">

**Author:** [@dms6978](https://discuss.elastic.co/u/dms6978)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 6:07am UTC](https://discuss.elastic.co/t/elasticsearch-user-dictionary-space-include/335588 "2023-06-09T06:07:15Z")

</div>

Hello. I have problem with Nori user dictionary. I want to register words that include space, but it's not working. I tried to register in the dictionary by including words in double quotes or even in small quotes, but…

---

## [Minimum Permission to run ElasticSearch as windows service](https://discuss.elastic.co/t/minimum-permission-to-run-elasticsearch-as-windows-service/335581)

<div class="topic-metadata">

**Author:** [@mochammad.yusup](https://discuss.elastic.co/u/mochammad.yusup)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 1:09am UTC](https://discuss.elastic.co/t/minimum-permission-to-run-elasticsearch-as-windows-service/335581 "2023-06-09T01:09:50Z")

</div>

Hi, I would like to know what's the minimum permission of an account that is used to run Elasticsearch Windows Service. My client actually asked this question and I don't know the answer as there's nothing in the docume…

---

## [Heap usage holds steady at max and GC does not run. Need to force restart the cluster](https://discuss.elastic.co/t/heap-usage-holds-steady-at-max-and-gc-does-not-run-need-to-force-restart-the-cluster/335176)

<div class="topic-metadata">

**Author:** [@Jorge\_Eguiguren](https://discuss.elastic.co/u/Jorge_Eguiguren)\
**Replies:** 4\
**Last updated:** [June 8, 2023, 11:53pm UTC](https://discuss.elastic.co/t/heap-usage-holds-steady-at-max-and-gc-does-not-run-need-to-force-restart-the-cluster/335176 "2023-06-08T23:53:39Z")

</div>

Cluster configuration: 3 Nodes GET \_nodes/\_all/jvm Elasticsearch version: 7.10.1 Java version: 15.0.1 gc\_collectors: \[ "G1 Young Generation", "G1 Old Generation"\] heap\_max\_in\_bytes: 30064771072 (30 GB) Circuit bre…

---

## [Failed to flush export bulks, Caused by: 413 Request Entity Too Large](https://discuss.elastic.co/t/failed-to-flush-export-bulks-caused-by-413-request-entity-too-large/335272)

<div class="topic-metadata">

**Author:** [@vikasp](https://discuss.elastic.co/u/vikasp)\
**Replies:** 3\
**Last updated:** [June 8, 2023, 10:26pm UTC](https://discuss.elastic.co/t/failed-to-flush-export-bulks-caused-by-413-request-entity-too-large/335272 "2023-06-08T22:26:28Z")

</div>

I have elasticsearch monitoring enabled via setting: xpack.monitoring.collection.enabled: true, and logstash and kibana, or any other beats sends their monitoring data to the elastic cluster which forwards/exports all t…

---

## [ELSER - Elastic Learned Sparse EncodeR model is unable using Trial License](https://discuss.elastic.co/t/elser-elastic-learned-sparse-encoder-model-is-unable-using-trial-license/334643)

<div class="topic-metadata">

**Author:** [@Rahul\_Agarwal1](https://discuss.elastic.co/u/Rahul_Agarwal1)\
**Replies:** 8\
**Last updated:** [June 8, 2023, 7:21pm UTC](https://discuss.elastic.co/t/elser-elastic-learned-sparse-encoder-model-is-unable-using-trial-license/334643 "2023-06-08T19:21:18Z")

</div>

I want to play with the new ELSER model released by Elasticsearch in new release 8.8. I tried installing Elasticsearch 8.8 in my local system and tried with the trial license but the model is not available under: Stack M…

---

## [Active-Active Cross Cluster Replication](https://discuss.elastic.co/t/active-active-cross-cluster-replication/335562)

<div class="topic-metadata">

**Author:** [@vmummadi](https://discuss.elastic.co/u/vmummadi)\
**Replies:** 0\
**Last updated:** [June 8, 2023, 5:30pm UTC](https://discuss.elastic.co/t/active-active-cross-cluster-replication/335562 "2023-06-08T17:30:21Z")

</div>

Hi, We have 2 Elasticsearch clusters that has been deployed on 2 different regions in an active-standby mode. The CCR has been enabled on one another so that any index that gets created on leader is replicated on the fo…

---

## [Can someone guide me where can I find prometheus exporter for Elasticsearch version 7.17.10](https://discuss.elastic.co/t/can-someone-guide-me-where-can-i-find-prometheus-exporter-for-elasticsearch-version-7-17-10/335549)

<div class="topic-metadata">

**Author:** [@Jasmine\_Blooms](https://discuss.elastic.co/u/Jasmine_Blooms)\
**Replies:** 2\
**Last updated:** [June 8, 2023, 5:38pm UTC](https://discuss.elastic.co/t/can-someone-guide-me-where-can-i-find-prometheus-exporter-for-elasticsearch-version-7-17-10/335549 "2023-06-08T17:38:50Z")

</div>

Hi All, We are trying to integrate prometheus exporter plugin in elasticsearch for health and monitoring and I could find Releases · vvanholl/elasticsearch-prometheus-exporter · GitHub which has 7.17.7 as the latest ver…

---

## [How do I get a list of search results?](https://discuss.elastic.co/t/how-do-i-get-a-list-of-search-results/335541)

<div class="topic-metadata">

**Author:** [@Nad.Chel](https://discuss.elastic.co/u/Nad.Chel)\
**Replies:** 4\
**Last updated:** [June 8, 2023, 4:17pm UTC](https://discuss.elastic.co/t/how-do-i-get-a-list-of-search-results/335541 "2023-06-08T16:17:20Z")

</div>

I honestly tried to read the official tutorials. Unfortunately, I got completely bogged down: I find them hard to understand and they don't appear to give me the very specific information I need which is: how do I get a L…

---

## [Index\_not\_found\_exception Root causes: index\_not\_found\_exception: no such index \[apm-\*\]](https://discuss.elastic.co/t/index-not-found-exception-root-causes-index-not-found-exception-no-such-index-apm/335463)

<div class="topic-metadata">

**Author:** [@zx8086](https://discuss.elastic.co/u/zx8086)\
**Replies:** 6\
**Last updated:** [June 8, 2023, 3:25pm UTC](https://discuss.elastic.co/t/index-not-found-exception-root-causes-index-not-found-exception-no-such-index-apm/335463 "2023-06-08T15:25:44Z")

</div>

I get this error in Kibana and cannot trace the root or find a simple resolution. Checked all the views.... thinking of just creating it, but would like to know where it is trying to be called. Using traces-apm-default f…

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

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