# Elasticsearch

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

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

**Page:** 1144

---

## [Dynamic-Template Errors After Upgrading to ES 6.8](https://discuss.elastic.co/t/dynamic-template-errors-after-upgrading-to-es-6-8/200771)

<div class="topic-metadata">

**Author:** [@elasticTrouble](https://discuss.elastic.co/u/elasticTrouble)\
**Replies:** 3\
**Last updated:** [September 25, 2019, 5:13pm UTC](https://discuss.elastic.co/t/dynamic-template-errors-after-upgrading-to-es-6-8/200771 "2019-09-25T17:13:53Z")

</div>

Evening ES. I'm having some trouble successfully indexing certain events after migrating / upgrading to ES 6.8 from 5.3. I believe the root cause of the error I'm experiencing is due to an improper mapping on one of the …

---

## [Filtering by Long.MAX\_VALUE does not return any result](https://discuss.elastic.co/t/filtering-by-long-max-value-does-not-return-any-result/199786)

<div class="topic-metadata">

**Author:** [@Vova\_Marchev](https://discuss.elastic.co/u/Vova_Marchev)\
**Replies:** 4\
**Last updated:** [September 25, 2019, 4:44pm UTC](https://discuss.elastic.co/t/filtering-by-long-max-value-does-not-return-any-result/199786 "2019-09-25T16:44:17Z")

</div>

Hi all! I found an issue when I try to filter documents by range where second parameter is Long.MAX\_VALUE. For example, let's create a schema of the document: PUT /example { "mappings": { "\_doc": { …

---

## [Hardware requirement ELK](https://discuss.elastic.co/t/hardware-requirement-elk/200934)

<div class="topic-metadata">

**Author:** [@dranovskiydima](https://discuss.elastic.co/u/dranovskiydima)\
**Replies:** 3\
**Last updated:** [September 25, 2019, 4:23pm UTC](https://discuss.elastic.co/t/hardware-requirement-elk/200934 "2019-09-25T16:23:00Z")

</div>

Dear Elk support team, One point I'd like to consider with you and ask you assistance is the hardware requirements, which we should use for the reliable and efficient operation. This has likely been discussed many time…

---

## [Elasticsearch - information about index](https://discuss.elastic.co/t/elasticsearch-information-about-index/201044)

<div class="topic-metadata">

**Author:** [@Marek\_Siwiec](https://discuss.elastic.co/u/Marek_Siwiec)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 3:58pm UTC](https://discuss.elastic.co/t/elasticsearch-information-about-index/201044 "2019-09-25T15:58:40Z")

</div>

I have question about how updating information about indicies works. I processing logs by filebeat to elasticsearch using ingest pipelines and using elastic stack 7.3.0. And I checked if logs was harvested by looking o…

---

## [Word Count](https://discuss.elastic.co/t/word-count/200753)

<div class="topic-metadata">

**Author:** [@shampoo](https://discuss.elastic.co/u/shampoo)\
**Replies:** 3\
**Last updated:** [September 25, 2019, 3:35pm UTC](https://discuss.elastic.co/t/word-count/200753 "2019-09-25T15:35:54Z")

</div>

Hi, I am trying to do the following: Perform a standard search on a series of documents with a given search term. (easy enough) Count the amount of times another series of words appears within that result set. The qu…

---

## [Dedicated Coordinating Nodes With Cross Cluster Searching](https://discuss.elastic.co/t/dedicated-coordinating-nodes-with-cross-cluster-searching/200765)

<div class="topic-metadata">

**Author:** [@seth.yes](https://discuss.elastic.co/u/seth.yes)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 3:19pm UTC](https://discuss.elastic.co/t/dedicated-coordinating-nodes-with-cross-cluster-searching/200765 "2019-09-25T15:19:10Z")

</div>

I'm using Elastic v7.3 and trying to figure out how to utilize coordinating-only nodes with Cross-cluster searching. My hope is to have Kibana query two coordinating-only nodes in each cluster. However, I'm seeing in th…

---

## [What is the limitation number to define the index names while creating the template](https://discuss.elastic.co/t/what-is-the-limitation-number-to-define-the-index-names-while-creating-the-template/200979)

<div class="topic-metadata">

**Author:** [@satyam2593](https://discuss.elastic.co/u/satyam2593)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 2:41pm UTC](https://discuss.elastic.co/t/what-is-the-limitation-number-to-define-the-index-names-while-creating-the-template/200979 "2019-09-25T14:41:45Z")

</div>

I have scenario where i want to include the 10 different indices for the same template. Is it recommendable to do so, if not how can we approach this kind of scenario. How the order will work in the template? Below is…

---

## [Ingest Attachment plugin not working with WPD files](https://discuss.elastic.co/t/ingest-attachment-plugin-not-working-with-wpd-files/200721)

<div class="topic-metadata">

**Author:** [@jamesfaix](https://discuss.elastic.co/u/jamesfaix)\
**Replies:** 3\
**Last updated:** [September 25, 2019, 2:33pm UTC](https://discuss.elastic.co/t/ingest-attachment-plugin-not-working-with-wpd-files/200721 "2019-09-25T14:33:05Z")

</div>

I am trying to index files of various formats as documents in Elasticsearch 7.1, and extract their text using the Ingest Attachment plugin. I am using Amazon's managed Elasticsearch service. This has been working great …

---

## [Node Stats API Failing - "Values less than -1 bytes are not supported: -4b"](https://discuss.elastic.co/t/node-stats-api-failing-values-less-than-1-bytes-are-not-supported-4b/201048)

<div class="topic-metadata">

**Author:** [@pjaikumar](https://discuss.elastic.co/u/pjaikumar)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 2:28pm UTC](https://discuss.elastic.co/t/node-stats-api-failing-values-less-than-1-bytes-are-not-supported-4b/201048 "2019-09-25T14:28:10Z")

</div>

We are trying to call \_nodes/stats API from our monitoring systems to monitor ES cluster & nodes and its throwing up the below error but \_nodes//stats works fine. Can anybody throw some light on why this is happening ? …

---

## [Bug found!](https://discuss.elastic.co/t/bug-found/201011)

<div class="topic-metadata">

**Author:** [@stwilliams](https://discuss.elastic.co/u/stwilliams)\
**Replies:** 5\
**Last updated:** [September 25, 2019, 2:19pm UTC](https://discuss.elastic.co/t/bug-found/201011 "2019-09-25T14:19:37Z")

</div>

Found an undocumented feature while importing date data into ES with Search::elasticsearch routine (so not sure where the bug is exactly...) Error message: 'reason' =\> 'Cannot parse "2016-02-29 15:56:07 +1100": Value 2…

---

## [Getting the error "Cluster state has not been recovered yet, cannot write to the \[null\] index" in 7.3 version](https://discuss.elastic.co/t/getting-the-error-cluster-state-has-not-been-recovered-yet-cannot-write-to-the-null-index-in-7-3-version/199178)

<div class="topic-metadata">

**Author:** [@ortal\_pinhas](https://discuss.elastic.co/u/ortal_pinhas)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 2:11pm UTC](https://discuss.elastic.co/t/getting-the-error-cluster-state-has-not-been-recovered-yet-cannot-write-to-the-null-index-in-7-3-version/199178 "2019-09-25T14:11:48Z")

</div>

hi, we are trying to install elastic 7.3.0 in our env. we have some ansible task that running the following curl behind the scenes: curl -u es\_admin:changeMe -X POST 'http://eaasrt1:9201/\_security/user/nativeUser' -H …

---

## [Kibana Alerting false positives](https://discuss.elastic.co/t/kibana-alerting-false-positives/200713)

<div class="topic-metadata">

**Author:** [@benhiggins](https://discuss.elastic.co/u/benhiggins)\
**Replies:** 0\
**Last updated:** [September 23, 2019, 3:02pm UTC](https://discuss.elastic.co/t/kibana-alerting-false-positives/200713 "2019-09-23T15:02:53Z")

</div>

Hi, I'm using kibana 6.2.3 and the alerting feature. When I setup a single or just a few monitors there are no issues but when I have 10 to 15ish monitors I start to get false positives. Each monitor is running every 10…

---

## [Missing old indexes and limits?](https://discuss.elastic.co/t/missing-old-indexes-and-limits/201046)

<div class="topic-metadata">

**Author:** [@metoolostinaws](https://discuss.elastic.co/u/metoolostinaws)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 1:35pm UTC](https://discuss.elastic.co/t/missing-old-indexes-and-limits/201046 "2019-09-25T13:35:07Z")

</div>

Hi dears, this our first post here. We are quite new to Kibana and we hit a couple of problems: We currently keep daily indexes in Kibana, monitoring log files with filebeat. Mapping is static. Problems When we rei…

---

## [Setup supervisor for Elasticsearch](https://discuss.elastic.co/t/setup-supervisor-for-elasticsearch/201039)

<div class="topic-metadata">

**Author:** [@Kajal\_Rai](https://discuss.elastic.co/u/Kajal_Rai)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 1:12pm UTC](https://discuss.elastic.co/t/setup-supervisor-for-elasticsearch/201039 "2019-09-25T13:12:21Z")

</div>

I am trying to monitor Elastic search processes using supevisor. Below is the supervisord programs for it. In supervisord program \[program:elasticsearch\] command=sudo systemctl restart elasticsearch.service director…

---

## [Elasticsearch service failure code=exited, status=78/n/a](https://discuss.elastic.co/t/elasticsearch-service-failure-code-exited-status-78-n-a/201034)

<div class="topic-metadata">

**Author:** [@Kajal\_Rai](https://discuss.elastic.co/u/Kajal_Rai)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 12:41pm UTC](https://discuss.elastic.co/t/elasticsearch-service-failure-code-exited-status-78-n-a/201034 "2019-09-25T12:41:20Z")

</div>

I have installed ElasticSearch 7.3 on Ubuntu 18.04 I have done all necessary configurations. When I run it, I got the following messages in system. \*Error after running journalctl--- Sep 24 18:32:08 imacbook systemd\[1…

---

## [Bucket Script pipeline aggregation is not working with filter aggregation](https://discuss.elastic.co/t/bucket-script-pipeline-aggregation-is-not-working-with-filter-aggregation/196861)

<div class="topic-metadata">

**Author:** [@roytmana](https://discuss.elastic.co/u/roytmana)\
**Replies:** 3\
**Last updated:** [September 25, 2019, 12:39pm UTC](https://discuss.elastic.co/t/bucket-script-pipeline-aggregation-is-not-working-with-filter-aggregation/196861 "2019-09-25T12:39:31Z")

</div>

Fails with class org.elasticsearch.search.aggregations.bucket.filter.InternalFilter cannot be cast to class org.elasticsearch.search.aggregations.InternalMultiBucketAggregation Should it be that restrictive? For instan…

---

## [Could not find java in JAVA\_HOME or bundled at /usr/lib/jvm/java-8-openjdk-amd64/jre//bin/java\\](https://discuss.elastic.co/t/could-not-find-java-in-java-home-or-bundled-at-usr-lib-jvm-java-8-openjdk-amd64-jre-bin-java/200983)

<div class="topic-metadata">

**Author:** [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 12:35pm UTC](https://discuss.elastic.co/t/could-not-find-java-in-java-home-or-bundled-at-usr-lib-jvm-java-8-openjdk-amd64-jre-bin-java/200983 "2019-09-25T12:35:31Z")

</div>

Hello I am facing issue with JAVA\_HOME can someone help me out with this.

---

## [Watcher chain input, matching result set not found in action results](https://discuss.elastic.co/t/watcher-chain-input-matching-result-set-not-found-in-action-results/200534)

<div class="topic-metadata">

**Author:** [@elk\_novice](https://discuss.elastic.co/u/elk_novice)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 12:18pm UTC](https://discuss.elastic.co/t/watcher-chain-input-matching-result-set-not-found-in-action-results/200534 "2019-09-25T12:18:06Z")

</div>

Hi, I am able to successfully execute the watcher which compares the field value in two different indices. However, I am not able to see the matching result. what I get is only first and second input values. I want to se…

---

## [Use Date Histogram with Two Periods](https://discuss.elastic.co/t/use-date-histogram-with-two-periods/200929)

<div class="topic-metadata">

**Author:** [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 11:59am UTC](https://discuss.elastic.co/t/use-date-histogram-with-two-periods/200929 "2019-09-25T11:59:18Z")

</div>

Is it possible to use aggregations with date histogram to return multiple groups without having to perform the same search multiple times? Example: Day of Week Week 1 Week 2 Monday 120 125 Tuesday 110 100 W…

---

## [Apache Spark to query Elasticsearch (https and basic authentication)](https://discuss.elastic.co/t/apache-spark-to-query-elasticsearch-https-and-basic-authentication/197027)

<div class="topic-metadata">

**Author:** [@Darshan\_Parab](https://discuss.elastic.co/u/Darshan_Parab)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 11:57am UTC](https://discuss.elastic.co/t/apache-spark-to-query-elasticsearch-https-and-basic-authentication/197027 "2019-09-25T11:57:29Z")

</div>

Use case: Query secure Elasticsearch cluster (https and basic authentication enabled) using Apache Spark(pyspark and spark-submit) What I tried: start pyspark as follows: ./bin/pyspark --jars ./jars/elasticsearch-had…

---

## [Elasticsearch Update query high level rest client java api](https://discuss.elastic.co/t/elasticsearch-update-query-high-level-rest-client-java-api/200060)

<div class="topic-metadata">

**Author:** [@Dv\_Thiyanesh](https://discuss.elastic.co/u/Dv_Thiyanesh)\
**Replies:** 7\
**Last updated:** [September 25, 2019, 11:43am UTC](https://discuss.elastic.co/t/elasticsearch-update-query-high-level-rest-client-java-api/200060 "2019-09-25T11:43:13Z")

</div>

I am using elasticsearch high level rest client, i need to update the document in elasticsearch i have seen the document to update the single document but i need to update more than one document using condition how to d…

---

## [Usage of G1GC setting for Elastic 7.2.0 with JDK version 1.8.0\_77-b03](https://discuss.elastic.co/t/usage-of-g1gc-setting-for-elastic-7-2-0-with-jdk-version-1-8-0-77-b03/201020)

<div class="topic-metadata">

**Author:** [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 11:41am UTC](https://discuss.elastic.co/t/usage-of-g1gc-setting-for-elastic-7-2-0-with-jdk-version-1-8-0-77-b03/201020 "2019-09-25T11:41:26Z")

</div>

Hi , Can i use the G1GC setting with ES version 7.2.0 which is running with jdk 1.8 ? Does it has any performance issues for lower java versions or its not even supported for lower version of java as mentioned (comment…

---

## [Fscrawler ocr question](https://discuss.elastic.co/t/fscrawler-ocr-question/200665)

<div class="topic-metadata">

**Author:** [@neergttocsdivad](https://discuss.elastic.co/u/neergttocsdivad)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 11:19am UTC](https://discuss.elastic.co/t/fscrawler-ocr-question/200665 "2019-09-25T11:19:33Z")

</div>

ocr: language: "eng" enabled: false pdf\_strategy: "ocr\_and\_text" follow\_symlinks: false If I enable OCR in \_settings.yaml, will all files be OCR'd - even those which already contain indexable text - or ju…

---

## [java.lang.UnsupportedOperationException on X-pack enabled ABAC system](https://discuss.elastic.co/t/java-lang-unsupportedoperationexception-on-x-pack-enabled-abac-system/200795)

<div class="topic-metadata">

**Author:** [@soumendra](https://discuss.elastic.co/u/soumendra)\
**Replies:** 6\
**Last updated:** [September 25, 2019, 11:04am UTC](https://discuss.elastic.co/t/java-lang-unsupportedoperationexception-on-x-pack-enabled-abac-system/200795 "2019-09-25T11:04:37Z")

</div>

KB/ES version: 7.2 I am trying to build an ABAC security based Multi-Tenant system with X-Pack platinum license. There is an Index which have multiple Client's data. The Admin who has access to all three Client's data …

---

## [Error verifyng S3 repository with client name different from "default"](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340)

<div class="topic-metadata">

**Author:** [@Ale\_R](https://discuss.elastic.co/u/Ale_R)\
**Replies:** 4\
**Last updated:** [September 25, 2019, 11:01am UTC](https://discuss.elastic.co/t/error-verifyng-s3-repository-with-client-name-different-from-default/197340 "2019-09-25T11:01:08Z")

</div>

Hi all, while configuring an S3 repository on my elasticsearch cluster (version 7.2) I get error " Unknown s3 client name \[elk4cohe\]. Existing client configs: default " Note: I'm trying to use an on-prem S3 storage (co…

---

## [ElasticSearch 6+ with Magento Commerce 2.3.2](https://discuss.elastic.co/t/elasticsearch-6-with-magento-commerce-2-3-2/200214)

<div class="topic-metadata">

**Author:** [@nilesht](https://discuss.elastic.co/u/nilesht)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 10:37am UTC](https://discuss.elastic.co/t/elasticsearch-6-with-magento-commerce-2-3-2/200214 "2019-09-25T10:37:13Z")

</div>

We have installed Elasticsearch on our Pre-production server. Environment we have: Elasticsearch installed Version: 6.8.3 Magento Commerce version: 2.3.2 SplitDB enabled Catalogsearch Fulltext indexing performed No…

---

## [Accessing nested array of objects in elastic search throws null pointer exception using painless script](https://discuss.elastic.co/t/accessing-nested-array-of-objects-in-elastic-search-throws-null-pointer-exception-using-painless-script/200599)

<div class="topic-metadata">

**Author:** [@manish\_kakoti](https://discuss.elastic.co/u/manish_kakoti)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 10:28am UTC](https://discuss.elastic.co/t/accessing-nested-array-of-objects-in-elastic-search-throws-null-pointer-exception-using-painless-script/200599 "2019-09-25T10:28:54Z")

</div>

Here is the schema: "mappings": { "\_doc": { "properties": { "createdAt": { "type": "date" }, "files": { "type": "nested", "properties": { "name…

---

## [Replace index alias when a new index created](https://discuss.elastic.co/t/replace-index-alias-when-a-new-index-created/200990)

<div class="topic-metadata">

**Author:** [@jetnet](https://discuss.elastic.co/u/jetnet)\
**Replies:** 4\
**Last updated:** [September 25, 2019, 9:44am UTC](https://discuss.elastic.co/t/replace-index-alias-when-a-new-index-created/200990 "2019-09-25T09:44:31Z")

</div>

hello All, we create indices based on index templates, where corresponding aliases are configured, e.g.: { "order": 0, "version": 1, "index\_patterns": \[ "docs-app-\*" \], "aliases": { "docs-app" : {} …

---

## [How to install client using helm chart](https://discuss.elastic.co/t/how-to-install-client-using-helm-chart/197832)

<div class="topic-metadata">

**Author:** [@Vivek\_Pemawat](https://discuss.elastic.co/u/Vivek_Pemawat)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 9:30am UTC](https://discuss.elastic.co/t/how-to-install-client-using-helm-chart/197832 "2019-09-25T09:30:08Z")

</div>

We are doing fresh install of Elastic Kibana stack using the chart below on GCE K8S. How to install client is not clear from helm chart documentation And how to install client, master, and data separately? in the te…

---

## [Manage\_security Cluster privilege without role settings](https://discuss.elastic.co/t/manage-security-cluster-privilege-without-role-settings/200303)

<div class="topic-metadata">

**Author:** [@pechora](https://discuss.elastic.co/u/pechora)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 9:21am UTC](https://discuss.elastic.co/t/manage-security-cluster-privilege-without-role-settings/200303 "2019-09-25T09:21:29Z")

</div>

Greetings Everyone, I am trying to set up Elasticsearch and Kibana for a minor logging project. I need to create a role in which the user has the access to create and delete users but cannot alter the definition of role…

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

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