# Elasticsearch

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

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

**Page:** 1670

---

## [Curator doesnt show any output](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997)

<div class="topic-metadata">

**Author:** [@sdr31](https://discuss.elastic.co/u/sdr31)\
**Replies:** 5\
**Last updated:** [May 31, 2018, 5:40pm UTC](https://discuss.elastic.co/t/curator-doesnt-show-any-output/133997 "2018-05-31T17:40:35Z")

</div>

I am new to curator and currently trying it out. I want to run curator out of a docker so i downloaded the rpm files (version 5.5) for centos 7 and installed docker based out of centos:7 image. yum localinstall elasti…

---

## [Count results of top hits aggregation](https://discuss.elastic.co/t/count-results-of-top-hits-aggregation/134082)

<div class="topic-metadata">

**Author:** [@pri](https://discuss.elastic.co/u/pri)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 5:27pm UTC](https://discuss.elastic.co/t/count-results-of-top-hits-aggregation/134082 "2018-05-31T17:27:15Z")

</div>

Hi, I am looking to do a count of the result of top hits aggregation. The result of the top hits aggregation could be: \[ { "defect\_name": "defect1", "status": "open" }, { "defect\_name": "defect2", "status": "op…

---

## [How to use new line '\\n' in a loop](https://discuss.elastic.co/t/how-to-use-new-line-n-in-a-loop/133472)

<div class="topic-metadata">

**Author:** [@addanuj](https://discuss.elastic.co/u/addanuj)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 4:42pm UTC](https://discuss.elastic.co/t/how-to-use-new-line-n-in-a-loop/133472 "2018-05-31T16:42:08Z")

</div>

I have a watch which triggers a alert on following condition " Multiple Virus Detected Alert in last one hour" for simulation i have changed it to 10 sec. Problem: when i print following "text": "There are {{#ctx.paylo…

---

## [No monitoring data found error. The .monitoring index is also not found](https://discuss.elastic.co/t/no-monitoring-data-found-error-the-monitoring-index-is-also-not-found/134072)

<div class="topic-metadata">

**Author:** [@vnallamothu](https://discuss.elastic.co/u/vnallamothu)\
**Replies:** 2\
**Last updated:** [May 31, 2018, 4:42pm UTC](https://discuss.elastic.co/t/no-monitoring-data-found-error-the-monitoring-index-is-also-not-found/134072 "2018-05-31T16:42:02Z")

</div>

I am seeing the error "No monitoring data found" since I've installed Kibana 6.2. Can anyone help me with this?

---

## [Xpack alerting supports Jira?](https://discuss.elastic.co/t/xpack-alerting-supports-jira/133538)

<div class="topic-metadata">

**Author:** [@mugdha\_bajjuri](https://discuss.elastic.co/u/mugdha_bajjuri)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 4:39pm UTC](https://discuss.elastic.co/t/xpack-alerting-supports-jira/133538 "2018-05-31T16:39:54Z")

</div>

Can you let me know if X-Pack supports jira alerting. When a certain log encounters, a jira issue must be created.

---

## [Unable to get min\_doc\_count bucket for histogram aggs](https://discuss.elastic.co/t/unable-to-get-min-doc-count-bucket-for-histogram-aggs/132369)

<div class="topic-metadata">

**Author:** [@vleango](https://discuss.elastic.co/u/vleango)\
**Replies:** 2\
**Last updated:** [May 31, 2018, 4:15pm UTC](https://discuss.elastic.co/t/unable-to-get-min-doc-count-bucket-for-histogram-aggs/132369 "2018-05-31T16:15:35Z")

</div>

Expected: When performing a range query, I expect the histogram buckets to show all docs. Actual: Only the bucket that matches the range query is returned. When performing this "match\_all" query: GET /article/\_search …

---

## [New to Watcher and trying to find examples](https://discuss.elastic.co/t/new-to-watcher-and-trying-to-find-examples/132870)

<div class="topic-metadata">

**Author:** [@Rhonda\_Bailey](https://discuss.elastic.co/u/Rhonda_Bailey)\
**Replies:** 2\
**Last updated:** [May 31, 2018, 3:50pm UTC](https://discuss.elastic.co/t/new-to-watcher-and-trying-to-find-examples/132870 "2018-05-31T15:50:41Z")

</div>

Hi, I'm brand new to Watcher and trying to understand some of the nuances. I am looking at examples I have found and don't understand some of the conditions. Could someone take a look at this script and explain what i…

---

## [Elasticsearch 6.2.4 Preparing for removal of mapping types](https://discuss.elastic.co/t/elasticsearch-6-2-4-preparing-for-removal-of-mapping-types/134064)

<div class="topic-metadata">

**Author:** [@ld\_pvl](https://discuss.elastic.co/u/ld_pvl)\
**Replies:** 6\
**Last updated:** [May 31, 2018, 3:26pm UTC](https://discuss.elastic.co/t/elasticsearch-6-2-4-preparing-for-removal-of-mapping-types/134064 "2018-05-31T15:26:16Z")

</div>

Hi Team, Could you please help to clear a confusion I have with regards to the future removal of mapping types? According to the documenation: the \_default\_ mapping type is deprecated and will be removed in 7.x the p…

---

## [Curator: Forcemerging](https://discuss.elastic.co/t/curator-forcemerging/134014)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 3:16pm UTC](https://discuss.elastic.co/t/curator-forcemerging/134014 "2018-05-31T15:16:05Z")

</div>

Hi, After upgrading, we have a lot of indices that need optimizing. if i run a forcemerge via curator on indices older than a day will it forcemerge all indices in parallel or in sequence? Regards, D

---

## [Garbage Collection problem](https://discuss.elastic.co/t/garbage-collection-problem/134054)

<div class="topic-metadata">

**Author:** [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Replies:** 5\
**Last updated:** [May 31, 2018, 2:51pm UTC](https://discuss.elastic.co/t/garbage-collection-problem/134054 "2018-05-31T14:51:07Z")

</div>

Hi, my cluster has 4 nodes with 3 shards and 1 replica. Every node has 16G RAM and 8 cores CPU. About 50-60G data per day and now there's 55 indices, 234 shards and 2T total data. The GC problem is a little serious, and…

---

## [Watcher UI Broken on slack.message.text property](https://discuss.elastic.co/t/watcher-ui-broken-on-slack-message-text-property/131344)

<div class="topic-metadata">

**Author:** [@MorganRIch](https://discuss.elastic.co/u/MorganRIch)\
**Replies:** 2\
**Last updated:** [May 31, 2018, 2:38pm UTC](https://discuss.elastic.co/t/watcher-ui-broken-on-slack-message-text-property/131344 "2018-05-31T14:38:58Z")

</div>

There's already an existing related ticket for this here - Make \`message.text\` not required for Slack action, but responses are closed and I wanted to get an idea of when or if a fix for this is on the horizon. Right now…

---

## [Client Nodes being oom-killed](https://discuss.elastic.co/t/client-nodes-being-oom-killed/133096)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 16\
**Last updated:** [May 31, 2018, 2:30pm UTC](https://discuss.elastic.co/t/client-nodes-being-oom-killed/133096 "2018-05-31T14:30:23Z")

</div>

Hi, I'm running elasticsearch 5.6.3 and am seeing my client nodes oom-killed periodically.This is odd because heap size is set to 4GB while the server itself has 8GB of RAM and nothing else is running on the node aside …

---

## [Reindex daily-indices in a single command](https://discuss.elastic.co/t/reindex-daily-indices-in-a-single-command/128892)

<div class="topic-metadata">

**Author:** [@Ryan\_Grannell](https://discuss.elastic.co/u/Ryan_Grannell)\
**Replies:** 4\
**Last updated:** [May 31, 2018, 2:20pm UTC](https://discuss.elastic.co/t/reindex-daily-indices-in-a-single-command/128892 "2018-05-31T14:20:26Z")

</div>

Hi, I've recently had to update the type-mapping for ~30 indices, changing several fields from text → keyword \[1\]. I now need to do this again, and am wondering if there is an easier method than the one shown below. W…

---

## [Boosting query but score is null](https://discuss.elastic.co/t/boosting-query-but-score-is-null/133142)

<div class="topic-metadata">

**Author:** [@sherlonv](https://discuss.elastic.co/u/sherlonv)\
**Replies:** 3\
**Last updated:** [May 31, 2018, 2:19pm UTC](https://discuss.elastic.co/t/boosting-query-but-score-is-null/133142 "2018-05-31T14:19:08Z")

</div>

I'm not familiar when it comes to boosting the score based on a query so I be doing something wrong. But in any case, I seem to have a problem when it comes to generating scores based on boosting. All results come back w…

---

## [Watcher to run bulk index](https://discuss.elastic.co/t/watcher-to-run-bulk-index/133843)

<div class="topic-metadata">

**Author:** [@delly.set](https://discuss.elastic.co/u/delly.set)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 2:15pm UTC](https://discuss.elastic.co/t/watcher-to-run-bulk-index/133843 "2018-05-31T14:15:37Z")

</div>

hello I can execute bulk index API via curl successfully: curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/\_bulk?pretty' --data-binary @data.json I want to use watcher to run bulk index…

---

## [Paginate elastic results on specific field](https://discuss.elastic.co/t/paginate-elastic-results-on-specific-field/133724)

<div class="topic-metadata">

**Author:** [@daganm](https://discuss.elastic.co/u/daganm)\
**Replies:** 10\
**Last updated:** [May 31, 2018, 2:05pm UTC](https://discuss.elastic.co/t/paginate-elastic-results-on-specific-field/133724 "2018-05-31T14:05:18Z")

</div>

Hello ! I have data like this in my elasticsearch : { doc\_name : 'Name 1', member\_id: 'id1' } { doc\_name : 'Name 2', member\_id: 'id1' }, { doc\_name : 'Name 3', member\_id: 'id2' } I have my own …

---

## [Create index with ngram filter fails with embedded node](https://discuss.elastic.co/t/create-index-with-ngram-filter-fails-with-embedded-node/134048)

<div class="topic-metadata">

**Author:** [@ilBepi](https://discuss.elastic.co/u/ilBepi)\
**Replies:** 3\
**Last updated:** [May 31, 2018, 1:50pm UTC](https://discuss.elastic.co/t/create-index-with-ngram-filter-fails-with-embedded-node/134048 "2018-05-31T13:50:26Z")

</div>

Hello, I am creating an Elasticsearch local cluster in Java in the following way: Settings.Builder settingsBuilder = Settings.builder(); settingsBuilder.put("http.enabled", "false"); settingsBu…

---

## [Load Data In ElasticCloud](https://discuss.elastic.co/t/load-data-in-elasticcloud/134061)

<div class="topic-metadata">

**Author:** [@83500bcd6348a4be6df4](https://discuss.elastic.co/u/83500bcd6348a4be6df4)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 1:43pm UTC](https://discuss.elastic.co/t/load-data-in-elasticcloud/134061 "2018-05-31T13:43:10Z")

</div>

How to Import Data to Elastic cloud the instruction on https://www.elastic.co/blog/getting-started-with-hosted-elasticsearch-and-a-sample-dataset arent clear

---

## [Only show one hit per defined group of documents](https://discuss.elastic.co/t/only-show-one-hit-per-defined-group-of-documents/134056)

<div class="topic-metadata">

**Author:** [@randel\_2](https://discuss.elastic.co/u/randel_2)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 1:01pm UTC](https://discuss.elastic.co/t/only-show-one-hit-per-defined-group-of-documents/134056 "2018-05-31T13:01:31Z")

</div>

I'm indexing books with authors/titles and would like to know if there is a better structure then I have so far. One book can have many different titles (different editions/languages) and when searching for a title only …

---

## [Collapse does not work if the field value is empty string](https://discuss.elastic.co/t/collapse-does-not-work-if-the-field-value-is-empty-string/134060)

<div class="topic-metadata">

**Author:** [@ffoysal](https://discuss.elastic.co/u/ffoysal)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 1:19pm UTC](https://discuss.elastic.co/t/collapse-does-not-work-if-the-field-value-is-empty-string/134060 "2018-05-31T13:19:51Z")

</div>

we have fields product\_name, product\_category. We do collapse on product\_category. we have lots of documents that product\_category="" when we do collapse it collapses all the empty product\_category into one. The expe…

---

## [Connection timeout Active Directory](https://discuss.elastic.co/t/connection-timeout-active-directory/133745)

<div class="topic-metadata">

**Author:** [@meetdave2611997](https://discuss.elastic.co/u/meetdave2611997)\
**Replies:** 4\
**Last updated:** [May 31, 2018, 12:52pm UTC](https://discuss.elastic.co/t/connection-timeout-active-directory/133745 "2018-05-31T12:52:12Z")

</div>

Hello, I am facing some issue with connection with the active directory authentication Here is my configuration of elasticsearch.yml xpack: security: authc: realms: native1: type: native…

---

## [Error(Unsupported Unknown Elasticsearch version 6.1.1) during Hive and elasticsearch connectivity](https://discuss.elastic.co/t/error-unsupported-unknown-elasticsearch-version-6-1-1-during-hive-and-elasticsearch-connectivity/133657)

<div class="topic-metadata">

**Author:** [@sjain135](https://discuss.elastic.co/u/sjain135)\
**Replies:** 2\
**Last updated:** [May 31, 2018, 12:51pm UTC](https://discuss.elastic.co/t/error-unsupported-unknown-elasticsearch-version-6-1-1-during-hive-and-elasticsearch-connectivity/133657 "2018-05-31T12:51:22Z")

</div>

Hi All, I would like to push data into elastic search using hive. I am creating an external table using "org.elasticsearch.hadoop.hive.EsStorageHandler". When I am trying to insert data in this table, I am getting error…

---

## [Data warehouse](https://discuss.elastic.co/t/data-warehouse/134050)

<div class="topic-metadata">

**Author:** [@Mohammadhossein\_Bark](https://discuss.elastic.co/u/Mohammadhossein_Bark)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 12:49pm UTC](https://discuss.elastic.co/t/data-warehouse/134050 "2018-05-31T12:49:25Z")

</div>

Hi I have a data warehouse with about 14 million transactions per day( 10 years, about 51 billion records) this data has been archived on oracle and because of performance issues no analytic report can be executed on th…

---

## [Elasticsearch php nested aggregations](https://discuss.elastic.co/t/elasticsearch-php-nested-aggregations/133012)

<div class="topic-metadata">

**Author:** [@sewox](https://discuss.elastic.co/u/sewox)\
**Replies:** 5\
**Last updated:** [May 31, 2018, 12:30pm UTC](https://discuss.elastic.co/t/elasticsearch-php-nested-aggregations/133012 "2018-05-31T12:30:49Z")

</div>

hi everyone, i tired searching an trying. I need to group the nested fields. The sql query is as follows SELECT p\_application\_category,Sum(p\_recv\_bytes) as download,p\_date FROM ZLog2 $w group by p\_application\_categor…

---

## [Curator: How to run from AWS Lambda properly?](https://discuss.elastic.co/t/curator-how-to-run-from-aws-lambda-properly/134027)

<div class="topic-metadata">

**Author:** [@rolodato](https://discuss.elastic.co/u/rolodato)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 12:01pm UTC](https://discuss.elastic.co/t/curator-how-to-run-from-aws-lambda-properly/134027 "2018-05-31T12:01:08Z")

</div>

Hi, I'm fairly new to both Python and AWS Lambda, but I'm trying to get Curator running on it. This is the lambda function I'm using now, which works: import os import logging import curator logging.getLogger().handle…

---

## [Composite aggregation](https://discuss.elastic.co/t/composite-aggregation/134036)

<div class="topic-metadata">

**Author:** [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 11:34am UTC](https://discuss.elastic.co/t/composite-aggregation/134036 "2018-05-31T11:34:27Z")

</div>

Hi All, I am write some code in python to execute a composite aggregation, this in it self work. However I am having trouble pulling the data from ES. Because it is a aggregation I cannot use scroll to get the data, I n…

---

## [How to update a field data of all doc in an index in elasticsearch](https://discuss.elastic.co/t/how-to-update-a-field-data-of-all-doc-in-an-index-in-elasticsearch/133973)

<div class="topic-metadata">

**Author:** [@kish](https://discuss.elastic.co/u/kish)\
**Replies:** 2\
**Last updated:** [May 31, 2018, 11:23am UTC](https://discuss.elastic.co/t/how-to-update-a-field-data-of-all-doc-in-an-index-in-elasticsearch/133973 "2018-05-31T11:23:02Z")

</div>

I need to update a 'Decision" filed in tdcorescalio index . But i geeting belwo error. Mapping: {"tdcorescaleio":{"mappings":{"scaleio":{"properties":{"Decision":{"type":"keyword"}}},"tdcorescaleio":{"properties":{"Dec…

---

## [Performance after 5.6 -\> 6.2 upgrade](https://discuss.elastic.co/t/performance-after-5-6-6-2-upgrade/134032)

<div class="topic-metadata">

**Author:** [@Petr\_Novotny](https://discuss.elastic.co/u/Petr_Novotny)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 11:15am UTC](https://discuss.elastic.co/t/performance-after-5-6-6-2-upgrade/134032 "2018-05-31T11:15:48Z")

</div>

Hi, I upgraded our cluster from 5.6 to 6.2.4 and search performance went down, especially in aggregations, which we use quite heavily. This is how the cluster monitoring data looks like: \[es6perf\] As you can see, Heap…

---

## [Remove a node From a cluster](https://discuss.elastic.co/t/remove-a-node-from-a-cluster/133668)

<div class="topic-metadata">

**Author:** [@Hanen](https://discuss.elastic.co/u/Hanen)\
**Replies:** 15\
**Last updated:** [May 31, 2018, 11:08am UTC](https://discuss.elastic.co/t/remove-a-node-from-a-cluster/133668 "2018-05-31T11:08:12Z")

</div>

Hi, I would like to remove a node from my cluster without losing data. How can I achieve this. Many Thanks.

---

## [Delete fields from existing index](https://discuss.elastic.co/t/delete-fields-from-existing-index/133992)

<div class="topic-metadata">

**Author:** [@ysree](https://discuss.elastic.co/u/ysree)\
**Replies:** 5\
**Last updated:** [May 31, 2018, 10:56am UTC](https://discuss.elastic.co/t/delete-fields-from-existing-index/133992 "2018-05-31T10:56:27Z")

</div>

Hi, While inserting data to elastic search I got the below error. { "error": { "root\_cause": \[ { "type": "illegal\_argument\_exception", "reason": "Limit of total fields \[1000\] in index \[my\_index\] has been exceeded" …

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

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