# Elasticsearch

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

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

**Page:** 1312

---

## [Heapsize Elastic + Logstash on same node](https://discuss.elastic.co/t/heapsize-elastic-logstash-on-same-node/179507)

<div class="topic-metadata">

**Author:** [@MarcusCaepio](https://discuss.elastic.co/u/MarcusCaepio)\
**Replies:** 1\
**Last updated:** [May 6, 2019, 12:11am UTC](https://discuss.elastic.co/t/heapsize-elastic-logstash-on-same-node/179507 "2019-05-06T00:11:41Z")

</div>

Hi all, when I am running Elasticsearch and Logstash both on the same node and want to give them the max usable heap size, is it possible to give them both 32GB (or rather 26 GB as its defined save in the docs) or do I …

---

## [Why ELK does not receive any data from Filebeat?](https://discuss.elastic.co/t/why-elk-does-not-receive-any-data-from-filebeat/179683)

<div class="topic-metadata">

**Author:** [@zenimagine](https://discuss.elastic.co/u/zenimagine)\
**Replies:** 3\
**Last updated:** [May 5, 2019, 11:20pm UTC](https://discuss.elastic.co/t/why-elk-does-not-receive-any-data-from-filebeat/179683 "2019-05-05T23:20:11Z")

</div>

I have an Ubuntu 18.04 server with ELK installed and configured on it. For ELK I followed this tutorial : When I go to Kibana, there is no data. Yet my configuration looks correct. Do you have an idea ? ubuntu@monit…

---

## [Unable to filter for Nested property with Ingest pipeline processor query](https://discuss.elastic.co/t/unable-to-filter-for-nested-property-with-ingest-pipeline-processor-query/179680)

<div class="topic-metadata">

**Author:** [@naman](https://discuss.elastic.co/u/naman)\
**Replies:** 1\
**Last updated:** [May 5, 2019, 5:33pm UTC](https://discuss.elastic.co/t/unable-to-filter-for-nested-property-with-ingest-pipeline-processor-query/179680 "2019-05-05T17:33:56Z")

</div>

Getting bad request - "The remote server returned an error: (400) Bad Request.. Call: Status code 400 from: POST /infilesearch-v1/es\_file/\_search?typed\_keys=true. ServerError: Type: search\_phase\_execution\_exception Reaso…

---

## [Conditional update of cluster settings](https://discuss.elastic.co/t/conditional-update-of-cluster-settings/179663)

<div class="topic-metadata">

**Author:** [@otrosien](https://discuss.elastic.co/u/otrosien)\
**Replies:** 3\
**Last updated:** [May 5, 2019, 5:08pm UTC](https://discuss.elastic.co/t/conditional-update-of-cluster-settings/179663 "2019-05-05T17:08:11Z")

</div>

Hi, I'm trying to update Elasticsearch cluster settings from multiple consumers, especially "cluster.routing.allocation.exclude.\_ip". The issue is that I need to GET the old value, add the IP, and PUT the new value back…

---

## [Where is javadoc of org.elasticsearch.test for 6.7.0?](https://discuss.elastic.co/t/where-is-javadoc-of-org-elasticsearch-test-for-6-7-0/179682)

<div class="topic-metadata">

**Author:** [@key](https://discuss.elastic.co/u/key)\
**Replies:** 0\
**Last updated:** [May 5, 2019, 4:36pm UTC](https://discuss.elastic.co/t/where-is-javadoc-of-org-elasticsearch-test-for-6-7-0/179682 "2019-05-05T16:36:31Z")

</div>

Hi, I'm looking for the javadoc of org.elasticsearch.test, more precisely I want to learn more about ESTestCase and the three others. The documentation of the official website in not really helping - https://www.elast…

---

## [Node.js library - missing namespaces](https://discuss.elastic.co/t/node-js-library-missing-namespaces/178806)

<div class="topic-metadata">

**Author:** [@liorg2](https://discuss.elastic.co/u/liorg2)\
**Replies:** 1\
**Last updated:** [May 5, 2019, 9:34am UTC](https://discuss.elastic.co/t/node-js-library-missing-namespaces/178806 "2019-05-05T09:34:54Z")

</div>

hi, I'm using the official node.js lib from npm, but many functions, that appears on the api reference list, are not included there.. for example submitting a new job of machine learning. the other option is to use a…

---

## [Is there any best practices for maintaining index in production?](https://discuss.elastic.co/t/is-there-any-best-practices-for-maintaining-index-in-production/179658)

<div class="topic-metadata">

**Author:** [@Morriaty](https://discuss.elastic.co/u/Morriaty)\
**Replies:** 0\
**Last updated:** [May 5, 2019, 9:00am UTC](https://discuss.elastic.co/t/is-there-any-best-practices-for-maintaining-index-in-production/179658 "2019-05-05T09:00:06Z")

</div>

This official blog Changing Mapping with Zero Downtime helps a lot, but things get much more complicated in real world. There are still some problems left: what if write operations go in the meanwhile when switching a…

---

## [Relation between "\_version", "\_seq\_no" and "\_primary\_term"](https://discuss.elastic.co/t/relation-between-version-seq-no-and-primary-term/179647)

<div class="topic-metadata">

**Author:** [@akshaymaniyar](https://discuss.elastic.co/u/akshaymaniyar)\
**Replies:** 5\
**Last updated:** [May 5, 2019, 9:03am UTC](https://discuss.elastic.co/t/relation-between-version-seq-no-and-primary-term/179647 "2019-05-05T09:03:52Z")

</div>

Does "\_version" of a document will always map to a unique combination of "\_seq\_no" and "\_primary\_term"? Or multiple "\_version" of the doc can have same combination of "\_seq\_no" and "\_primary\_term"? Context: From ES 7, …

---

## [Rexexp query with filtering](https://discuss.elastic.co/t/rexexp-query-with-filtering/178805)

<div class="topic-metadata">

**Author:** [@sivanb](https://discuss.elastic.co/u/sivanb)\
**Replies:** 2\
**Last updated:** [May 5, 2019, 7:36am UTC](https://discuss.elastic.co/t/rexexp-query-with-filtering/178805 "2019-05-05T07:36:36Z")

</div>

Hi, i have this json for a query : "query": { "regexp": { "errors.message": ".cannotdefinehostportsexception." } i get ~2000 hits and i'd like to filter with range on one of the fields. is there a way i can use fi…

---

## [Summarize day every day](https://discuss.elastic.co/t/summarize-day-every-day/179641)

<div class="topic-metadata">

**Author:** [@negroan](https://discuss.elastic.co/u/negroan)\
**Replies:** 3\
**Last updated:** [May 5, 2019, 1:17am UTC](https://discuss.elastic.co/t/summarize-day-every-day/179641 "2019-05-05T01:17:15Z")

</div>

Good afternoon I am facing a situation where I am storing a large amount of information therefore the indexes and are becoming larger every day due to my low storage capacity I can not save them all therefore I am lookin…

---

## [Listener timeout after waiting for \[30000\] ms in RestHightLevel Client](https://discuss.elastic.co/t/listener-timeout-after-waiting-for-30000-ms-in-resthightlevel-client/179643)

<div class="topic-metadata">

**Author:** [@Sanjay\_Das](https://discuss.elastic.co/u/Sanjay_Das)\
**Replies:** 0\
**Last updated:** [May 4, 2019, 10:05pm UTC](https://discuss.elastic.co/t/listener-timeout-after-waiting-for-30000-ms-in-resthightlevel-client/179643 "2019-05-04T22:05:30Z")

</div>

Hi I am facing error on Elasticsearch rest hight level client. I checked with elasticsearch host, but it is working correctly. I can able to fetch the data by doing GET request. Even , when I start my java application ,…

---

## [Start trial API | request body is required](https://discuss.elastic.co/t/start-trial-api-request-body-is-required/179626)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 5:56pm UTC](https://discuss.elastic.co/t/start-trial-api-request-body-is-required/179626 "2019-05-04T17:56:14Z")

</div>

Hello World! I am trying to start trial by following Start Trial API | Elasticsearch Reference \[6.3\] | Elastic, yet running into following error: # curl -X POST "localhost:9200/\_license/start\_trial?acknowledge=true&pre…

---

## [Elasticsearch v5.16.5 and v6.7.2 will not start](https://discuss.elastic.co/t/elasticsearch-v5-16-5-and-v6-7-2-will-not-start/179619)

<div class="topic-metadata">

**Author:** [@s1k3s](https://discuss.elastic.co/u/s1k3s)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 2:50pm UTC](https://discuss.elastic.co/t/elasticsearch-v5-16-5-and-v6-7-2-will-not-start/179619 "2019-05-04T14:50:15Z")

</div>

$ ./elasticsearch --version Version: 6.7.2, Build: default/tar/56c6e48/2019-04-29T09:05:50.290371Z, JVM: 1.8.0\_191 $ java --version openjdk version "1.8.0\_191" OpenJDK Runtime Environment (build 1.8.0\_191-8u191-b12-2ubu…

---

## [Using /\_cluster/settings -\> cluster.routing.allocation.exclude works for only one node?](https://discuss.elastic.co/t/using-cluster-settings-cluster-routing-allocation-exclude-works-for-only-one-node/179224)

<div class="topic-metadata">

**Author:** [@preddy75](https://discuss.elastic.co/u/preddy75)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 2:32pm UTC](https://discuss.elastic.co/t/using-cluster-settings-cluster-routing-allocation-exclude-works-for-only-one-node/179224 "2019-05-04T14:32:14Z")

</div>

Hi, I am running ELK on large Kubernetes environment, and it is common case to bring nodes in and out of environment. Right now we have mixed sized disks and need to route away from small nodes to large nodes. I am iss…

---

## [ES 7.0: Root mapping definition has unsupported parameters](https://discuss.elastic.co/t/es-7-0-root-mapping-definition-has-unsupported-parameters/179614)

<div class="topic-metadata">

**Author:** [@Pradeep\_Ketkale](https://discuss.elastic.co/u/Pradeep_Ketkale)\
**Replies:** 0\
**Last updated:** [May 4, 2019, 10:59am UTC](https://discuss.elastic.co/t/es-7-0-root-mapping-definition-has-unsupported-parameters/179614 "2019-05-04T10:59:54Z")

</div>

I upgraded my elastic search server from 6.6 to 7.0. When I try to reindex I'm getting below error - Root mapping definition has unsupported parameters. My existing mapping for 'companies' index: { "companies\_1555674…

---

## [Mocking HighlevelRestClient in junit](https://discuss.elastic.co/t/mocking-highlevelrestclient-in-junit/179612)

<div class="topic-metadata">

**Author:** [@AshwiniD15](https://discuss.elastic.co/u/AshwiniD15)\
**Replies:** 0\
**Last updated:** [May 4, 2019, 10:42am UTC](https://discuss.elastic.co/t/mocking-highlevelrestclient-in-junit/179612 "2019-05-04T10:42:14Z")

</div>

I am using HighlevelRestClient for fetching the data from elasticsearch.while adding junit , mocking it and it is getting mocked but low level rest client is null. Tried with extending ESTestCase as well . But unable to …

---

## [How to limit the result count for a role with x-pack](https://discuss.elastic.co/t/how-to-limit-the-result-count-for-a-role-with-x-pack/179610)

<div class="topic-metadata">

**Author:** [@iamazy](https://discuss.elastic.co/u/iamazy)\
**Replies:** 1\
**Last updated:** [May 4, 2019, 9:31am UTC](https://discuss.elastic.co/t/how-to-limit-the-result-count-for-a-role-with-x-pack/179610 "2019-05-04T09:31:39Z")

</div>

hello, for example, I want to set a role only has read 10 doc privileges，but I found that there is no way to set size by updating role what should i do？ thanks

---

## [We are looking for an Elastic Search Expert for a job to do?](https://discuss.elastic.co/t/we-are-looking-for-an-elastic-search-expert-for-a-job-to-do/179609)

<div class="topic-metadata">

**Author:** [@swanny](https://discuss.elastic.co/u/swanny)\
**Replies:** 0\
**Last updated:** [May 4, 2019, 8:41am UTC](https://discuss.elastic.co/t/we-are-looking-for-an-elastic-search-expert-for-a-job-to-do/179609 "2019-05-04T08:41:10Z")

</div>

I am looking for an expert with Elastic Search to do a job for us ... ? Please get in touch 07971566004

---

## [Elastic search showing partial data](https://discuss.elastic.co/t/elastic-search-showing-partial-data/179567)

<div class="topic-metadata">

**Author:** [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Replies:** 7\
**Last updated:** [May 3, 2019, 6:36pm UTC](https://discuss.elastic.co/t/elastic-search-showing-partial-data/179567 "2019-05-03T18:36:57Z")

</div>

Elastic search is showing partial data for my newly created index. Can you please guide how to fix it. I was getting complete results earlier. { "\_index": "heartbeat-6.7.1-2019.04.15", "\_type": "\_doc", "\_id": …

---

## [Jest client multi index search request signature failed](https://discuss.elastic.co/t/jest-client-multi-index-search-request-signature-failed/179335)

<div class="topic-metadata">

**Author:** [@arvinds94](https://discuss.elastic.co/u/arvinds94)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 5:30pm UTC](https://discuss.elastic.co/t/jest-client-multi-index-search-request-signature-failed/179335 "2019-05-03T17:30:37Z")

</div>

When making a multi index search with Jest Client in java I receive an error that the request signature does not match the signature provided. Make the same request to a single index however does not give me this issue. …

---

## [Reindex Existing data through ILM](https://discuss.elastic.co/t/reindex-existing-data-through-ilm/179429)

<div class="topic-metadata">

**Author:** [@pattercw](https://discuss.elastic.co/u/pattercw)\
**Replies:** 6\
**Last updated:** [May 3, 2019, 5:15pm UTC](https://discuss.elastic.co/t/reindex-existing-data-through-ilm/179429 "2019-05-03T17:15:45Z")

</div>

Hello: We are in the process of switching over to ILM (Index Lifecycle Management) and we're using Elasticsearch 6.6.1. One of the reasons why is that we want to control the size of our indices, and thus control our sh…

---

## [Significant Terms - Exclude list of specific terms](https://discuss.elastic.co/t/significant-terms-exclude-list-of-specific-terms/179564)

<div class="topic-metadata">

**Author:** [@adahn](https://discuss.elastic.co/u/adahn)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 4:35pm UTC](https://discuss.elastic.co/t/significant-terms-exclude-list-of-specific-terms/179564 "2019-05-03T16:35:32Z")

</div>

I'm using Significant Terms to find high frequency keywords in a text field. I'm using regex in the Include parameter, but want to Exclude certain exact terms I don't care about: //"include": "(\[a-zA-Z\]{2,10}\_)+\[a-zA-Z\]…

---

## [Help Understanding Sharding](https://discuss.elastic.co/t/help-understanding-sharding/179411)

<div class="topic-metadata">

**Author:** [@stefan2017](https://discuss.elastic.co/u/stefan2017)\
**Replies:** 6\
**Last updated:** [May 3, 2019, 4:26pm UTC](https://discuss.elastic.co/t/help-understanding-sharding/179411 "2019-05-03T16:26:34Z")

</div>

Greetings All, I'm a little fuzzy on the concept of sharding and have a few questions. My ElasticSearch cluster consists of 4 Linux nodes. Each node has a 1 TB data disk. I'm shipping IIS logs to the cluster using File…

---

## [How to match a field and a sentence with capital letter and special character?](https://discuss.elastic.co/t/how-to-match-a-field-and-a-sentence-with-capital-letter-and-special-character/179537)

<div class="topic-metadata">

**Author:** [@key](https://discuss.elastic.co/u/key)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 4:03pm UTC](https://discuss.elastic.co/t/how-to-match-a-field-and-a-sentence-with-capital-letter-and-special-character/179537 "2019-05-03T16:03:04Z")

</div>

Hi, I'm trying to build an index with documents containing two fields : "name" and "description" and to search these documents. I'm using the java RestHighLevelClient 6.7.0. I'm building a document like this : { name…

---

## [Timeout, GC overhead and plenty other beginner errors](https://discuss.elastic.co/t/timeout-gc-overhead-and-plenty-other-beginner-errors/176156)

<div class="topic-metadata">

**Author:** [@Ricocotam](https://discuss.elastic.co/u/Ricocotam)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 3:56pm UTC](https://discuss.elastic.co/t/timeout-gc-overhead-and-plenty-other-beginner-errors/176156 "2019-05-03T15:56:55Z")

</div>

Hi, I'm super new to ES and I have some problems. Actually, quite a lot. My setup is at the end, the only thing that matters to understand my problems is that I have two different servers which share some problems but n…

---

## [Trace calls between ES nodes with opentracing](https://discuss.elastic.co/t/trace-calls-between-es-nodes-with-opentracing/179509)

<div class="topic-metadata">

**Author:** [@CanardMoussant](https://discuss.elastic.co/u/CanardMoussant)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 3:31pm UTC](https://discuss.elastic.co/t/trace-calls-between-es-nodes-with-opentracing/179509 "2019-05-03T15:31:38Z")

</div>

We are using ElasticSearch with cross-cluster search. I was wondering if there was a way to have the trace-id propagated across the various ES nodes targeted to be able to build a flamegraph of the various calls made bet…

---

## [Deprication json log](https://discuss.elastic.co/t/deprication-json-log/179554)

<div class="topic-metadata">

**Author:** [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 3:02pm UTC](https://discuss.elastic.co/t/deprication-json-log/179554 "2019-05-03T15:02:32Z")

</div>

I am seeing this in my elasticsearch deprication json log file. How can i fix this. I am not getting data in my elastic search. and when ever I run "filebeat setup --template" I get Mapping Conflict in elastic search. …

---

## [ELK - indexes blocked : SERVICE\_UNAVAILABLE/1/state not recovered](https://discuss.elastic.co/t/elk-indexes-blocked-service-unavailable-1-state-not-recovered/179527)

<div class="topic-metadata">

**Author:** [@rodrigue](https://discuss.elastic.co/u/rodrigue)\
**Replies:** 7\
**Last updated:** [May 3, 2019, 2:37pm UTC](https://discuss.elastic.co/t/elk-indexes-blocked-service-unavailable-1-state-not-recovered/179527 "2019-05-03T14:37:13Z")

</div>

Hello, Lately, I upgraded to elastic 6.7.1 (previously 6.2.4) I also upgraded kibana. Suddently I had an exception about monitoring. I searched on the internet and found that solution : PUT /\_cluster/settings { "pe…

---

## [How to aggregate classifieds that have a date-range](https://discuss.elastic.co/t/how-to-aggregate-classifieds-that-have-a-date-range/179487)

<div class="topic-metadata">

**Author:** [@marcuslankenau](https://discuss.elastic.co/u/marcuslankenau)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 2:22pm UTC](https://discuss.elastic.co/t/how-to-aggregate-classifieds-that-have-a-date-range/179487 "2019-05-03T14:22:44Z")

</div>

I am quite new to elasticsearch and have a design/query question. We have a lot of classifieds that we store and query via elasticsearch. Each contain some product data, a visibility date-range (when did it appear and di…

---

## [Multiple terms query match with pagination](https://discuss.elastic.co/t/multiple-terms-query-match-with-pagination/179514)

<div class="topic-metadata">

**Author:** [@Deepak\_Jaganath](https://discuss.elastic.co/u/Deepak_Jaganath)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 1:19pm UTC](https://discuss.elastic.co/t/multiple-terms-query-match-with-pagination/179514 "2019-05-03T13:19:16Z")

</div>

I am using elastic search in my node js projec, version of elastic search is 6.2 .I have used NPM package mongosastic for searching the index.During a multiple terms query search the pagination is not working.The same re…

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

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