# Elasticsearch

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

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

**Page:** 1918

---

## [Indexing WGS84 polygons in an "geo\_shape" might cause validation errors eventhough the polygons are correct](https://discuss.elastic.co/t/indexing-wgs84-polygons-in-an-geo-shape-might-cause-validation-errors-eventhough-the-polygons-are-correct/104403)

<div class="topic-metadata">

**Author:** [@Arash\_Amiri](https://discuss.elastic.co/u/Arash_Amiri)\
**Replies:** 0\
**Last updated:** [October 18, 2017, 1:56pm UTC](https://discuss.elastic.co/t/indexing-wgs84-polygons-in-an-geo-shape-might-cause-validation-errors-eventhough-the-polygons-are-correct/104403 "2017-10-18T13:56:37Z")

</div>

The shape builder uses the jtsGeometry.validate() to validate a polygon. This could be an issue in some cases where the polygon is represented in WGS84. Here, the jtsGeometry (spatial4j-0.5) states: // We use cartes…

---

## [Elasticsearch - isolate master from data nodes](https://discuss.elastic.co/t/elasticsearch-isolate-master-from-data-nodes/104399)

<div class="topic-metadata">

**Author:** [@kochrist](https://discuss.elastic.co/u/kochrist)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 1:46pm UTC](https://discuss.elastic.co/t/elasticsearch-isolate-master-from-data-nodes/104399 "2017-10-18T13:46:33Z")

</div>

I want to deploy elasticsearch on top of docker but I have only three VMs Which one is better? One elasticsearch container on each VM with both master and data enabled? Two elasticsearch containers on each VM one for …

---

## [No able to add a dependency using Gradle to the Custom Auth App on Git](https://discuss.elastic.co/t/no-able-to-add-a-dependency-using-gradle-to-the-custom-auth-app-on-git/104229)

<div class="topic-metadata">

**Author:** [@Junaid03](https://discuss.elastic.co/u/Junaid03)\
**Replies:** 3\
**Last updated:** [October 18, 2017, 1:37pm UTC](https://discuss.elastic.co/t/no-able-to-add-a-dependency-using-gradle-to-the-custom-auth-app-on-git/104229 "2017-10-18T13:37:22Z")

</div>

Hi I have cloned the Custom auth app from Git, I have a third party local jar file which I want to bundle with the custom plugin for auth. I am trying to add the dependency in the gradle but am faced with an error: Link…

---

## [Create a user to use it with winlogbeat](https://discuss.elastic.co/t/create-a-user-to-use-it-with-winlogbeat/104396)

<div class="topic-metadata">

**Author:** [@cdra](https://discuss.elastic.co/u/cdra)\
**Replies:** 0\
**Last updated:** [October 18, 2017, 1:25pm UTC](https://discuss.elastic.co/t/create-a-user-to-use-it-with-winlogbeat/104396 "2017-10-18T13:25:13Z")

</div>

We've a Windows standalone computer (Server1) with elasticsearch and kibana. Default installation. In other Windows server (server2) we've installed winlogbeat. We need to configure index template in Server1, so I thin…

---

## [C# NEST 5 Search with template](https://discuss.elastic.co/t/c-nest-5-search-with-template/104074)

<div class="topic-metadata">

**Author:** [@Itay\_Itzhaki](https://discuss.elastic.co/u/Itay_Itzhaki)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 12:58pm UTC](https://discuss.elastic.co/t/c-nest-5-search-with-template/104074 "2017-10-18T12:58:23Z")

</div>

how can i use the ElasticClient SearchTemplateAsync method with skip, size, aggregations , and so forth.. in the latest c# driver searching with templates is based on the method SearchTemplateAsync rather than SearchAsy…

---

## [Indice transfert from ES 2,x to ES 5.x](https://discuss.elastic.co/t/indice-transfert-from-es-2-x-to-es-5-x/104370)

<div class="topic-metadata">

**Author:** [@jfortias](https://discuss.elastic.co/u/jfortias)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 12:07pm UTC](https://discuss.elastic.co/t/indice-transfert-from-es-2-x-to-es-5-x/104370 "2017-10-18T12:07:40Z")

</div>

Hi I have 3 differents ES cluster running under ES 2.x ... I would like to transfer some indices including Mapping from ES 2 (3 clusters) to ES 5 (1 cluster). What's the best way to do that ? Jérôme Fortias

---

## [Poor query performance after removing types for ES6](https://discuss.elastic.co/t/poor-query-performance-after-removing-types-for-es6/104386)

<div class="topic-metadata">

**Author:** [@jong99](https://discuss.elastic.co/u/jong99)\
**Replies:** 0\
**Last updated:** [October 18, 2017, 12:06pm UTC](https://discuss.elastic.co/t/poor-query-performance-after-removing-types-for-es6/104386 "2017-10-18T12:06:48Z")

</div>

In preparation for the removal of types I'm experimenting with ES6.0.0-rc1 to upgrade from our ancient 2.4.6 install. I'm trying to take our index with hundreds of types and split it into multiple indexes (since it's 1 …

---

## [ES Aggregation hit that can fit multiple buckets should be in all buckets](https://discuss.elastic.co/t/es-aggregation-hit-that-can-fit-multiple-buckets-should-be-in-all-buckets/104378)

<div class="topic-metadata">

**Author:** [@ojamui](https://discuss.elastic.co/u/ojamui)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 12:02pm UTC](https://discuss.elastic.co/t/es-aggregation-hit-that-can-fit-multiple-buckets-should-be-in-all-buckets/104378 "2017-10-18T12:02:38Z")

</div>

Hey all Im trying to solve a BI problem for my company, and we utilize ES for most of our statistics Lets say i have 2 date fields in an entry. now lets say that those two dates are from the same date and are only a co…

---

## [How to handle search query with both words and numbers](https://discuss.elastic.co/t/how-to-handle-search-query-with-both-words-and-numbers/104054)

<div class="topic-metadata">

**Author:** [@Karolinebryn](https://discuss.elastic.co/u/Karolinebryn)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 11:51am UTC](https://discuss.elastic.co/t/how-to-handle-search-query-with-both-words-and-numbers/104054 "2017-10-18T11:51:33Z")

</div>

Hi! How can I handle search queries that might contain both words and numbers (typically a year, but it can also be a paragraph, chapter etc) in a good way? The issue is that if a user search for "taxes 2017" they will…

---

## [How to achieve multi-tenancy in elasticsearch/kibana](https://discuss.elastic.co/t/how-to-achieve-multi-tenancy-in-elasticsearch-kibana/104357)

<div class="topic-metadata">

**Author:** [@annu](https://discuss.elastic.co/u/annu)\
**Replies:** 2\
**Last updated:** [October 18, 2017, 10:57am UTC](https://discuss.elastic.co/t/how-to-achieve-multi-tenancy-in-elasticsearch-kibana/104357 "2017-10-18T10:57:36Z")

</div>

Hi i want to give read only permissions to my dashboards, so that the other user groups will not be able to make changes in that. Is this possible with elasticsearch/kibana? thanks Annu

---

## [ParsingException\[\[match\] unknown token \[START\_OBJECT\] after \[query\]\]](https://discuss.elastic.co/t/parsingexception-match-unknown-token-start-object-after-query/103918)

<div class="topic-metadata">

**Author:** [@varun\_kumar2](https://discuss.elastic.co/u/varun_kumar2)\
**Replies:** 3\
**Last updated:** [October 18, 2017, 10:32am UTC](https://discuss.elastic.co/t/parsingexception-match-unknown-token-start-object-after-query/103918 "2017-10-18T10:32:18Z")

</div>

Getting error "input": { "search": { "request": { "search\_type": "query\_then\_fetch", "indices": \[ "logstash-\*" \],…

---

## [How to clean the .watcher-history index?](https://discuss.elastic.co/t/how-to-clean-the-watcher-history-index/104362)

<div class="topic-metadata">

**Author:** [@Martin\_Becker](https://discuss.elastic.co/u/Martin_Becker)\
**Replies:** 2\
**Last updated:** [October 18, 2017, 10:30am UTC](https://discuss.elastic.co/t/how-to-clean-the-watcher-history-index/104362 "2017-10-18T10:30:17Z")

</div>

I use some watches to monitor incoming data on a production system. Therefore I created a dashboard (found it on github). Before installing the correct watches I tried some stupid stuff which now appears in the .watcher-…

---

## [Using elasticsearch in tomcat, getting NoClassFoundException](https://discuss.elastic.co/t/using-elasticsearch-in-tomcat-getting-noclassfoundexception/104341)

<div class="topic-metadata">

**Author:** [@Canappeco](https://discuss.elastic.co/u/Canappeco)\
**Replies:** 9\
**Last updated:** [October 18, 2017, 10:28am UTC](https://discuss.elastic.co/t/using-elasticsearch-in-tomcat-getting-noclassfoundexception/104341 "2017-10-18T10:28:42Z")

</div>

Hi, I am using elasticsearch in tomcat. I make a war file and put it in webapps. But now I am getting NoClassFoundException as follow: esThread is opening ... 18-Oct-2017 15:39:49.537 SEVERE \[main\] org.apache.catalina.c…

---

## [DRP and ElasticSearch](https://discuss.elastic.co/t/drp-and-elasticsearch/104355)

<div class="topic-metadata">

**Author:** [@jfortias](https://discuss.elastic.co/u/jfortias)\
**Replies:** 4\
**Last updated:** [October 18, 2017, 10:20am UTC](https://discuss.elastic.co/t/drp-and-elasticsearch/104355 "2017-10-18T10:20:45Z")

</div>

Hello I have a problem of architecture (infra) : I have an ES Cluster running well. But I would lile to deploy a copy of this cluster in another site (far 1000 km) .... I would like to align in almost real time both sit…

---

## [Configuring a Watcher to detect document changes in an Index](https://discuss.elastic.co/t/configuring-a-watcher-to-detect-document-changes-in-an-index/104096)

<div class="topic-metadata">

**Author:** [@MarkG](https://discuss.elastic.co/u/MarkG)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 10:20am UTC](https://discuss.elastic.co/t/configuring-a-watcher-to-detect-document-changes-in-an-index/104096 "2017-10-18T10:20:33Z")

</div>

What I'm trying to achieve is to see if it's possible to detect changes to a document in an index. Basically if any part of the document changes I want the watcher to trigger a microservice to capture the changes. I wa…

---

## [How to include child aggregations into parent results?](https://discuss.elastic.co/t/how-to-include-child-aggregations-into-parent-results/104356)

<div class="topic-metadata">

**Author:** [@StefanGl](https://discuss.elastic.co/u/StefanGl)\
**Replies:** 0\
**Last updated:** [October 18, 2017, 8:56am UTC](https://discuss.elastic.co/t/how-to-include-child-aggregations-into-parent-results/104356 "2017-10-18T08:56:39Z")

</div>

I've got the following parent/child mapping here: { "mappings": { "parentBook": { "properties": { "ean": { "type": "keyword" }, "title": { "type": "string" …

---

## [Centralized Logging Management in production with ELK](https://discuss.elastic.co/t/centralized-logging-management-in-production-with-elk/104347)

<div class="topic-metadata">

**Author:** [@Cristi\_Girbovan](https://discuss.elastic.co/u/Cristi_Girbovan)\
**Replies:** 0\
**Last updated:** [October 18, 2017, 8:26am UTC](https://discuss.elastic.co/t/centralized-logging-management-in-production-with-elk/104347 "2017-10-18T08:26:01Z")

</div>

Hello everybody, We are trying to implement on a production environment our logging platform. The pipeline for this platform looks something like this: Shippers(FilebeatLogstash/Logagent) -\> Apache Kafka Cluster -\> Log…

---

## [Query Routing to Node Attributes](https://discuss.elastic.co/t/query-routing-to-node-attributes/104338)

<div class="topic-metadata">

**Author:** [@newbie\_here](https://discuss.elastic.co/u/newbie_here)\
**Replies:** 0\
**Last updated:** [October 18, 2017, 7:25am UTC](https://discuss.elastic.co/t/query-routing-to-node-attributes/104338 "2017-10-18T07:25:40Z")

</div>

Hey, I have an architecture of 4 nodes, where one is a master node and the other three are data nodes. The data nodes follow the hot-warm architecture where 2 data nodes are hot nodes while the other is cold. Is there …

---

## [Smart log server](https://discuss.elastic.co/t/smart-log-server/104332)

<div class="topic-metadata">

**Author:** [@seighalani](https://discuss.elastic.co/u/seighalani)\
**Replies:** 0\
**Last updated:** [October 18, 2017, 6:26am UTC](https://discuss.elastic.co/t/smart-log-server/104332 "2017-10-18T06:26:02Z")

</div>

Hi everyone I am looking for a log server with these features for around 800 servers and network devices: log server should these 4 main section: ‫‪Log‬‬ ‫‪collect‬‬ ‫‪Log‬‬ ‫‪parse‬‬ ‫‪and‬‬ ‫‪store‬‬ ‫‪Log‬‬ ‫‪an…

---

## [Cloud-aws plugin foe elasticsearch 2.3.5](https://discuss.elastic.co/t/cloud-aws-plugin-foe-elasticsearch-2-3-5/104325)

<div class="topic-metadata">

**Author:** [@screwyy](https://discuss.elastic.co/u/screwyy)\
**Replies:** 1\
**Last updated:** [October 18, 2017, 6:07am UTC](https://discuss.elastic.co/t/cloud-aws-plugin-foe-elasticsearch-2-3-5/104325 "2017-10-18T06:07:11Z")

</div>

Hello all, I'm trying to find the S3 backup/snapshot plugin for elasticsearch 2.3.5 but I can't find it. I need the zip/tar.gz for offline install. Could you provide the link to it ? I searched the documentation and can…

---

## [Write RDD/DF to Index with no type](https://discuss.elastic.co/t/write-rdd-df-to-index-with-no-type/103728)

<div class="topic-metadata">

**Author:** [@skylerl](https://discuss.elastic.co/u/skylerl)\
**Replies:** 0\
**Last updated:** [October 12, 2017, 1:14pm UTC](https://discuss.elastic.co/t/write-rdd-df-to-index-with-no-type/103728 "2017-10-12T13:14:52Z")

</div>

EDIT: Whoops, did not realize the single type indexes were ES 5.6! Hi there, We're trying to write an RDD (with Spark Streaming) to Elasticsearch with just an index and no type, however we keep getting: org.elasticsea…

---

## [Array index out of bounds exception](https://discuss.elastic.co/t/array-index-out-of-bounds-exception/104315)

<div class="topic-metadata">

**Author:** [@Jerry\_Hoffmeister](https://discuss.elastic.co/u/Jerry_Hoffmeister)\
**Replies:** 1\
**Last updated:** [October 17, 2017, 11:31pm UTC](https://discuss.elastic.co/t/array-index-out-of-bounds-exception/104315 "2017-10-17T23:31:51Z")

</div>

Hi, I have a query that does an aggregation using a groovy script that when the query returns a large number of documents fails with an array\_index\_out\_of\_bounds\_exception. Here's the query: GET logstash-java-megatron…

---

## [TooManyClauses exception during rescore query](https://discuss.elastic.co/t/toomanyclauses-exception-during-rescore-query/104312)

<div class="topic-metadata">

**Author:** [@sharathr83](https://discuss.elastic.co/u/sharathr83)\
**Replies:** 0\
**Last updated:** [October 17, 2017, 10:57pm UTC](https://discuss.elastic.co/t/toomanyclauses-exception-during-rescore-query/104312 "2017-10-17T22:57:25Z")

</div>

Hi, I have a rescore query with a term filter with a ton of clauses (5000 plus). The query kinda looks like this: "query":{ "function\_score":{ "query":{ "bool":{ ... …

---

## [Does Java High Level REST Client have "check if exists" operation?](https://discuss.elastic.co/t/does-java-high-level-rest-client-have-check-if-exists-operation/104178)

<div class="topic-metadata">

**Author:** [@k-miras](https://discuss.elastic.co/u/k-miras)\
**Replies:** 5\
**Last updated:** [October 17, 2017, 9:21pm UTC](https://discuss.elastic.co/t/does-java-high-level-rest-client-have-check-if-exists-operation/104178 "2017-10-17T21:21:11Z")

</div>

I'm using Get API for now but I think this is inefficient

---

## [Client certificates](https://discuss.elastic.co/t/client-certificates/104302)

<div class="topic-metadata">

**Author:** [@sbhawat](https://discuss.elastic.co/u/sbhawat)\
**Replies:** 0\
**Last updated:** [October 17, 2017, 8:05pm UTC](https://discuss.elastic.co/t/client-certificates/104302 "2017-10-17T20:05:48Z")

</div>

Hi All, Had a question on java transport client certificates and setting up TLS/SSL using Xpack. Could we reuse client certificate across by multiple application servers which use java client ? Using certgen we generat…

---

## [Aggregate after sort+size](https://discuss.elastic.co/t/aggregate-after-sort-size/104195)

<div class="topic-metadata">

**Author:** [@AndreKR](https://discuss.elastic.co/u/AndreKR)\
**Replies:** 1\
**Last updated:** [October 17, 2017, 7:30pm UTC](https://discuss.elastic.co/t/aggregate-after-sort-size/104195 "2017-10-17T19:30:26Z")

</div>

I can get the newest document before a certain timestamp with this query (hopefully with reasonable performance): { "query": { "bool": { "filter": \[ { "range": { "timestamp": { …

---

## [Get all occuring fields in query result](https://discuss.elastic.co/t/get-all-occuring-fields-in-query-result/104296)

<div class="topic-metadata">

**Author:** [@Domme](https://discuss.elastic.co/u/Domme)\
**Replies:** 0\
**Last updated:** [October 17, 2017, 6:56pm UTC](https://discuss.elastic.co/t/get-all-occuring-fields-in-query-result/104296 "2017-10-17T18:56:12Z")

</div>

For a typical interactive product search application I would like to get all fields that are used in documents of a document set that has already been filtered. I know how to formulate a query to retrieve the documents …

---

## [Sub-aggregate on a scripted bucket query?](https://discuss.elastic.co/t/sub-aggregate-on-a-scripted-bucket-query/104293)

<div class="topic-metadata">

**Author:** [@casieowen](https://discuss.elastic.co/u/casieowen)\
**Replies:** 0\
**Last updated:** [October 17, 2017, 6:34pm UTC](https://discuss.elastic.co/t/sub-aggregate-on-a-scripted-bucket-query/104293 "2017-10-17T18:34:05Z")

</div>

Hi, The query below returns a percentage value at a daily grain. What I'm wondering is, can we do a sub aggregation on that to get, say, the min value of all the daily values for a month within this same query/without …

---

## [Periodic spikes in disk read IO leading to degraded performance](https://discuss.elastic.co/t/periodic-spikes-in-disk-read-io-leading-to-degraded-performance/100753)

<div class="topic-metadata">

**Author:** [@Dan\_Markhasin](https://discuss.elastic.co/u/Dan_Markhasin)\
**Replies:** 5\
**Last updated:** [October 17, 2017, 5:01pm UTC](https://discuss.elastic.co/t/periodic-spikes-in-disk-read-io-leading-to-degraded-performance/100753 "2017-10-17T17:01:31Z")

</div>

We are seeing a strange issue on one of our clusters where every several hours the read IOPS on some of the data nodes spike, causing a lot of iowait and degraded indexing performance. This can persist for several hours,…

---

## [Configure Cerebro to work with or without ldap auth](https://discuss.elastic.co/t/configure-cerebro-to-work-with-or-without-ldap-auth/104281)

<div class="topic-metadata">

**Author:** [@stecino](https://discuss.elastic.co/u/stecino)\
**Replies:** 0\
**Last updated:** [October 17, 2017, 4:37pm UTC](https://discuss.elastic.co/t/configure-cerebro-to-work-with-or-without-ldap-auth/104281 "2017-10-17T16:37:36Z")

</div>

Hello, I am using Cerebro to login to my 2.x and 5.x clusters But I also have some open clusters, I was wondering is there a way to configure Cerebro so that single instance can be used to connect to cluster that have …

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

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