# Elasticsearch

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

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

**Page:** 1882

---

## [Index.routing.allocation.\* setted in a static way](https://discuss.elastic.co/t/index-routing-allocation-setted-in-a-static-way/108605)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 0\
**Last updated:** [November 21, 2017, 6:28pm UTC](https://discuss.elastic.co/t/index-routing-allocation-setted-in-a-static-way/108605 "2017-11-21T18:28:23Z")

</div>

Hi all, currently I have a cluster with 3 nodes (with every roles setted: Master + DATA). My Elastic is filled by two different indices, football\_datestamp and basketball\_datestamp, where datestamp is YYYY.mm.dd. I wo…

---

## [Terms performance vs many should clauses](https://discuss.elastic.co/t/terms-performance-vs-many-should-clauses/108371)

<div class="topic-metadata">

**Author:** [@Aharon\_Levine](https://discuss.elastic.co/u/Aharon_Levine)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 4:53pm UTC](https://discuss.elastic.co/t/terms-performance-vs-many-should-clauses/108371 "2017-11-21T16:53:10Z")

</div>

Hi Can someone please help me understand the performance difference between these 2 queries: #1 Query with 'terms' { "query": { "bool": { "filter": \[ { "term": { "service\_id": "12345" } }, { "term": { "nam…

---

## [Watcher "Failed to execute" error](https://discuss.elastic.co/t/watcher-failed-to-execute-error/108585)

<div class="topic-metadata">

**Author:** [@Speedman](https://discuss.elastic.co/u/Speedman)\
**Replies:** 1\
**Last updated:** [November 21, 2017, 4:48pm UTC](https://discuss.elastic.co/t/watcher-failed-to-execute-error/108585 "2017-11-21T16:48:09Z")

</div>

I am new to Watcher and will readily confess that I'm having difficulty figuring out how to create an alert when we're experiencing timeouts on our transaction processors. Here's the goal: If we have 5 or more timeouts …

---

## [Join datatype 5.5](https://discuss.elastic.co/t/join-datatype-5-5/108472)

<div class="topic-metadata">

**Author:** [@ryanmcclure4](https://discuss.elastic.co/u/ryanmcclure4)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 4:12pm UTC](https://discuss.elastic.co/t/join-datatype-5-5/108472 "2017-11-21T16:12:12Z")

</div>

I've been using es 5.6 and have written my template using join datatype. I'm going to be hosting es on aws and had planned on using their ready-baked elasticsearch infrastructure, however the latest version they currentl…

---

## [Using scripted field again](https://discuss.elastic.co/t/using-scripted-field-again/108582)

<div class="topic-metadata">

**Author:** [@OucemaBellagha](https://discuss.elastic.co/u/OucemaBellagha)\
**Replies:** 0\
**Last updated:** [November 21, 2017, 3:37pm UTC](https://discuss.elastic.co/t/using-scripted-field-again/108582 "2017-11-21T15:37:32Z")

</div>

Hi, I have a scripted field returning a number "x" based on some calculation using Painless language, now I want to use that same number "x" in a new scripted field running expression language: (doc\['something'\].value /…

---

## [Is an index automatically created for filebeat?](https://discuss.elastic.co/t/is-an-index-automatically-created-for-filebeat/108580)

<div class="topic-metadata">

**Author:** [@przemolb](https://discuss.elastic.co/u/przemolb)\
**Replies:** 0\
**Last updated:** [November 21, 2017, 3:21pm UTC](https://discuss.elastic.co/t/is-an-index-automatically-created-for-filebeat/108580 "2017-11-21T15:21:03Z")

</div>

Hello, I have just started filebeat (serverX) and logstash(serverY) with the following configuration Elasticsearch (serverZ) is running on another host. how can I verify that the logs from serverX get transfered t…

---

## [Optimizing configuration for ingestion](https://discuss.elastic.co/t/optimizing-configuration-for-ingestion/108576)

<div class="topic-metadata">

**Author:** [@eyang](https://discuss.elastic.co/u/eyang)\
**Replies:** 0\
**Last updated:** [November 21, 2017, 2:52pm UTC](https://discuss.elastic.co/t/optimizing-configuration-for-ingestion/108576 "2017-11-21T14:52:32Z")

</div>

Hi all, I've been experimenting with my 3 nodes cluster with a focus on pushing the ingestion performance. The data set I use has 3 million lines, ~840MB, going in through logstash. Although I get decent performance ing…

---

## [How do I ensure 'stop' word are not picked up in my searches](https://discuss.elastic.co/t/how-do-i-ensure-stop-word-are-not-picked-up-in-my-searches/108533)

<div class="topic-metadata">

**Author:** [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Replies:** 6\
**Last updated:** [November 21, 2017, 2:35pm UTC](https://discuss.elastic.co/t/how-do-i-ensure-stop-word-are-not-picked-up-in-my-searches/108533 "2017-11-21T14:35:26Z")

</div>

HI All, I have created the following index: put newsindex { "settings" : { "number\_of\_shards":3, "number\_of\_replicas":2, "analysis": { "filter": { "my\_stop": { "type": "stop", …

---

## [Performance when using \`time\_zone\` in date\_historgram](https://discuss.elastic.co/t/performance-when-using-time-zone-in-date-historgram/107949)

<div class="topic-metadata">

**Author:** [@orweinberger](https://discuss.elastic.co/u/orweinberger)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 2:29pm UTC](https://discuss.elastic.co/t/performance-when-using-time-zone-in-date-historgram/107949 "2017-11-21T14:29:38Z")

</div>

I'm experiencing some weird performance results in Elasticsearch 5.2.0. I've been trying to debug why its taking so long to load the discover page in Kibana, the default query and aggregation (for the top bar chart) tak…

---

## [What are the limitations of array size in elastic search?](https://discuss.elastic.co/t/what-are-the-limitations-of-array-size-in-elastic-search/108413)

<div class="topic-metadata">

**Author:** [@jalaj](https://discuss.elastic.co/u/jalaj)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 2:21pm UTC](https://discuss.elastic.co/t/what-are-the-limitations-of-array-size-in-elastic-search/108413 "2017-11-21T14:21:42Z")

</div>

I have document which can have a tag array. { "name" :"User 1", "friends":\["user2","user3","user4"\] } What are the performance implications of having several elements on friends Array on insertion , retrieval etc…

---

## [Upgrade from ES6.0.0-rc1 to ES6.0.0-GA](https://discuss.elastic.co/t/upgrade-from-es6-0-0-rc1-to-es6-0-0-ga/108292)

<div class="topic-metadata">

**Author:** [@shaharmor](https://discuss.elastic.co/u/shaharmor)\
**Replies:** 3\
**Last updated:** [November 21, 2017, 2:21pm UTC](https://discuss.elastic.co/t/upgrade-from-es6-0-0-rc1-to-es6-0-0-ga/108292 "2017-11-21T14:21:29Z")

</div>

Hi, I have a cluster of ES 6.0.0-rc1 that I want to upgrade to GA. By reading the upgrade docs I understand that upgrading between 6.x to 6.y can be done using rolling upgrade, except when upgrading from pre-GA. Any s…

---

## [ES Server high CPU on CloseableThreadLocal](https://discuss.elastic.co/t/es-server-high-cpu-on-closeablethreadlocal/108455)

<div class="topic-metadata">

**Author:** [@shaharmor](https://discuss.elastic.co/u/shaharmor)\
**Replies:** 3\
**Last updated:** [November 21, 2017, 2:05pm UTC](https://discuss.elastic.co/t/es-server-high-cpu-on-closeablethreadlocal/108455 "2017-11-21T14:05:51Z")

</div>

Hi, I have 2 servers out of 3 that have high constant CPU usage due to this hot thread: 83.8% (419.2ms out of 500ms) cpu usage by thread 'elasticsearch\[elasticsearch-003\]\[flush\]\[T#5\]' 6/10 snapshots sharing follow…

---

## [Can I get only those parts of array during a search which match the result?](https://discuss.elastic.co/t/can-i-get-only-those-parts-of-array-during-a-search-which-match-the-result/108444)

<div class="topic-metadata">

**Author:** [@jalaj](https://discuss.elastic.co/u/jalaj)\
**Replies:** 1\
**Last updated:** [November 21, 2017, 2:01pm UTC](https://discuss.elastic.co/t/can-i-get-only-those-parts-of-array-during-a-search-which-match-the-result/108444 "2017-11-21T14:01:07Z")

</div>

I have document similar to below POST /index1/test { "user":"u1", "tags":\[1,2,3,4,5,6,7,8\] } The following search is executed and it returns the entire tag attribute. Can I only get the elements it matched i.e 1and…

---

## [Cannot enable x-pack with basic-flavor elastic docker image (6.0.0)](https://discuss.elastic.co/t/cannot-enable-x-pack-with-basic-flavor-elastic-docker-image-6-0-0/108166)

<div class="topic-metadata">

**Author:** [@john\_int](https://discuss.elastic.co/u/john_int)\
**Replies:** 4\
**Last updated:** [November 21, 2017, 1:59pm UTC](https://discuss.elastic.co/t/cannot-enable-x-pack-with-basic-flavor-elastic-docker-image-6-0-0/108166 "2017-11-21T13:59:02Z")

</div>

Greetings. Following the docs https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html i'm downloading the basic-flavor image. Running it with docker run -d -p 9200:9200 -e "http.host=0.0.0.0" …

---

## [Multiple documents with same \_id](https://discuss.elastic.co/t/multiple-documents-with-same-id/108567)

<div class="topic-metadata">

**Author:** [@pokaleshrey](https://discuss.elastic.co/u/pokaleshrey)\
**Replies:** 4\
**Last updated:** [November 21, 2017, 1:45pm UTC](https://discuss.elastic.co/t/multiple-documents-with-same-id/108567 "2017-11-21T13:45:08Z")

</div>

Hi, I am using single master, 2 data nodes for my cluster. (6shards, 1Replica) I also have routing specified while indexing documents. When i have indexed about 20Gb of documents, i can see multiple documents with sa…

---

## [Indexing performance degradation over time](https://discuss.elastic.co/t/indexing-performance-degradation-over-time/107470)

<div class="topic-metadata">

**Author:** [@apyshchyk](https://discuss.elastic.co/u/apyshchyk)\
**Replies:** 18\
**Last updated:** [November 21, 2017, 1:33pm UTC](https://discuss.elastic.co/t/indexing-performance-degradation-over-time/107470 "2017-11-21T13:33:14Z")

</div>

Hi everyone, I'm using ES 5.5.0 on Amazon EC2 (18 Data nodes 8 CPU, 32GB RAM, 3 master) 1 TB EBS GP2 ssd (3000 IOPS). and have issue with indexing performance (segment merging time). A bit about workflow - I'm indexing …

---

## [Error generating report for Dashboard](https://discuss.elastic.co/t/error-generating-report-for-dashboard/105008)

<div class="topic-metadata">

**Author:** [@karnamonkster](https://discuss.elastic.co/u/karnamonkster)\
**Replies:** 7\
**Last updated:** [November 21, 2017, 1:22pm UTC](https://discuss.elastic.co/t/error-generating-report-for-dashboard/105008 "2017-11-21T13:22:19Z")

</div>

Hello, I am facing issues generating PDF report for Dashboards and visualizations. Attached is the error \[Kibana Reporting Error\] System Details: Kibana 5.6.2 (Single Instance) ES: 5.6.2

---

## [Mysql to Logstash data migration!](https://discuss.elastic.co/t/mysql-to-logstash-data-migration/108534)

<div class="topic-metadata">

**Author:** [@Gobinda\_Nandi](https://discuss.elastic.co/u/Gobinda_Nandi)\
**Replies:** 1\
**Last updated:** [November 21, 2017, 12:29pm UTC](https://discuss.elastic.co/t/mysql-to-logstash-data-migration/108534 "2017-11-21T12:29:33Z")

</div>

I have a logstash.conf file running and scheduled every after one minute. Will this make my site slower and get crashed ?

---

## [Standard rules for ELK handling big data?](https://discuss.elastic.co/t/standard-rules-for-elk-handling-big-data/108540)

<div class="topic-metadata">

**Author:** [@Gobinda\_Nandi](https://discuss.elastic.co/u/Gobinda_Nandi)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 10:54am UTC](https://discuss.elastic.co/t/standard-rules-for-elk-handling-big-data/108540 "2017-11-21T10:54:23Z")

</div>

what are the standard rules for using ELK handling big ( millions ) data?

---

## [Elasticsearch 6.0.0-rc2 - Searches take a long time to run; sometimes timeout](https://discuss.elastic.co/t/elasticsearch-6-0-0-rc2-searches-take-a-long-time-to-run-sometimes-timeout/107352)

<div class="topic-metadata">

**Author:** [@pcnc](https://discuss.elastic.co/u/pcnc)\
**Replies:** 8\
**Last updated:** [November 21, 2017, 10:48am UTC](https://discuss.elastic.co/t/elasticsearch-6-0-0-rc2-searches-take-a-long-time-to-run-sometimes-timeout/107352 "2017-11-21T10:48:29Z")

</div>

Hello, We're using Elasticsearch (6.0.0-rc2) in conjunction with Kibana, and have noticed that queries take a much longer time to run. Has anything changed regarding index mappings from Elasticsearch 5.5 to 6.0.0-rc2? …

---

## [Caused by: java.lang.NoSuchFieldError: LUCENE\_4\_0\_0](https://discuss.elastic.co/t/caused-by-java-lang-nosuchfielderror-lucene-4-0-0/108517)

<div class="topic-metadata">

**Author:** [@vidyapati](https://discuss.elastic.co/u/vidyapati)\
**Replies:** 6\
**Last updated:** [November 21, 2017, 9:04am UTC](https://discuss.elastic.co/t/caused-by-java-lang-nosuchfielderror-lucene-4-0-0/108517 "2017-11-21T09:04:04Z")

</div>

Hi All, I am getting below error while using elastic search Caused by: java.lang.NoSuchFieldError: LUCENE\_4\_0\_0 I have below in POM \<dependency\> \<groupId\>org.elasticsearch.client\</groupId\> \<artifactId\>transport\</…

---

## [Elasticsearch does not start without any logs](https://discuss.elastic.co/t/elasticsearch-does-not-start-without-any-logs/108448)

<div class="topic-metadata">

**Author:** [@rpazhyannur](https://discuss.elastic.co/u/rpazhyannur)\
**Replies:** 1\
**Last updated:** [November 21, 2017, 8:53am UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start-without-any-logs/108448 "2017-11-21T08:53:00Z")

</div>

I am having trouble starting elasticsearch. I had to restart my amazon === instance running ES 5.5. This is what I see. systemctl status elasticsearch elasticsearch.service - Elasticsearch Loaded: loaded (/usr/lib/…

---

## [Strange query sentence（can pass in Kibana but failed when Unmarshal）](https://discuss.elastic.co/t/strange-query-sentence-can-pass-in-kibana-but-failed-when-unmarshal/108528)

<div class="topic-metadata">

**Author:** [@rabbitxin](https://discuss.elastic.co/u/rabbitxin)\
**Replies:** 0\
**Last updated:** [November 21, 2017, 7:47am UTC](https://discuss.elastic.co/t/strange-query-sentence-can-pass-in-kibana-but-failed-when-unmarshal/108528 "2017-11-21T07:47:21Z")

</div>

hi all: i have a sentence to query a group of users by terms (keyword field present uid) and with a range limit (long filed present unixtime ),the sentence can be executed in Kibana and curl, but when I use golang clie…

---

## [Query for watcher](https://discuss.elastic.co/t/query-for-watcher/108418)

<div class="topic-metadata">

**Author:** [@Rahulkumar](https://discuss.elastic.co/u/Rahulkumar)\
**Replies:** 4\
**Last updated:** [November 21, 2017, 6:02am UTC](https://discuss.elastic.co/t/query-for-watcher/108418 "2017-11-21T06:02:20Z")

</div>

I have error log

---

## [Variation in analysis results using different aggregation values](https://discuss.elastic.co/t/variation-in-analysis-results-using-different-aggregation-values/107900)

<div class="topic-metadata">

**Author:** [@anomalyml](https://discuss.elastic.co/u/anomalyml)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 5:29am UTC](https://discuss.elastic.co/t/variation-in-analysis-results-using-different-aggregation-values/107900 "2017-11-21T05:29:29Z")

</div>

Hi, I have a doubt with the aggregation fields present in "Fields" section while creating a new multi metric job analysis. From my understanding the value selected from fields list say "Mean" or "Sum" will determine th…

---

## [Maven build plugin failed with official document](https://discuss.elastic.co/t/maven-build-plugin-failed-with-official-document/108497)

<div class="topic-metadata">

**Author:** [@BrickXu](https://discuss.elastic.co/u/BrickXu)\
**Replies:** 1\
**Last updated:** [November 21, 2017, 4:25am UTC](https://discuss.elastic.co/t/maven-build-plugin-failed-with-official-document/108497 "2017-11-21T04:25:18Z")

</div>

Refs to https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/plugin-authors.html I build my project with maven, and the pom.xml is the following: \<?xml version="1.0" encoding="UTF-8"?\> \<project xmlns="http://maven…

---

## [Elasticsearch cluster production deployment](https://discuss.elastic.co/t/elasticsearch-cluster-production-deployment/108451)

<div class="topic-metadata">

**Author:** [@pri](https://discuss.elastic.co/u/pri)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 3:48am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-production-deployment/108451 "2017-11-21T03:48:11Z")

</div>

Hi, Have a couple of questions regarding the configuration for ES production cluster. We have a production cluster with 2 data nodes, 3 master eligible nodes and 1 coordinating node. All are configured as dedicated nod…

---

## [Running curator is no longer freeing up space for us](https://discuss.elastic.co/t/running-curator-is-no-longer-freeing-up-space-for-us/108468)

<div class="topic-metadata">

**Author:** [@dfinn](https://discuss.elastic.co/u/dfinn)\
**Replies:** 15\
**Last updated:** [November 21, 2017, 12:13am UTC](https://discuss.elastic.co/t/running-curator-is-no-longer-freeing-up-space-for-us/108468 "2017-11-21T00:13:01Z")

</div>

elasticsearch 5.3.1 We a single node ES cluster with roughly 600 gig assigned to it. Every so often it would get above the high water mark and I'd run curator usually deleting any indices older than 60 days. In the pa…

---

## [Can\`t start Elastin on CentOS 7](https://discuss.elastic.co/t/can-t-start-elastin-on-centos-7/108294)

<div class="topic-metadata">

**Author:** [@esisl](https://discuss.elastic.co/u/esisl)\
**Replies:** 3\
**Last updated:** [November 20, 2017, 7:43pm UTC](https://discuss.elastic.co/t/can-t-start-elastin-on-centos-7/108294 "2017-11-20T19:43:23Z")

</div>

I work with Elastin in CentOS 6 Now migrate on CentOS 7 /etc/elasticsearch/elasticsearch.yml cluster.name: my-application node.name: node-1 path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch network.h…

---

## [How to pass null filter in elastic search + PHP](https://discuss.elastic.co/t/how-to-pass-null-filter-in-elastic-search-php/106172)

<div class="topic-metadata">

**Author:** [@sanjay25](https://discuss.elastic.co/u/sanjay25)\
**Replies:** 1\
**Last updated:** [November 20, 2017, 7:38pm UTC](https://discuss.elastic.co/t/how-to-pass-null-filter-in-elastic-search-php/106172 "2017-11-20T19:38:34Z")

</div>

I want to filter search result. I want to search that if 'manuf\_id' is not specified than is should return all records. I also want to put AND condition in term. below is my search query in elastic. below is my code. $…

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

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