# Elasticsearch

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

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

**Page:** 1112

---

## [Use of master-eligible nodes that are not acting as master?](https://discuss.elastic.co/t/use-of-master-eligible-nodes-that-are-not-acting-as-master/205261)

<div class="topic-metadata">

**Author:** [@tomhe](https://discuss.elastic.co/u/tomhe)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 3:40pm UTC](https://discuss.elastic.co/t/use-of-master-eligible-nodes-that-are-not-acting-as-master/205261 "2019-10-26T15:40:19Z")

</div>

From the documentation: Indexing and searching your data is CPU-, memory-, and I/O-intensive work which can put pressure on a node’s resources. To ensure that your master node is stable and not under pressure, it is a…

---

## [Meaning of error "Unexpected character ('p' (code 112))"](https://discuss.elastic.co/t/meaning-of-error-unexpected-character-p-code-112/205313)

<div class="topic-metadata">

**Author:** [@planetracer](https://discuss.elastic.co/u/planetracer)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 12:59pm UTC](https://discuss.elastic.co/t/meaning-of-error-unexpected-character-p-code-112/205313 "2019-10-26T12:59:54Z")

</div>

Here is the full error: { "error" : { "root\_cause" : \[ { "type" : "json\_parse\_exception", "reason" : "Unexpected character ('p' (code 112)): was expecting either '' or '/' for a comment\\n at \[Source: org.elasticsea…

---

## [Store PDF documents page-wise in ES](https://discuss.elastic.co/t/store-pdf-documents-page-wise-in-es/205346)

<div class="topic-metadata">

**Author:** [@fmay](https://discuss.elastic.co/u/fmay)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 12:20pm UTC](https://discuss.elastic.co/t/store-pdf-documents-page-wise-in-es/205346 "2019-10-26T12:20:21Z")

</div>

We have a business process in which we import a number of PDF-Documents and want to search this PDF Documents per page. Means.. You import a lot of PDF documents - they should be stored in Elastic-Search You index eve…

---

## [Troubleshooting for query](https://discuss.elastic.co/t/troubleshooting-for-query/205017)

<div class="topic-metadata">

**Author:** [@Nee\_Defeng](https://discuss.elastic.co/u/Nee_Defeng)\
**Replies:** 2\
**Last updated:** [October 26, 2019, 12:06pm UTC](https://discuss.elastic.co/t/troubleshooting-for-query/205017 "2019-10-26T12:06:59Z")

</div>

Hi guys, Just wondering how you guys will find out the reason if one query does not return the result as expected? I know you can use 'explain' api to find out how the match score is calculated, but how can I use this i…

---

## [My heartbeat URL's do not show in heartbeat-\*/\_search](https://discuss.elastic.co/t/my-heartbeat-urls-do-not-show-in-heartbeat-search/205355)

<div class="topic-metadata">

**Author:** [@theslothau](https://discuss.elastic.co/u/theslothau)\
**Replies:** 0\
**Last updated:** [October 26, 2019, 11:12am UTC](https://discuss.elastic.co/t/my-heartbeat-urls-do-not-show-in-heartbeat-search/205355 "2019-10-26T11:12:56Z")

</div>

Hi, I have added some URL's to heartbeat. They show in "Uptime" all good. However, shouldn't they all be present in some form when I go to: http://:port/heartbeat-\*/\_search I cannot see them there. How do I refresh i…

---

## [Elasticsearch erroring on RaspberryPi 4](https://discuss.elastic.co/t/elasticsearch-erroring-on-raspberrypi-4/205342)

<div class="topic-metadata">

**Author:** [@bradfordaemorton](https://discuss.elastic.co/u/bradfordaemorton)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 9:24am UTC](https://discuss.elastic.co/t/elasticsearch-erroring-on-raspberrypi-4/205342 "2019-10-26T09:24:02Z")

</div>

Hi All, It has been some time since I have posted but I have a problem I can't resolve. I have recently purchased a Raspberry Pi 4 and have installed BroIDS to monitor my gateway traffic. Bro is working well but I want…

---

## [Elasticsearch index storage size](https://discuss.elastic.co/t/elasticsearch-index-storage-size/205271)

<div class="topic-metadata">

**Author:** [@haythem](https://discuss.elastic.co/u/haythem)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 10:01pm UTC](https://discuss.elastic.co/t/elasticsearch-index-storage-size/205271 "2019-10-25T22:01:34Z")

</div>

Hi guys , so it's been a while now i injected some data from oracle database to elasticsearch via logstash , so everything works fine , but lately i injected the same data from a csv file via logstash but there is a huge…

---

## [Advanced score ScriptPlugin](https://discuss.elastic.co/t/advanced-score-scriptplugin/204891)

<div class="topic-metadata">

**Author:** [@idan13](https://discuss.elastic.co/u/idan13)\
**Replies:** 2\
**Last updated:** [October 25, 2019, 9:45pm UTC](https://discuss.elastic.co/t/advanced-score-scriptplugin/204891 "2019-10-25T21:45:56Z")

</div>

Hello, I ve been trying lately to upgrade my MyNativeScriptPlugin from ES 5.6.3 to an advanced script plugin in ES 7.4.0 using scriptEngine instead of NativeScriptFactory. I ve followed this guide : https://www.elasti…

---

## [Can ES provide hooks to customized tf/idf when building index](https://discuss.elastic.co/t/can-es-provide-hooks-to-customized-tf-idf-when-building-index/204244)

<div class="topic-metadata">

**Author:** [@riverbuilding](https://discuss.elastic.co/u/riverbuilding)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 9:30pm UTC](https://discuss.elastic.co/t/can-es-provide-hooks-to-customized-tf-idf-when-building-index/204244 "2019-10-25T21:30:36Z")

</div>

can ES provide hooks to customized tf/ifd for terms when build index? ES has a DFS-query-then-fetch type, but it is really time consuming. if provide the hooks, the reindex can be complete with reading the tf/ifd from …

---

## [Esaggs 30000s](https://discuss.elastic.co/t/esaggs-30000s/205308)

<div class="topic-metadata">

**Author:** [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Replies:** 8\
**Last updated:** [October 25, 2019, 7:30pm UTC](https://discuss.elastic.co/t/esaggs-30000s/205308 "2019-10-25T19:30:17Z")

</div>

I have a lot of transactions in my indexes however each shard is around 50GB. I dont get any shard failure errors but I do get esaggs 30000ms issue on dashboards. Any idea why this is happening.

---

## [Scroll API with Remote/sub-clusters/cross-cluster search?](https://discuss.elastic.co/t/scroll-api-with-remote-sub-clusters-cross-cluster-search/201971)

<div class="topic-metadata">

**Author:** [@akoblentz](https://discuss.elastic.co/u/akoblentz)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 7:07pm UTC](https://discuss.elastic.co/t/scroll-api-with-remote-sub-clusters-cross-cluster-search/201971 "2019-10-25T19:07:29Z")

</div>

Hey there, I'm trying to figure out the right way to use the scroll API and search with remote clusters. I have examples of search using remote clusters and I have examples of scroll API for searching, but not the 2 com…

---

## [Ingest Plugin error on ECE](https://discuss.elastic.co/t/ingest-plugin-error-on-ece/204723)

<div class="topic-metadata">

**Author:** [@Francisco\_Noguera](https://discuss.elastic.co/u/Francisco_Noguera)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 6:33pm UTC](https://discuss.elastic.co/t/ingest-plugin-error-on-ece/204723 "2019-10-25T18:33:52Z")

</div>

Hi, I create a ingest pipeline on a ECE cluster, but everytime I try to ingest a document I'm receiving the next error: "root\_cause": \[ { "type": "illegal\_state\_exception", "reason": "There are no …

---

## [Cluster discovery configuration](https://discuss.elastic.co/t/cluster-discovery-configuration/204525)

<div class="topic-metadata">

**Author:** [@pinakinab](https://discuss.elastic.co/u/pinakinab)\
**Replies:** 6\
**Last updated:** [October 25, 2019, 6:07pm UTC](https://discuss.elastic.co/t/cluster-discovery-configuration/204525 "2019-10-25T18:07:43Z")

</div>

We are trying to host an elasticsearch cluster with 3 Master Nodes and 6 Data Nodes. In order to establish a cluster, we are providing discovery.seed\_hosts and cluster.initial\_master\_nodes in the elasticsearch.yml file. …

---

## [CircuitBreakingException: \[parent\] Data too large is coming in ES (7.2.0)](https://discuss.elastic.co/t/circuitbreakingexception-parent-data-too-large-is-coming-in-es-7-2-0/203941)

<div class="topic-metadata">

**Author:** [@kjain14](https://discuss.elastic.co/u/kjain14)\
**Replies:** 12\
**Last updated:** [October 25, 2019, 5:54pm UTC](https://discuss.elastic.co/t/circuitbreakingexception-parent-data-too-large-is-coming-in-es-7-2-0/203941 "2019-10-25T17:54:28Z")

</div>

We are seeking the frequent occurence of the CircuitBreakingException in our ES cluster (7.2.0). The stack-trace of the exception is as follows:- \[2019-10-16T00:34:30,850\]\[DEBUG\]\[o.e.a.a.c.n.i.TransportNodesInfoAction\]…

---

## [How to filter based on the count of terms in a field](https://discuss.elastic.co/t/how-to-filter-based-on-the-count-of-terms-in-a-field/204947)

<div class="topic-metadata">

**Author:** [@pschinis](https://discuss.elastic.co/u/pschinis)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 4:06pm UTC](https://discuss.elastic.co/t/how-to-filter-based-on-the-count-of-terms-in-a-field/204947 "2019-10-25T16:06:23Z")

</div>

So I have a field that's basically just an array of tags and what I want to do is filter out any documents where the length of that tags array (i.e. the number of tags in the field) is greater than some specific number. …

---

## [Avoid split brain](https://discuss.elastic.co/t/avoid-split-brain/205214)

<div class="topic-metadata">

**Author:** [@elk2](https://discuss.elastic.co/u/elk2)\
**Replies:** 3\
**Last updated:** [October 25, 2019, 3:22pm UTC](https://discuss.elastic.co/t/avoid-split-brain/205214 "2019-10-25T15:22:28Z")

</div>

I have a cluster with 5 nodes master+data: 2 nodes are into site A and 3 nodes are into site B. There is a possiblity that link from A to B can go down. How can I configure discovery.zen.minimum\_master\_nodes ?

---

## [Can I combine scroll and preference?](https://discuss.elastic.co/t/can-i-combine-scroll-and-preference/205289)

<div class="topic-metadata">

**Author:** [@ndtreviv](https://discuss.elastic.co/u/ndtreviv)\
**Replies:** 0\
**Last updated:** [October 25, 2019, 3:04pm UTC](https://discuss.elastic.co/t/can-i-combine-scroll-and-preference/205289 "2019-10-25T15:04:25Z")

</div>

I want to get all documents in one or more specific shards. Can I combine scroll and preference (with a shard specification) to do this? If not, how would people recommend I achieve that in the best way that produces l…

---

## [Compiling Ingest Plugin Fails](https://discuss.elastic.co/t/compiling-ingest-plugin-fails/204867)

<div class="topic-metadata">

**Author:** [@val](https://discuss.elastic.co/u/val)\
**Replies:** 7\
**Last updated:** [October 25, 2019, 2:10pm UTC](https://discuss.elastic.co/t/compiling-ingest-plugin-fails/204867 "2019-10-25T14:10:16Z")

</div>

I'm having a weird issue while trying to compile and package an ingest plugin for ES 7.4.0. I started from @spinscale's cookiecutter project template and was able to properly create the project and implement the busines…

---

## [Multi-availability-zones HA cluster on AWS EC2 instances](https://discuss.elastic.co/t/multi-availability-zones-ha-cluster-on-aws-ec2-instances/205164)

<div class="topic-metadata">

**Author:** [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Replies:** 4\
**Last updated:** [October 25, 2019, 2:07pm UTC](https://discuss.elastic.co/t/multi-availability-zones-ha-cluster-on-aws-ec2-instances/205164 "2019-10-25T14:07:29Z")

</div>

Hello... I am more of a developer than ops, so I am wondering how to deploy a HA cluster on AWS' EC2 instances. The thing is, I want this cluster to survive a zone failure... Here's what I have planned so far: 7.4.0 A…

---

## [CMSInitiatingOccupancyFraction not having any effect on GC trigger](https://discuss.elastic.co/t/cmsinitiatingoccupancyfraction-not-having-any-effect-on-gc-trigger/204230)

<div class="topic-metadata">

**Author:** [@Amit\_Agarwal](https://discuss.elastic.co/u/Amit_Agarwal)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 1:13pm UTC](https://discuss.elastic.co/t/cmsinitiatingoccupancyfraction-not-having-any-effect-on-gc-trigger/204230 "2019-10-25T13:13:11Z")

</div>

Hi, CMSInitiatingOccupancyFraction=75 flag does not seem to have any effect on GC. The GC starts at about 85-95 % old gen usage and makes the cluster status as yellow. I am using 1.7 version with java 8. Any idea what m…

---

## [Unassign shard](https://discuss.elastic.co/t/unassign-shard/205156)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 2\
**Last updated:** [October 25, 2019, 1:11pm UTC](https://discuss.elastic.co/t/unassign-shard/205156 "2019-10-25T13:11:19Z")

</div>

I know this has been ask many time. but can't find answer or fix my problem I had two node test cluster. I just abruptly shutdown/remove one node. all the shards are there but some are saying unassigned and r rally-m…

---

## [Rounding in date math](https://discuss.elastic.co/t/rounding-in-date-math/205008)

<div class="topic-metadata">

**Author:** [@Shan\_Chathusanda](https://discuss.elastic.co/u/Shan_Chathusanda)\
**Replies:** 3\
**Last updated:** [October 25, 2019, 1:10pm UTC](https://discuss.elastic.co/t/rounding-in-date-math/205008 "2019-10-25T13:10:43Z")

</div>

Hi, I am currently working on an alerting process of kibana watcher and I want to clarify the rounding of the date math in elasticsearch. As the reference said /d of the date math will round the time to the nearest day.…

---

## [Boost using caret sign](https://discuss.elastic.co/t/boost-using-caret-sign/203255)

<div class="topic-metadata">

**Author:** [@Benjamin\_Gathmann](https://discuss.elastic.co/u/Benjamin_Gathmann)\
**Replies:** 2\
**Last updated:** [October 25, 2019, 12:55pm UTC](https://discuss.elastic.co/t/boost-using-caret-sign/203255 "2019-10-25T12:55:45Z")

</div>

I read on this website https://dzone.com/articles/23-useful-elasticsearch-example-queries that I can use the caret sign ("^") to boost a field in a multi\_match query, like so: GET /bookdb\_index/\_search { "query": { …

---

## [Elastic / Logstash Paralelism](https://discuss.elastic.co/t/elastic-logstash-paralelism/205066)

<div class="topic-metadata">

**Author:** [@jmota](https://discuss.elastic.co/u/jmota)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 11:55am UTC](https://discuss.elastic.co/t/elastic-logstash-paralelism/205066 "2019-10-25T11:55:35Z")

</div>

Hi, i m trying to undestand how does parallelism works in ES ... Searched around and read several itens about it but cant find the right answer to my question. I find myself , probably, missing some concept or confiur…

---

## [Fuzzy not matching with two substitutions (distance=2)](https://discuss.elastic.co/t/fuzzy-not-matching-with-two-substitutions-distance-2/204931)

<div class="topic-metadata">

**Author:** [@Benjamin\_Gathmann](https://discuss.elastic.co/u/Benjamin_Gathmann)\
**Replies:** 2\
**Last updated:** [October 25, 2019, 11:47am UTC](https://discuss.elastic.co/t/fuzzy-not-matching-with-two-substitutions-distance-2/204931 "2019-10-25T11:47:51Z")

</div>

In ES 7.4, I have created a simple index with default mapping. There is a string field "authors". I have indexed a doc where "authors" is "Benjamin". Now I use this query: GET my\_index/\_search { "query": { "fuzz…

---

## [Add host to es.reindex.remote.whitelist via ES\_OPTS not working](https://discuss.elastic.co/t/add-host-to-es-reindex-remote-whitelist-via-es-opts-not-working/205243)

<div class="topic-metadata">

**Author:** [@jillesvangurp](https://discuss.elastic.co/u/jillesvangurp)\
**Replies:** 0\
**Last updated:** [October 25, 2019, 11:27am UTC](https://discuss.elastic.co/t/add-host-to-es-reindex-remote-whitelist-via-es-opts-not-working/205243 "2019-10-25T11:27:54Z")

</div>

I'm trying to index from elastic cloud locally in a docker container (7.4.0) but having a hard time whitelisting the remote host. I've added this to the ES\_OPTS and can see this option being logged when ES starts: -Des…

---

## [How to Start or Stop elastic search with REST](https://discuss.elastic.co/t/how-to-start-or-stop-elastic-search-with-rest/205235)

<div class="topic-metadata">

**Author:** [@Dan](https://discuss.elastic.co/u/Dan)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 11:19am UTC](https://discuss.elastic.co/t/how-to-start-or-stop-elastic-search-with-rest/205235 "2019-10-25T11:19:59Z")

</div>

I am trying to start or stop my elastic search by using REST. Is there any REST API available. Or should I need to do any kind of setup? Now I am using NSSM in windows for creating service and start and stop service. P…

---

## [Hot/Warm/Cold index assignment](https://discuss.elastic.co/t/hot-warm-cold-index-assignment/203235)

<div class="topic-metadata">

**Author:** [@Callahan](https://discuss.elastic.co/u/Callahan)\
**Replies:** 6\
**Last updated:** [October 25, 2019, 11:12am UTC](https://discuss.elastic.co/t/hot-warm-cold-index-assignment/203235 "2019-10-25T11:12:16Z")

</div>

Hi, I've set up a 3 node cluster for a testing stack. Each node is set up on Docker with the required: node.attr.data=hot / node.attr.data=warm / node.attr.data=cold respectivly. I have created a policy in Kibana as fo…

---

## [Shard cannot be allocated to the same node on which a copy of the shard already exists](https://discuss.elastic.co/t/shard-cannot-be-allocated-to-the-same-node-on-which-a-copy-of-the-shard-already-exists/205231)

<div class="topic-metadata">

**Author:** [@111168](https://discuss.elastic.co/u/111168)\
**Replies:** 0\
**Last updated:** [October 25, 2019, 10:13am UTC](https://discuss.elastic.co/t/shard-cannot-be-allocated-to-the-same-node-on-which-a-copy-of-the-shard-already-exists/205231 "2019-10-25T10:13:01Z")

</div>

помогите плиз с kibana выдал 503 curl -XGET 10.128.0.5:9200/\_cluster/allocation/explain?pretty выдал cannot allocate because allocation is not permitted to any of the nodes и the shard cannot be allocated to the sam…

---

## [Error while doing oidc - nested: ParseException\[Missing JSON object member with key "token\_type"](https://discuss.elastic.co/t/error-while-doing-oidc-nested-parseexception-missing-json-object-member-with-key-token-type/205197)

<div class="topic-metadata">

**Author:** [@yash\_nigam](https://discuss.elastic.co/u/yash_nigam)\
**Replies:** 3\
**Last updated:** [October 25, 2019, 9:49am UTC](https://discuss.elastic.co/t/error-while-doing-oidc-nested-parseexception-missing-json-object-member-with-key-token-type/205197 "2019-10-25T09:49:14Z")

</div>

Hello Team, We are using platinum-tier-xpack-trial-license While using oidc authentication without Kibana- following steps mentioned here: https://www.elastic.co/guide/en/elasticsearch/reference/7.3/oidc-without-kiban…

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

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