# Elasticsearch

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

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

**Page:** 1269

---

## [Request for explanation of RAM DISK ratio in ES](https://discuss.elastic.co/t/request-for-explanation-of-ram-disk-ratio-in-es/182976)

<div class="topic-metadata">

**Author:** [@zidane28](https://discuss.elastic.co/u/zidane28)\
**Replies:** 16\
**Last updated:** [June 11, 2019, 2:48am UTC](https://discuss.elastic.co/t/request-for-explanation-of-ram-disk-ratio-in-es/182976 "2019-06-11T02:48:05Z")

</div>

I came across the term of ram:disk ratio when I was watching one of the webminar, but I don't really understand on why the ratio. Previously my understanding of ES is that, for example I have a 64GB memory data node, an…

---

## [Elastic search over HTTPS Channel](https://discuss.elastic.co/t/elastic-search-over-https-channel/185031)

<div class="topic-metadata">

**Author:** [@manoj1234](https://discuss.elastic.co/u/manoj1234)\
**Replies:** 5\
**Last updated:** [June 11, 2019, 2:05am UTC](https://discuss.elastic.co/t/elastic-search-over-https-channel/185031 "2019-06-11T02:05:02Z")

</div>

Hello, I am currently working on communication of elasticsearch, fscrawler and kibana over HTTPS channel. I am pretty much successfull in it. For this, I used self signed certificates and followed the documentation give…

---

## [Example of X-pack Custom Realm in 7.x](https://discuss.elastic.co/t/example-of-x-pack-custom-realm-in-7-x/184789)

<div class="topic-metadata">

**Author:** [@ashbrooker](https://discuss.elastic.co/u/ashbrooker)\
**Replies:** 3\
**Last updated:** [June 11, 2019, 1:21am UTC](https://discuss.elastic.co/t/example-of-x-pack-custom-realm-in-7-x/184789 "2019-06-11T01:21:19Z")

</div>

We're upgrading ES from 6.2 to 7.1. We have built x-pack custom realm for authentication. Is there any example, in JAVA, available that shows how to create custom realm? This file hasn't been updated since Dec 2018.... h…

---

## [Connect Elasticsearch Kerberos realm using java Rest Client](https://discuss.elastic.co/t/connect-elasticsearch-kerberos-realm-using-java-rest-client/182438)

<div class="topic-metadata">

**Author:** [@dhrchatt](https://discuss.elastic.co/u/dhrchatt)\
**Replies:** 4\
**Last updated:** [June 11, 2019, 12:00am UTC](https://discuss.elastic.co/t/connect-elasticsearch-kerberos-realm-using-java-rest-client/182438 "2019-06-11T00:00:52Z")

</div>

Can you give code sample/snippets of how java Rest Client can connect to an Elasticsearch cluster having configured Kerberos Realm authentication.

---

## [Why does the NEST library make a HEAD call every time?](https://discuss.elastic.co/t/why-does-the-nest-library-make-a-head-call-every-time/184864)

<div class="topic-metadata">

**Author:** [@rgelb](https://discuss.elastic.co/u/rgelb)\
**Replies:** 7\
**Last updated:** [June 10, 2019, 11:44pm UTC](https://discuss.elastic.co/t/why-does-the-nest-library-make-a-head-call-every-time/184864 "2019-06-10T23:44:05Z")

</div>

I am using NEST library 6.5 from a .NET Core project. I've noticed that the library sends out an HTTP HEAD message prior to every call to get actual data. HEAD http://10.50.136.80:9200/ GET http://10.50.136.80:9200/pr…

---

## [Query string and regular query](https://discuss.elastic.co/t/query-string-and-regular-query/185071)

<div class="topic-metadata">

**Author:** [@Guanda\_Li](https://discuss.elastic.co/u/Guanda_Li)\
**Replies:** 0\
**Last updated:** [June 10, 2019, 10:44pm UTC](https://discuss.elastic.co/t/query-string-and-regular-query/185071 "2019-06-10T22:44:34Z")

</div>

I'm writing a query to count the number of API with long latency. These two queries are getting very different results but I don't know why. POST /\_count postSlowQueries = '{"query":{"query\_string":{"query":"latency:\['+…

---

## [Azure Cloud plugin install failure](https://discuss.elastic.co/t/azure-cloud-plugin-install-failure/185072)

<div class="topic-metadata">

**Author:** [@cool\_guy99](https://discuss.elastic.co/u/cool_guy99)\
**Replies:** 0\
**Last updated:** [June 10, 2019, 10:47pm UTC](https://discuss.elastic.co/t/azure-cloud-plugin-install-failure/185072 "2019-06-10T22:47:48Z")

</div>

Im trying to install the Azure Cloud plugin onto a linux machine using sudo bin/elasticsearch-plugin install path\_to\_zip\_file Its failing with the error saying: "ES\_PATH\_CONF must be set to the configuration path" I …

---

## [Error in elasticsearch log](https://discuss.elastic.co/t/error-in-elasticsearch-log/184723)

<div class="topic-metadata">

**Author:** [@ashish.singh2](https://discuss.elastic.co/u/ashish.singh2)\
**Replies:** 1\
**Last updated:** [June 10, 2019, 10:42pm UTC](https://discuss.elastic.co/t/error-in-elasticsearch-log/184723 "2019-06-10T22:42:38Z")

</div>

\[4962\]\[2019-06-07T04:37:23,550\]\[ERROR\]\[i.n.u.c.D.rejectedExecution\] Failed to submit a listener notification task. Event loop shut down?

---

## [Elasticsearch maintenance release cadence](https://discuss.elastic.co/t/elasticsearch-maintenance-release-cadence/185046)

<div class="topic-metadata">

**Author:** [@henryptung](https://discuss.elastic.co/u/henryptung)\
**Replies:** 1\
**Last updated:** [June 10, 2019, 10:37pm UTC](https://discuss.elastic.co/t/elasticsearch-maintenance-release-cadence/185046 "2019-06-10T22:37:34Z")

</div>

Hi, A pretty critical performance fix was recently merged into ES and backported to 6.8. How often does this branch get released, and/or how are maintenance releases prompted? Was looking through the Git tag dates, but…

---

## [First start fails](https://discuss.elastic.co/t/first-start-fails/184875)

<div class="topic-metadata">

**Author:** [@WilliWichtel](https://discuss.elastic.co/u/WilliWichtel)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 10:34pm UTC](https://discuss.elastic.co/t/first-start-fails/184875 "2019-06-10T22:34:46Z")

</div>

HI, I want to do my first steps to elk. I followed the installation guide lines, but on startup I get the following error: org.elasticsearch.bootstrap.StartupException: ElasticsearchException\[Failed to create native pr…

---

## [Elasticsearch don't show correction data although logstash still send log to Elasticsearch](https://discuss.elastic.co/t/elasticsearch-dont-show-correction-data-although-logstash-still-send-log-to-elasticsearch/184931)

<div class="topic-metadata">

**Author:** [@thachnv92](https://discuss.elastic.co/u/thachnv92)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 10:33pm UTC](https://discuss.elastic.co/t/elasticsearch-dont-show-correction-data-although-logstash-still-send-log-to-elasticsearch/184931 "2019-06-10T22:33:42Z")

</div>

Hello, I use Logstash, Elasticsearch and Kibana with same version 7.1.0. I tested on DEV environment, Logstash send log to Elasticsearch, Everything is Ok. I did it on PRD environment, Logstash still send log to Elast…

---

## [Return per-field similarity for each of many fields](https://discuss.elastic.co/t/return-per-field-similarity-for-each-of-many-fields/183254)

<div class="topic-metadata">

**Author:** [@jeff-wellio](https://discuss.elastic.co/u/jeff-wellio)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 10:26pm UTC](https://discuss.elastic.co/t/return-per-field-similarity-for-each-of-many-fields/183254 "2019-06-10T22:26:43Z")

</div>

Context: We've implemented a learning-to-rank re-scorer for Elasticsearch hits, but (unfortunately) it has to live outside of Elasticsearch, i.e. as a microservice that takes candidates from Elasticsearch, re-scores eac…

---

## [How to insert text file data into elasticsearch using Python](https://discuss.elastic.co/t/how-to-insert-text-file-data-into-elasticsearch-using-python/184988)

<div class="topic-metadata">

**Author:** [@Akshay02](https://discuss.elastic.co/u/Akshay02)\
**Replies:** 1\
**Last updated:** [June 10, 2019, 10:26pm UTC](https://discuss.elastic.co/t/how-to-insert-text-file-data-into-elasticsearch-using-python/184988 "2019-06-10T22:26:28Z")

</div>

How to insert text file data into elasticsearch using

---

## [Elasticsearch crash because of JVM fatal error](https://discuss.elastic.co/t/elasticsearch-crash-because-of-jvm-fatal-error/185055)

<div class="topic-metadata">

**Author:** [@xiang-liu-exa](https://discuss.elastic.co/u/xiang-liu-exa)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 10:17pm UTC](https://discuss.elastic.co/t/elasticsearch-crash-because-of-jvm-fatal-error/185055 "2019-06-10T22:17:03Z")

</div>

Elasticsearch version 6.2.4 The error before the process crash: Jun 08 10:45:44 xxx-168-24 docker\[11136\]: # Jun 08 10:45:44 xxx-168-24 docker\[11136\]: # A fatal error has been detected by the Java Runtime Environment: …

---

## [How do I find the reason for a failed data node? (Elasticsearch 6.5)](https://discuss.elastic.co/t/how-do-i-find-the-reason-for-a-failed-data-node-elasticsearch-6-5/185057)

<div class="topic-metadata">

**Author:** [@Eric\_Paul](https://discuss.elastic.co/u/Eric_Paul)\
**Replies:** 1\
**Last updated:** [June 10, 2019, 9:59pm UTC](https://discuss.elastic.co/t/how-do-i-find-the-reason-for-a-failed-data-node-elasticsearch-6-5/185057 "2019-06-10T21:59:38Z")

</div>

We have been running elasticsearch for a few years now. We ran a 2 node simple cluster (version 1.7). This cluster supported some internal utilities so it was relatively low use. In the last 4 years that cluster has neve…

---

## [Handle and delete non-nested field with dots in name](https://discuss.elastic.co/t/handle-and-delete-non-nested-field-with-dots-in-name/185050)

<div class="topic-metadata">

**Author:** [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Replies:** 0\
**Last updated:** [June 10, 2019, 8:28pm UTC](https://discuss.elastic.co/t/handle-and-delete-non-nested-field-with-dots-in-name/185050 "2019-06-10T20:28:36Z")

</div>

Hi there! The question is quite straightforward. How do I handle (and more specifically delete) a field which has dots in its name? Because if I try with a remove processor, when I ask to delete a field named "average…

---

## [Elasticsearch query to match a field n number of times before giving result](https://discuss.elastic.co/t/elasticsearch-query-to-match-a-field-n-number-of-times-before-giving-result/185036)

<div class="topic-metadata">

**Author:** [@Elasticgeek](https://discuss.elastic.co/u/Elasticgeek)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 6:52pm UTC](https://discuss.elastic.co/t/elasticsearch-query-to-match-a-field-n-number-of-times-before-giving-result/185036 "2019-06-10T18:52:00Z")

</div>

I want to process the result if a field is occurring 'n' number of times while running a query. I am not referring to the count attribute where we get the total number but I want to get a result only if a particular fiel…

---

## [Snapshot thread are in sleep](https://discuss.elastic.co/t/snapshot-thread-are-in-sleep/184362)

<div class="topic-metadata">

**Author:** [@saikettewary](https://discuss.elastic.co/u/saikettewary)\
**Replies:** 7\
**Last updated:** [June 10, 2019, 4:34pm UTC](https://discuss.elastic.co/t/snapshot-thread-are-in-sleep/184362 "2019-06-10T16:34:10Z")

</div>

I am seeing a lot of snapshot threads are in sleep from hot threads .. what does this mean. the FS repository has all default settings. Also i am seeing a lot of snapshot threads are in active and in queue from thread po…

---

## [How to tuning terms aggregation performance](https://discuss.elastic.co/t/how-to-tuning-terms-aggregation-performance/184907)

<div class="topic-metadata">

**Author:** [@kkd927](https://discuss.elastic.co/u/kkd927)\
**Replies:** 5\
**Last updated:** [June 10, 2019, 4:14pm UTC](https://discuss.elastic.co/t/how-to-tuning-terms-aggregation-performance/184907 "2019-06-10T16:14:19Z")

</div>

Hi there We have a problem with our ES terms aggregation query, it took 10-12s to execute. here is our cluster information we have 3 client nodes, 3 master nodes, 5 data nodes, 1 ingest node each node, its 20 cores(4…

---

## [Installed Elasticsearch 7.1.1 via MSI now What?](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888)

<div class="topic-metadata">

**Author:** [@chobo2](https://discuss.elastic.co/u/chobo2)\
**Replies:** 6\
**Last updated:** [June 10, 2019, 3:02pm UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888 "2019-06-10T15:02:31Z")

</div>

Hi I am new to elasticsearch, I sort of just want to get up and running asap and see if this product will be right for me. I installed the msi and then tried to run : http://localhost:9200/ but I get "The site cannot …

---

## [How to Index an Array as Field names](https://discuss.elastic.co/t/how-to-index-an-array-as-field-names/185000)

<div class="topic-metadata">

**Author:** [@matheusribeirogarcia](https://discuss.elastic.co/u/matheusribeirogarcia)\
**Replies:** 0\
**Last updated:** [June 10, 2019, 1:36pm UTC](https://discuss.elastic.co/t/how-to-index-an-array-as-field-names/185000 "2019-06-10T13:36:47Z")

</div>

Is there a way to Index an Object in this format, for example, \[Name, Phone, Address\] It can be multiple positions aswell, not exactly these three And put in a Index using the javascript API like this: this.es.addT…

---

## [Dynamic Shards (Incremental Resharding)](https://discuss.elastic.co/t/dynamic-shards-incremental-resharding/184801)

<div class="topic-metadata">

**Author:** [@panda2004](https://discuss.elastic.co/u/panda2004)\
**Replies:** 3\
**Last updated:** [June 10, 2019, 2:28pm UTC](https://discuss.elastic.co/t/dynamic-shards-incremental-resharding/184801 "2019-06-10T14:28:02Z")

</div>

Hello everyone, One of the most common challenges with big data is dealing with increasing volume of data. The traditional solution in ElasticSearch is dynamically creating new indices - which means that the latest docu…

---

## [Watcher for missing log event](https://discuss.elastic.co/t/watcher-for-missing-log-event/184991)

<div class="topic-metadata">

**Author:** [@ghost3h](https://discuss.elastic.co/u/ghost3h)\
**Replies:** 3\
**Last updated:** [June 10, 2019, 2:10pm UTC](https://discuss.elastic.co/t/watcher-for-missing-log-event/184991 "2019-06-10T14:10:09Z")

</div>

Hi, I'm trying to write a watcher for two specific hosts, for when we do not receive a log entry for them. I found a previous post looking for similar, which linked to this example. I've been trying to modify this to loo…

---

## [Use date field to copy year to another field index](https://discuss.elastic.co/t/use-date-field-to-copy-year-to-another-field-index/184416)

<div class="topic-metadata">

**Author:** [@dlaprade](https://discuss.elastic.co/u/dlaprade)\
**Replies:** 7\
**Last updated:** [June 10, 2019, 1:37pm UTC](https://discuss.elastic.co/t/use-date-field-to-copy-year-to-another-field-index/184416 "2019-06-10T13:37:50Z")

</div>

Elasticsearch version: 6.3 Situation: I have a date field that contains a full date: "releaseDate" : { "type" : "date", "format" : "yyyy-MM-dd'T'HH:mm:ssZ" } I would like to copy the year out of a that field into an…

---

## [ElasticSearch and composite and filters](https://discuss.elastic.co/t/elasticsearch-and-composite-and-filters/184900)

<div class="topic-metadata">

**Author:** [@iukea](https://discuss.elastic.co/u/iukea)\
**Replies:** 1\
**Last updated:** [June 10, 2019, 1:20pm UTC](https://discuss.elastic.co/t/elasticsearch-and-composite-and-filters/184900 "2019-06-10T13:20:20Z")

</div>

Why does composite searches not support filters?

---

## [Reindex, creating multiple destination documents from each source document](https://discuss.elastic.co/t/reindex-creating-multiple-destination-documents-from-each-source-document/184633)

<div class="topic-metadata">

**Author:** [@mconner](https://discuss.elastic.co/u/mconner)\
**Replies:** 5\
**Last updated:** [June 10, 2019, 1:12pm UTC](https://discuss.elastic.co/t/reindex-creating-multiple-destination-documents-from-each-source-document/184633 "2019-06-10T13:12:07Z")

</div>

I want to build a new index from an existing, but split each source document into a set of destination documents. Is it possible to do this with reindex, or is there some other means which it can be done server-side? O…

---

## [Compressor detection can only be called on some xcontent bytes](https://discuss.elastic.co/t/compressor-detection-can-only-be-called-on-some-xcontent-bytes/184959)

<div class="topic-metadata">

**Author:** [@Hiven](https://discuss.elastic.co/u/Hiven)\
**Replies:** 1\
**Last updated:** [June 10, 2019, 1:00pm UTC](https://discuss.elastic.co/t/compressor-detection-can-only-be-called-on-some-xcontent-bytes/184959 "2019-06-10T13:00:22Z")

</div>

I'm trying to send data to elasticsearch but running into the error: Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes Here is my data: \[ { "data" : "119050300", "date" : …

---

## [How to restore a cluster from the snapshot of the local machine](https://discuss.elastic.co/t/how-to-restore-a-cluster-from-the-snapshot-of-the-local-machine/184679)

<div class="topic-metadata">

**Author:** [@kdev](https://discuss.elastic.co/u/kdev)\
**Replies:** 3\
**Last updated:** [June 10, 2019, 11:48am UTC](https://discuss.elastic.co/t/how-to-restore-a-cluster-from-the-snapshot-of-the-local-machine/184679 "2019-06-10T11:48:27Z")

</div>

Hi, guys. I need to restore a cluster to the server's elasticsearch engine from a snapshot that is on my local machine. In this case, how can I set the path.repo in the server's elasticsearch.yml? Thanks in advance.

---

## [Couldn't map data retrieved from elastic search document to the variable in @Document?](https://discuss.elastic.co/t/couldnt-map-data-retrieved-from-elastic-search-document-to-the-variable-in-document/184974)

<div class="topic-metadata">

**Author:** [@singhprashant1998](https://discuss.elastic.co/u/singhprashant1998)\
**Replies:** 0\
**Last updated:** [June 10, 2019, 11:19am UTC](https://discuss.elastic.co/t/couldnt-map-data-retrieved-from-elastic-search-document-to-the-variable-in-document/184974 "2019-06-10T11:19:32Z")

</div>

Hello, I have a UserSearchEntity dto which represents the document for the Elasticsearch. The UserSearchEntity is as follows: @Document(indexName = "user\_index" , type = "user") public class UserSearchEntity { @I…

---

## [No of shards for 500mb index?](https://discuss.elastic.co/t/no-of-shards-for-500mb-index/184963)

<div class="topic-metadata">

**Author:** [@Gosforth](https://discuss.elastic.co/u/Gosforth)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 11:17am UTC](https://discuss.elastic.co/t/no-of-shards-for-500mb-index/184963 "2019-06-10T11:17:56Z")

</div>

Default 5 shards and 1 replica is OK or I should decrease no of shards for such indices? I have about 50 such indices on one host (1 cluster). Regards

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

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