# Elasticsearch

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

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

**Page:** 1105

---

## [How to monitor APIs (SOAP, Rest Full )](https://discuss.elastic.co/t/how-to-monitor-apis-soap-rest-full/206506)

<div class="topic-metadata">

**Author:** [@jam\_mahmoudi](https://discuss.elastic.co/u/jam_mahmoudi)\
**Replies:** 2\
**Last updated:** [November 5, 2019, 6:19am UTC](https://discuss.elastic.co/t/how-to-monitor-apis-soap-rest-full/206506 "2019-11-05T06:19:26Z")

</div>

hi guys I Want see all APIs and monitor APIs (SOAP, Rest Full ) and also see and check state ( Run, up, performance, security ) please guide me

---

## [Match and term in bool's should](https://discuss.elastic.co/t/match-and-term-in-bools-should/206522)

<div class="topic-metadata">

**Author:** [@Ecenma](https://discuss.elastic.co/u/Ecenma)\
**Replies:** 0\
**Last updated:** [November 5, 2019, 5:40am UTC](https://discuss.elastic.co/t/match-and-term-in-bools-should/206522 "2019-11-05T05:40:33Z")

</div>

I'd like to search items that either have firstField (mapped as text) similar to a query string or secondField (mapped as an integer) equal to, say, 1. After reading the docs, I understand the OR I am trying to impl…

---

## [Create new document from extracted fields](https://discuss.elastic.co/t/create-new-document-from-extracted-fields/206517)

<div class="topic-metadata">

**Author:** [@earthpatipon](https://discuss.elastic.co/u/earthpatipon)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 5:25am UTC](https://discuss.elastic.co/t/create-new-document-from-extracted-fields/206517 "2019-11-05T05:25:28Z")

</div>

Hi there, Here is my log structure that comes directly from a service. PUT my\_index/\_doc/1 { "user": \[ { "firstName": "Tim", "lastName": "Cook" }, { "firstName": "Bill", "lastNam…

---

## [How to increase the number of shard in an exsisting index](https://discuss.elastic.co/t/how-to-increase-the-number-of-shard-in-an-exsisting-index/206320)

<div class="topic-metadata">

**Author:** [@lusynda](https://discuss.elastic.co/u/lusynda)\
**Replies:** 6\
**Last updated:** [November 5, 2019, 4:44am UTC](https://discuss.elastic.co/t/how-to-increase-the-number-of-shard-in-an-exsisting-index/206320 "2019-11-05T04:44:19Z")

</div>

Dear all, i have an elastic to collect log when i read the document they say that the default number of shard per index are 5 but when i create the index there are only one index, so how can i increate the number of sh…

---

## [Node crashes due to max number of docs exceeded, but ILM should've not let it happen](https://discuss.elastic.co/t/node-crashes-due-to-max-number-of-docs-exceeded-but-ilm-shouldve-not-let-it-happen/201499)

<div class="topic-metadata">

**Author:** [@anishm](https://discuss.elastic.co/u/anishm)\
**Replies:** 6\
**Last updated:** [November 5, 2019, 4:15am UTC](https://discuss.elastic.co/t/node-crashes-due-to-max-number-of-docs-exceeded-but-ilm-shouldve-not-let-it-happen/201499 "2019-11-05T04:15:06Z")

</div>

Elasticsearch Version: 7.3.0 Index: metricbeat-7.3.0 (mentioning to note that the data rates have been consistent for the past month) It is noticed that two out of three Elasticsearch nodes (m4.4xlarge) crashed. When …

---

## [Failed to flush outgoing items to AWS ES](https://discuss.elastic.co/t/failed-to-flush-outgoing-items-to-aws-es/206510)

<div class="topic-metadata">

**Author:** [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 3:21am UTC](https://discuss.elastic.co/t/failed-to-flush-outgoing-items-to-aws-es/206510 "2019-11-05T03:21:06Z")

</div>

Hi community I use Logstash and AWS Elasticsearch to centralized the logs. It usually works but I got this problem when we do load test. error\_message=\>"\[413\] {\\"Message\\":\\"Request size exceeded 10485760 bytes\\"}" e…

---

## [Snapshot the most recent indexes only](https://discuss.elastic.co/t/snapshot-the-most-recent-indexes-only/206472)

<div class="topic-metadata">

**Author:** [@KeninHouston](https://discuss.elastic.co/u/KeninHouston)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 12:26am UTC](https://discuss.elastic.co/t/snapshot-the-most-recent-indexes-only/206472 "2019-11-05T00:26:27Z")

</div>

Hi, I want to snapshot the most recent created indexes based on a pattern assuming I have the following indexes in the cluster: index1\_20191104 index1\_20191103 index2\_20191104 index2\_20191101 I only want the snaps…

---

## [Elasticsearch Process getting killed](https://discuss.elastic.co/t/elasticsearch-process-getting-killed/205691)

<div class="topic-metadata">

**Author:** [@akshaymaniyar](https://discuss.elastic.co/u/akshaymaniyar)\
**Replies:** 7\
**Last updated:** [November 4, 2019, 11:57pm UTC](https://discuss.elastic.co/t/elasticsearch-process-getting-killed/205691 "2019-11-04T23:57:33Z")

</div>

Recently we have started seeing that our elastic-search process is getting killed. We are using 5-5-1 version of elasticsearch. Any idea what could be the cause? ● elasticsearch.service - Elasticsearch Loaded: loade…

---

## [Jmeter Dates are not showing correctly in ELS](https://discuss.elastic.co/t/jmeter-dates-are-not-showing-correctly-in-els/206311)

<div class="topic-metadata">

**Author:** [@Trevorp](https://discuss.elastic.co/u/Trevorp)\
**Replies:** 2\
**Last updated:** [November 4, 2019, 10:49pm UTC](https://discuss.elastic.co/t/jmeter-dates-are-not-showing-correctly-in-els/206311 "2019-11-04T22:49:15Z")

</div>

I am putting Jmeter CSV file into ELK for reporting and analysis. How ever the dates I need to use are not being put in correctly This is the data in ELK the time should be 2019/10/29 10:00:00 , that is in the message, …

---

## [Error trying to update index setting "max\_ngram\_diff"](https://discuss.elastic.co/t/error-trying-to-update-index-setting-max-ngram-diff/206492)

<div class="topic-metadata">

**Author:** [@RomeoBravo](https://discuss.elastic.co/u/RomeoBravo)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 10:16pm UTC](https://discuss.elastic.co/t/error-trying-to-update-index-setting-max-ngram-diff/206492 "2019-11-04T22:16:11Z")

</div>

In an attempt to reset my index settings to use the default for max\_ngram\_diff, I used the PUT \<myindex\>/\_settings API to set this property to null, which successfully removed it from that index's explicit settings. Now…

---

## [Watcher for cluster JVM](https://discuss.elastic.co/t/watcher-for-cluster-jvm/206485)

<div class="topic-metadata">

**Author:** [@Pazoozoo](https://discuss.elastic.co/u/Pazoozoo)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 9:43pm UTC](https://discuss.elastic.co/t/watcher-for-cluster-jvm/206485 "2019-11-04T21:43:05Z")

</div>

Hello I'm trying to set up a script watcher but it won't trigger. Here's my watcher code { "trigger": { "schedule": { "interval": "5m" } }, "input": { "http": { "request": { "sche…

---

## [Is it possible to fetch multiple keyword value based on single value?](https://discuss.elastic.co/t/is-it-possible-to-fetch-multiple-keyword-value-based-on-single-value/206352)

<div class="topic-metadata">

**Author:** [@Thilak](https://discuss.elastic.co/u/Thilak)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 9:10pm UTC](https://discuss.elastic.co/t/is-it-possible-to-fetch-multiple-keyword-value-based-on-single-value/206352 "2019-11-04T21:10:28Z")

</div>

Our mapping type for accountNumber is Keyword and Text , We have not applied any tokenizer. But whenever client search for accountNumber they search with all country code \[12345, +2312345, + 3412345\] .Is it possible to…

---

## [JVM GC metrics increase](https://discuss.elastic.co/t/jvm-gc-metrics-increase/206396)

<div class="topic-metadata">

**Author:** [@Alexandros888](https://discuss.elastic.co/u/Alexandros888)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 12:17pm UTC](https://discuss.elastic.co/t/jvm-gc-metrics-increase/206396 "2019-11-04T12:17:57Z")

</div>

Hello, When monitoring jvm performance in our elastic cluster we get the following results shown in image1. As it can be detected from image 1 heap memory, non heap memory and thread count show probably a good performan…

---

## [Curator\_cli - Failed to complete action: \<type 'exceptions.KeyError'\>: 'indices'](https://discuss.elastic.co/t/curator-cli-failed-to-complete-action-type-exceptions-keyerror-indices/206479)

<div class="topic-metadata">

**Author:** [@DaveyDevOps](https://discuss.elastic.co/u/DaveyDevOps)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 8:45pm UTC](https://discuss.elastic.co/t/curator-cli-failed-to-complete-action-type-exceptions-keyerror-indices/206479 "2019-11-04T20:45:21Z")

</div>

Curator 5.8.1 Elasticsearch 7.3.0 This is mostly informational. curator\_cli was working fine with Elastic 6.6.0 When connecting into our new version (7.3.0), actions were failing with Failed to complete action: \<type…

---

## [How to enable store on keyword subfield in elasticsearch in case of dynamic mapping](https://discuss.elastic.co/t/how-to-enable-store-on-keyword-subfield-in-elasticsearch-in-case-of-dynamic-mapping/205982)

<div class="topic-metadata">

**Author:** [@prakhara](https://discuss.elastic.co/u/prakhara)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 8:41pm UTC](https://discuss.elastic.co/t/how-to-enable-store-on-keyword-subfield-in-elasticsearch-in-case-of-dynamic-mapping/205982 "2019-11-04T20:41:45Z")

</div>

how to enable store on keyword subfield in elasticsearch in case of dynamic mapping

---

## [Should non-nested queries on fields in nested documents work?](https://discuss.elastic.co/t/should-non-nested-queries-on-fields-in-nested-documents-work/206209)

<div class="topic-metadata">

**Author:** [@sgarg7](https://discuss.elastic.co/u/sgarg7)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 8:34pm UTC](https://discuss.elastic.co/t/should-non-nested-queries-on-fields-in-nested-documents-work/206209 "2019-11-04T20:34:58Z")

</div>

I have defined a nested document in my mapping. If I query a field in the nested document as if it was any other field, I get no results. If I include the nested path in my query, I get results. Is this the expected beha…

---

## [Index Management Increase total fields limit](https://discuss.elastic.co/t/index-management-increase-total-fields-limit/204920)

<div class="topic-metadata">

**Author:** [@whitecoffee](https://discuss.elastic.co/u/whitecoffee)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 6:00pm UTC](https://discuss.elastic.co/t/index-management-increase-total-fields-limit/204920 "2019-11-04T18:00:33Z")

</div>

I am trying to import a jsonl file through the elastic cloud and kibana interface. ( Machine Learning -\> data visualizer) I ran into the error 'Limit of total fields \[1000\] in index \[my\_index\] has been exceeded', so in…

---

## [ES 6.4.2 clients Out of Memory Java Heap Space](https://discuss.elastic.co/t/es-6-4-2-clients-out-of-memory-java-heap-space/206226)

<div class="topic-metadata">

**Author:** [@nishantagarwal1990](https://discuss.elastic.co/u/nishantagarwal1990)\
**Replies:** 2\
**Last updated:** [November 4, 2019, 5:22pm UTC](https://discuss.elastic.co/t/es-6-4-2-clients-out-of-memory-java-heap-space/206226 "2019-11-04T17:22:14Z")

</div>

\[2019-11-02T01:09:15,188\]\[WARN \]\[i.n.c.AbstractChannelHandlerContext\] An exception 'java.lang.OutOfMemoryError: Java heap space' \[enable DEBUG level for full stacktrace\] was thrown by a user handler's exceptionCaught() m…

---

## [Do match\_phrase\_prefix queries support the zero\_terms\_query parameter?](https://discuss.elastic.co/t/do-match-phrase-prefix-queries-support-the-zero-terms-query-parameter/206442)

<div class="topic-metadata">

**Author:** [@fheathrenn](https://discuss.elastic.co/u/fheathrenn)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 4:43pm UTC](https://discuss.elastic.co/t/do-match-phrase-prefix-queries-support-the-zero-terms-query-parameter/206442 "2019-11-04T16:43:03Z")

</div>

According to the current documentation, match phrase prefix queries support the zero\_terms\_query parameter. However, if I attempt to set this parameter to "all" in a query, I get an error of type parsing\_exception with r…

---

## [Xpack security feature showing inconsistent behavior](https://discuss.elastic.co/t/xpack-security-feature-showing-inconsistent-behavior/206417)

<div class="topic-metadata">

**Author:** [@rajat\_badjatya](https://discuss.elastic.co/u/rajat_badjatya)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 3:21pm UTC](https://discuss.elastic.co/t/xpack-security-feature-showing-inconsistent-behavior/206417 "2019-11-04T15:21:18Z")

</div>

My ES cluster is running in production mode(on Kubernetes). It is accessible only within the organization so, for now, there is no need for securing the connection between ES nodes with certificates. While setting up the…

---

## [C# sending a get request with a body to ElasticSearch](https://discuss.elastic.co/t/c-sending-a-get-request-with-a-body-to-elasticsearch/205758)

<div class="topic-metadata">

**Author:** [@Matt\_McGovern](https://discuss.elastic.co/u/Matt_McGovern)\
**Replies:** 4\
**Last updated:** [November 4, 2019, 3:18pm UTC](https://discuss.elastic.co/t/c-sending-a-get-request-with-a-body-to-elasticsearch/205758 "2019-11-04T15:18:08Z")

</div>

I'm trying to return the data from an existing visualization, called from an external source (written in C#). This can be done in Postman using a GET with a body request (this body copied from the request found when "In…

---

## [Elastic Search Unknown eployment](https://discuss.elastic.co/t/elastic-search-unknown-eployment/206427)

<div class="topic-metadata">

**Author:** [@darking360](https://discuss.elastic.co/u/darking360)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 3:17pm UTC](https://discuss.elastic.co/t/elastic-search-unknown-eployment/206427 "2019-11-04T15:17:00Z")

</div>

Greetings everyone. I have an Elastic Search service hosted with Elastic.co, and when creating new documents from a Python app everything works as expected, but in 4 opportunities I got this message from Elastic Search: …

---

## [scala.MatchError: null - ElasticSearch Nested mapping - Migrate from ES 5.6.3 to 6.8.3](https://discuss.elastic.co/t/scala-matcherror-null-elasticsearch-nested-mapping-migrate-from-es-5-6-3-to-6-8-3/206419)

<div class="topic-metadata">

**Author:** [@visu0307](https://discuss.elastic.co/u/visu0307)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 2:24pm UTC](https://discuss.elastic.co/t/scala-matcherror-null-elasticsearch-nested-mapping-migrate-from-es-5-6-3-to-6-8-3/206419 "2019-11-04T14:24:22Z")

</div>

Hi All, Need some help. I am using PySpark ( Spark 2.2.0, Scala 2.11.8, AWS EMR emr-5.8.0) and trying to migrate from Elasticsearch 5.6.3 to 6.8.3. The following jar i have been using so far: elasticsearch-spark-20\_2…

---

## [CircuitBreakingException on my ES cluster](https://discuss.elastic.co/t/circuitbreakingexception-on-my-es-cluster/205114)

<div class="topic-metadata">

**Author:** [@SJH](https://discuss.elastic.co/u/SJH)\
**Replies:** 4\
**Last updated:** [November 4, 2019, 1:31pm UTC](https://discuss.elastic.co/t/circuitbreakingexception-on-my-es-cluster/205114 "2019-11-04T13:31:15Z")

</div>

Hello all, I keep encountering a CircuitBreakingException on my ES cluster The following stack trace seems to suggest that the CircuitBreakingException is taking place during a seemingly lightweight call (cluster:monit…

---

## [Nested objects proximity query](https://discuss.elastic.co/t/nested-objects-proximity-query/206410)

<div class="topic-metadata">

**Author:** [@Trausti\_Dagsson](https://discuss.elastic.co/u/Trausti_Dagsson)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 1:15pm UTC](https://discuss.elastic.co/t/nested-objects-proximity-query/206410 "2019-11-04T13:15:00Z")

</div>

Hello everyone. Is it possible to query on nested data and take into account nested items proximity? Let me hopefully make myself understandable: Look at the example below, it is a part of a sentence where each word i…

---

## [Best practice for denormalize Relational database table to Elasticsearch](https://discuss.elastic.co/t/best-practice-for-denormalize-relational-database-table-to-elasticsearch/206404)

<div class="topic-metadata">

**Author:** [@LinJIngYun](https://discuss.elastic.co/u/LinJIngYun)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 12:57pm UTC](https://discuss.elastic.co/t/best-practice-for-denormalize-relational-database-table-to-elasticsearch/206404 "2019-11-04T12:57:49Z")

</div>

Greeting everybody. How I can denormalize MongoDB(normalize) collections that have relation between collections (joined) and insert it to Elasticsearch (denormalized data)? For now I have an simplest ways is Create API…

---

## [Accessing extended stats bucket in sibling aggregation](https://discuss.elastic.co/t/accessing-extended-stats-bucket-in-sibling-aggregation/206395)

<div class="topic-metadata">

**Author:** [@mcampster](https://discuss.elastic.co/u/mcampster)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 12:15pm UTC](https://discuss.elastic.co/t/accessing-extended-stats-bucket-in-sibling-aggregation/206395 "2019-11-04T12:15:13Z")

</div>

I am trying to access the lower and upper thresholds from the extended\_stats\_bucket in another aggregation but not having any joy. (Elastic 5.4). What am I doing wrong? { "size": 0, "aggs": { "byWeeklyDocCount":…

---

## [New cluster vs. existing on Kubernetes](https://discuss.elastic.co/t/new-cluster-vs-existing-on-kubernetes/206389)

<div class="topic-metadata">

**Author:** [@bcbrockway](https://discuss.elastic.co/u/bcbrockway)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 11:43am UTC](https://discuss.elastic.co/t/new-cluster-vs-existing-on-kubernetes/206389 "2019-11-04T11:43:59Z")

</div>

Hey, we ran into the same issue as this - Recreate a cluster with the same cluster\_uuid in k8s stetefullset configuration - and will now add a persistent volume to the master nodes but I was wondering what best practices…

---

## [Is there a way to check ES busy status](https://discuss.elastic.co/t/is-there-a-way-to-check-es-busy-status/206124)

<div class="topic-metadata">

**Author:** [@May](https://discuss.elastic.co/u/May)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 10:17am UTC](https://discuss.elastic.co/t/is-there-a-way-to-check-es-busy-status/206124 "2019-11-04T10:17:58Z")

</div>

I am using ES as backend for an app. To avoid ES not responding due to concurrent requests at the same time, is there a way to check ES busy status?

---

## [Does Elasticsearch high-level client offer a method similar to wrapperQuery?](https://discuss.elastic.co/t/does-elasticsearch-high-level-client-offer-a-method-similar-to-wrapperquery/206364)

<div class="topic-metadata">

**Author:** [@Pato\_Python](https://discuss.elastic.co/u/Pato_Python)\
**Replies:** 0\
**Last updated:** [November 4, 2019, 10:17am UTC](https://discuss.elastic.co/t/does-elasticsearch-high-level-client-offer-a-method-similar-to-wrapperquery/206364 "2019-11-04T10:17:43Z")

</div>

Does Elasticsearch high-level client offer a method similar to wrapperQuery​(java.lang.String source) that can be used to build highlight property of a search request? Context: We're bulding an API layer that will a…

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

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