# Elasticsearch

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

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

**Page:** 1650

---

## [Accessing the value of a dynamic key in an object](https://discuss.elastic.co/t/accessing-the-value-of-a-dynamic-key-in-an-object/136012)

<div class="topic-metadata">

**Author:** [@pungent](https://discuss.elastic.co/u/pungent)\
**Replies:** 5\
**Last updated:** [June 18, 2018, 5:56pm UTC](https://discuss.elastic.co/t/accessing-the-value-of-a-dynamic-key-in-an-object/136012 "2018-06-18T17:56:13Z")

</div>

Partial mapping of one of my index is as follows: "schools": { "type": "object", "dynamic": true, "properties": {} } A sample schools object of an existing document is: "schools": { "8291": { "max": 11, …

---

## [Manually invalidate request cache](https://discuss.elastic.co/t/manually-invalidate-request-cache/136344)

<div class="topic-metadata">

**Author:** [@kennethnanwu](https://discuss.elastic.co/u/kennethnanwu)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 4:46pm UTC](https://discuss.elastic.co/t/manually-invalidate-request-cache/136344 "2018-06-18T16:46:19Z")

</div>

Hello, if it is possible to keep the cached results for a certain period of time? The problem I am having is that I have 40+ visualizations in a Kibana dashboard, and they are querying against very large amounts of dat…

---

## [BIG\_INTEGER issues in nested documents during reindex](https://discuss.elastic.co/t/big-integer-issues-in-nested-documents-during-reindex/135430)

<div class="topic-metadata">

**Author:** [@afaraone](https://discuss.elastic.co/u/afaraone)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 4:37pm UTC](https://discuss.elastic.co/t/big-integer-issues-in-nested-documents-during-reindex/135430 "2018-06-18T16:37:56Z")

</div>

Working in V. 2.4.3 I have to reindex our data, and am running into an issue with Integer string parsing (specifically parsing strings as integers) The Error {"error":{"root\_cause":\[{"type":"illegal\_state\_exception","…

---

## [Elasticsearch suitability](https://discuss.elastic.co/t/elasticsearch-suitability/136135)

<div class="topic-metadata">

**Author:** [@vinodhkannan](https://discuss.elastic.co/u/vinodhkannan)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 4:22pm UTC](https://discuss.elastic.co/t/elasticsearch-suitability/136135 "2018-06-18T16:22:52Z")

</div>

Apologies if the below is a naive/dumb query, I am new to Elasticsearch request to excuse. I want to know if I can use Elasticsearch for the below requirement. I have an application which runs 100s of jobs/tasks on a da…

---

## [Deleting the 30 day olderdata from the elastic search](https://discuss.elastic.co/t/deleting-the-30-day-olderdata-from-the-elastic-search/135398)

<div class="topic-metadata">

**Author:** [@sandeepnarla22322](https://discuss.elastic.co/u/sandeepnarla22322)\
**Replies:** 7\
**Last updated:** [June 18, 2018, 4:03pm UTC](https://discuss.elastic.co/t/deleting-the-30-day-olderdata-from-the-elastic-search/135398 "2018-06-18T16:03:29Z")

</div>

Hello all, Thanks in advance I want to delete the logs which are older 3 days from my elastic search index I have read about curator and have few doubts pertaining to it. I was wondering what exactly rollover option d…

---

## [Would replacing millisecond with seconds still help query faster?](https://discuss.elastic.co/t/would-replacing-millisecond-with-seconds-still-help-query-faster/136115)

<div class="topic-metadata">

**Author:** [@kennethnanwu](https://discuss.elastic.co/u/kennethnanwu)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 3:50pm UTC](https://discuss.elastic.co/t/would-replacing-millisecond-with-seconds-still-help-query-faster/136115 "2018-06-18T15:50:11Z")

</div>

I was getting lots of timeout errors so I was trying to improve query speed and came across this thread: Query much faster against timestamp in seconds than milliseconds I tried using seconds for timestamp in my environ…

---

## [Nested Aggregations are 5~10x times slower in ES 6.x than 5.6.x](https://discuss.elastic.co/t/nested-aggregations-are-5-10x-times-slower-in-es-6-x-than-5-6-x/131506)

<div class="topic-metadata">

**Author:** [@cmadera\_rp](https://discuss.elastic.co/u/cmadera_rp)\
**Replies:** 12\
**Last updated:** [June 18, 2018, 2:48pm UTC](https://discuss.elastic.co/t/nested-aggregations-are-5-10x-times-slower-in-es-6-x-than-5-6-x/131506 "2018-06-18T14:48:58Z")

</div>

I've prepare a test environment to try to find a way to fix this. I have one machine with 16 cores and 64gb ram, with ES 5.6.8 and ES 6.2.4, each instances of ES have a XMX/XMS in 30 Gb have only one index with 35.808.…

---

## [Joining](https://discuss.elastic.co/t/joining/136228)

<div class="topic-metadata">

**Author:** [@mkaczor](https://discuss.elastic.co/u/mkaczor)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 2:38pm UTC](https://discuss.elastic.co/t/joining/136228 "2018-06-18T14:38:25Z")

</div>

Hello, I am learning to use Elasticsearch. I have a little question. I created two index, one with "dateofbirth" and "names" of peoples and the second index is with "order" and names so i used system of parent/child but…

---

## [Elasticsearch: fetching match\_phrase from a document in an index](https://discuss.elastic.co/t/elasticsearch-fetching-match-phrase-from-a-document-in-an-index/136324)

<div class="topic-metadata">

**Author:** [@elasticuser2](https://discuss.elastic.co/u/elasticuser2)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 2:29pm UTC](https://discuss.elastic.co/t/elasticsearch-fetching-match-phrase-from-a-document-in-an-index/136324 "2018-06-18T14:29:59Z")

</div>

Elasticsearch docs gives an example of how to build a search query with terms that can reside in a document and fetched from an index like below GET /tweets/\_search { "query" : { "terms" : { "use…

---

## [Unsuccessful Search](https://discuss.elastic.co/t/unsuccessful-search/136122)

<div class="topic-metadata">

**Author:** [@mrbarret](https://discuss.elastic.co/u/mrbarret)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 2:06pm UTC](https://discuss.elastic.co/t/unsuccessful-search/136122 "2018-06-18T14:06:57Z")

</div>

I am using Elastic Search (and Kibana) v 6.3.0. I am unable to obtain search results through the RestHighLevelClient that appear using Kibana. Here are the steps to reproduce by issue, please let me know what you think. …

---

## [Elk 6.2.3 starting Elasticsearch Server fails](https://discuss.elastic.co/t/elk-6-2-3-starting-elasticsearch-server-fails/135638)

<div class="topic-metadata">

**Author:** [@Gowrisankar\_M](https://discuss.elastic.co/u/Gowrisankar_M)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 1:44pm UTC](https://discuss.elastic.co/t/elk-6-2-3-starting-elasticsearch-server-fails/135638 "2018-06-18T13:44:20Z")

</div>

Hello, I am using readonlyplugin for 6.2.3 which fails as like below ? any help here ? Starting Elasticsearch Server …

---

## [Elasticsearch Aggregation Error](https://discuss.elastic.co/t/elasticsearch-aggregation-error/135946)

<div class="topic-metadata">

**Author:** [@MultiplierMultiplier](https://discuss.elastic.co/u/MultiplierMultiplier)\
**Replies:** 5\
**Last updated:** [June 18, 2018, 1:23pm UTC](https://discuss.elastic.co/t/elasticsearch-aggregation-error/135946 "2018-06-18T13:23:02Z")

</div>

Hi All, I am using Graylog as our web interface and have Elasticsearch in the backend. We run aggregation searches for alerting in Graylog, but we seem to be getting errors which cause Elasticsearch to stop working for …

---

## [How many nodes I need?](https://discuss.elastic.co/t/how-many-nodes-i-need/136291)

<div class="topic-metadata">

**Author:** [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Replies:** 5\
**Last updated:** [June 18, 2018, 1:16pm UTC](https://discuss.elastic.co/t/how-many-nodes-i-need/136291 "2018-06-18T13:16:13Z")

</div>

I'd like to know how to count the number of nodes I need. As I know (but I'm pretty new, so know a little) I don't need Ingest node - Master and Data is enough. But how many Masters and how many Data nodes I need? What …

---

## [ElasticSearch - nested query in batches?](https://discuss.elastic.co/t/elasticsearch-nested-query-in-batches/136256)

<div class="topic-metadata">

**Author:** [@magorbe](https://discuss.elastic.co/u/magorbe)\
**Replies:** 5\
**Last updated:** [June 18, 2018, 12:41pm UTC](https://discuss.elastic.co/t/elasticsearch-nested-query-in-batches/136256 "2018-06-18T12:41:11Z")

</div>

Hello! I have a problem when I do a query. The mapping is very simple : { "index": { "aliases": {}, "mappings": { "level1": { "properties": { "id": { …

---

## [ResourceWatcherService Exception even on changing the permissions](https://discuss.elastic.co/t/resourcewatcherservice-exception-even-on-changing-the-permissions/135868)

<div class="topic-metadata">

**Author:** [@emanzaman](https://discuss.elastic.co/u/emanzaman)\
**Replies:** 3\
**Last updated:** [June 18, 2018, 12:18pm UTC](https://discuss.elastic.co/t/resourcewatcherservice-exception-even-on-changing-the-permissions/135868 "2018-06-18T12:18:00Z")

</div>

I have changed permission for the scripts directory to "drwxrwxr-x". But still getting the following exception: failed to run scheduled task \[org.elasticsearch.watcher.ResourceWatcherService$ResourceMonitor@3f813572\] on…

---

## [Rights elasticsearch](https://discuss.elastic.co/t/rights-elasticsearch/136299)

<div class="topic-metadata">

**Author:** [@asalma](https://discuss.elastic.co/u/asalma)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 12:04pm UTC](https://discuss.elastic.co/t/rights-elasticsearch/136299 "2018-06-18T12:04:38Z")

</div>

Please I have this erros : \[2018-06-18T11:53:48,018\]\[WARN \]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[\] uncaught exception in thread \[main\] org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateExcep…

---

## [Can Index Parsing Errors Impact node/cluster stability?](https://discuss.elastic.co/t/can-index-parsing-errors-impact-node-cluster-stability/136038)

<div class="topic-metadata">

**Author:** [@Russell\_Day](https://discuss.elastic.co/u/Russell_Day)\
**Replies:** 6\
**Last updated:** [June 18, 2018, 11:50am UTC](https://discuss.elastic.co/t/can-index-parsing-errors-impact-node-cluster-stability/136038 "2018-06-18T11:50:11Z")

</div>

Please refer to:

---

## [Filter or sort hits to get one with special flag](https://discuss.elastic.co/t/filter-or-sort-hits-to-get-one-with-special-flag/136300)

<div class="topic-metadata">

**Author:** [@ov7a](https://discuss.elastic.co/u/ov7a)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 11:44am UTC](https://discuss.elastic.co/t/filter-or-sort-hits-to-get-one-with-special-flag/136300 "2018-06-18T11:44:38Z")

</div>

I have a query like this. { "size" : 0, "query" : { "constant\_score" : { "filter" : { "bool" : { "must" : \[ { "term" : { "field1" : { …

---

## [Ingesting data from a database, via a API into ES](https://discuss.elastic.co/t/ingesting-data-from-a-database-via-a-api-into-es/136286)

<div class="topic-metadata">

**Author:** [@Ioan\_Constantin](https://discuss.elastic.co/u/Ioan_Constantin)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 10:36am UTC](https://discuss.elastic.co/t/ingesting-data-from-a-database-via-a-api-into-es/136286 "2018-06-18T10:36:53Z")

</div>

Hello, I'm new to ELK and this is my first post here. I'm working with the following scenario: -My ELK stack is installed on a VM; -I need to ingest data form another machine via an API endpoint. -That data is stored…

---

## [ES query for supporting pagination](https://discuss.elastic.co/t/es-query-for-supporting-pagination/136227)

<div class="topic-metadata">

**Author:** [@Vivek\_Singh](https://discuss.elastic.co/u/Vivek_Singh)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 9:55am UTC](https://discuss.elastic.co/t/es-query-for-supporting-pagination/136227 "2018-06-18T09:55:39Z")

</div>

I have data in ES as: "hits": { "total": 177, "max\_score": 1, "hits": \[ { "\_id": "random\_id\_1", "\_score": 1, "\_source": { "title": "Find se…

---

## [X-Pack Role Based Access to Index/Indices](https://discuss.elastic.co/t/x-pack-role-based-access-to-index-indices/136085)

<div class="topic-metadata">

**Author:** [@helper](https://discuss.elastic.co/u/helper)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 9:08am UTC](https://discuss.elastic.co/t/x-pack-role-based-access-to-index-indices/136085 "2018-06-18T09:08:27Z")

</div>

I am looking for some help setting up index based privileges to the user. I have create 2 or 3 Indexes. Created 2 users. Created a group and set Monitor as cluster privileges and Index privilege as Read and Monitor Bu…

---

## [CreateIndex and NEST 6.0.0](https://discuss.elastic.co/t/createindex-and-nest-6-0-0/136079)

<div class="topic-metadata">

**Author:** [@csgbrs](https://discuss.elastic.co/u/csgbrs)\
**Replies:** 4\
**Last updated:** [June 18, 2018, 8:46am UTC](https://discuss.elastic.co/t/createindex-and-nest-6-0-0/136079 "2018-06-18T08:46:32Z")

</div>

We used to create our indexes using NEST 5.x and ElasticSearch 5.x. We are now trying to upgrade to elasticsearch 6.x. How do we go about creating an index using nest 6.x? Furthermore, where can documentation on NEST 6.x…

---

## [Elasticsearch clients](https://discuss.elastic.co/t/elasticsearch-clients/133369)

<div class="topic-metadata">

**Author:** [@andhapp](https://discuss.elastic.co/u/andhapp)\
**Replies:** 7\
**Last updated:** [June 18, 2018, 7:24am UTC](https://discuss.elastic.co/t/elasticsearch-clients/133369 "2018-06-18T07:24:22Z")

</div>

Hello guys, This is my first question here. I've struggled to find good Elasticsearch GUI clients. Do other people share my feelings or is there a nice tool that I've missed somehow. Thanks!

---

## [Hdfs repository and HA](https://discuss.elastic.co/t/hdfs-repository-and-ha/134994)

<div class="topic-metadata">

**Author:** [@oloremo](https://discuss.elastic.co/u/oloremo)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 7:22am UTC](https://discuss.elastic.co/t/hdfs-repository-and-ha/134994 "2018-06-18T07:22:36Z")

</div>

How to configure Elastic hdfs repository so it could work with Hadoop in HA mode? I saw there is some work was done about this here: https://risdenk.github.io/2017/12/23/elasticsearch-hdfs-snapshot-repository-java-securi…

---

## [Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file logs/gc.log due to No such file or directory](https://discuss.elastic.co/t/java-hotspot-tm-64-bit-server-vm-warning-cannot-open-file-logs-gc-log-due-to-no-such-file-or-directory/136250)

<div class="topic-metadata">

**Author:** [@Yong\_Rhee](https://discuss.elastic.co/u/Yong_Rhee)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 7:22am UTC](https://discuss.elastic.co/t/java-hotspot-tm-64-bit-server-vm-warning-cannot-open-file-logs-gc-log-due-to-no-such-file-or-directory/136250 "2018-06-18T07:22:09Z")

</div>

I re-installed elasticsearch but still the previous node is running. How do I disconnect and delete previous one? This is a Window machine PS C:\\Program Files\\Elastic\\Elasticsearch\\6.3.0\> .\\bin\\elasticsearch.exe \[2018…

---

## [Change data path elasticsearch](https://discuss.elastic.co/t/change-data-path-elasticsearch/135648)

<div class="topic-metadata">

**Author:** [@sreejiths](https://discuss.elastic.co/u/sreejiths)\
**Replies:** 4\
**Last updated:** [June 18, 2018, 7:04am UTC](https://discuss.elastic.co/t/change-data-path-elasticsearch/135648 "2018-06-18T07:04:50Z")

</div>

I am using Elasticsearch Version 5.6.8 . I am changing the elasticsearch path data in elasticsearch.yml to a new folder in a new mountpoint . When i restart the elasticsearch service its giving below error \[2018-06-13…

---

## [Updating ELK causes triple write IOPS](https://discuss.elastic.co/t/updating-elk-causes-triple-write-iops/133681)

<div class="topic-metadata">

**Author:** [@JensVanDeynse](https://discuss.elastic.co/u/JensVanDeynse)\
**Replies:** 7\
**Last updated:** [June 18, 2018, 7:00am UTC](https://discuss.elastic.co/t/updating-elk-causes-triple-write-iops/133681 "2018-06-18T07:00:00Z")

</div>

Hello We (in our company) recently upgraded our ELK environment (using new servers) from 1.7.2 to 6.2.4. Another change we made is that before we used the logstash-forwarder on the hosts but now we use filebeat to forw…

---

## [Certificate hell :)](https://discuss.elastic.co/t/certificate-hell/136188)

<div class="topic-metadata">

**Author:** [@vincentv](https://discuss.elastic.co/u/vincentv)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 6:49am UTC](https://discuss.elastic.co/t/certificate-hell/136188 "2018-06-18T06:49:28Z")

</div>

Hi all, i currently have a 3 node ES cluster (6x) with kibana in front, and 3 logstash nodes behind. Because we use SSO we have TLS/SSL enabled in ES both for the nodes 9300 and clients 9200. The node to node is worki…

---

## [Confused on how to do should and should not + boosting](https://discuss.elastic.co/t/confused-on-how-to-do-should-and-should-not-boosting/136220)

<div class="topic-metadata">

**Author:** [@ehorodyski](https://discuss.elastic.co/u/ehorodyski)\
**Replies:** 0\
**Last updated:** [June 17, 2018, 6:59pm UTC](https://discuss.elastic.co/t/confused-on-how-to-do-should-and-should-not-boosting/136220 "2018-06-17T18:59:02Z")

</div>

I'm writing an API that utilizes facets to suggest products to end users based on their settings. The data is multi-faceted in the sense that a user can combine filters from multiple categories. What's more, the returned…

---

## [The download page of ES 5.6.10 links to 5.6.9](https://discuss.elastic.co/t/the-download-page-of-es-5-6-10-links-to-5-6-9/136219)

<div class="topic-metadata">

**Author:** [@Simone\_Scarduzio](https://discuss.elastic.co/u/Simone_Scarduzio)\
**Replies:** 1\
**Last updated:** [June 17, 2018, 3:45pm UTC](https://discuss.elastic.co/t/the-download-page-of-es-5-6-10-links-to-5-6-9/136219 "2018-06-17T15:45:43Z")

</div>

\[16\] Please see below link and try to download the archives: https://www.elastic.co/downloads/past-releases/elasticsearch-5-6-10

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

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