# Elasticsearch

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

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

**Page:** 1767

---

## [Taking snapshot of ES cluster](https://discuss.elastic.co/t/taking-snapshot-of-es-cluster/122471)

<div class="topic-metadata">

**Author:** [@Rupesh\_Ranjan](https://discuss.elastic.co/u/Rupesh_Ranjan)\
**Replies:** 0\
**Last updated:** [March 5, 2018, 9:52am UTC](https://discuss.elastic.co/t/taking-snapshot-of-es-cluster/122471 "2018-03-05T09:52:02Z")

</div>

I am trying to take snapshot of a cluster with 1 master and 3 data nodes. All the data nodes have their separate storage defined, and as per the documentation, i need a shared mount point for data to be able to take a sn…

---

## [Watcher is firing twice for the same watch](https://discuss.elastic.co/t/watcher-is-firing-twice-for-the-same-watch/122111)

<div class="topic-metadata">

**Author:** [@Maxime\_Poirier-Journ](https://discuss.elastic.co/u/Maxime_Poirier-Journ)\
**Replies:** 6\
**Last updated:** [March 5, 2018, 9:47am UTC](https://discuss.elastic.co/t/watcher-is-firing-twice-for-the-same-watch/122111 "2018-03-05T09:47:25Z")

</div>

Hi there, I have 1 or 2 watchers that I'm having issues with right now. It is set to trigger once every 30 minutes with a time range of now-30m. For some reason, they are firing twice and I have no idea why. At first i …

---

## [Creating elasticsearch cluster on the same machine](https://discuss.elastic.co/t/creating-elasticsearch-cluster-on-the-same-machine/122468)

<div class="topic-metadata">

**Author:** [@asatsi](https://discuss.elastic.co/u/asatsi)\
**Replies:** 1\
**Last updated:** [March 5, 2018, 9:34am UTC](https://discuss.elastic.co/t/creating-elasticsearch-cluster-on-the-same-machine/122468 "2018-03-05T09:34:00Z")

</div>

I have a use case where I need to create a single elasticsearch cluster of multiple nodes on the same machine. I have a heavy hardware and this is for a dev environment only. I am using ES 6.2.2 and having hard time crea…

---

## [Using ES query in Spring Boot](https://discuss.elastic.co/t/using-es-query-in-spring-boot/122214)

<div class="topic-metadata">

**Author:** [@daniender](https://discuss.elastic.co/u/daniender)\
**Replies:** 2\
**Last updated:** [March 5, 2018, 9:13am UTC](https://discuss.elastic.co/t/using-es-query-in-spring-boot/122214 "2018-03-05T09:13:11Z")

</div>

Hi all. I have a Spring Boot project with several functionalities. It uses Spring Data Elasticsearch to store documents in Elasticsearch node. And it also works as a REST Api for other applications. One of this appli…

---

## [How to put Nested entity into elastic with JAVA API?](https://discuss.elastic.co/t/how-to-put-nested-entity-into-elastic-with-java-api/122456)

<div class="topic-metadata">

**Author:** [@Phoebe](https://discuss.elastic.co/u/Phoebe)\
**Replies:** 0\
**Last updated:** [March 5, 2018, 8:15am UTC](https://discuss.elastic.co/t/how-to-put-nested-entity-into-elastic-with-java-api/122456 "2018-03-05T08:15:14Z")

</div>

the entity like: private String WebName; private String webmoduleName; private String webpageName; private String webmoduleNameAndWebPageName; private List\<String\> btnNameList; private String webpageUrl; private Str…

---

## [What is the major problem with having large heap?](https://discuss.elastic.co/t/what-is-the-major-problem-with-having-large-heap/122441)

<div class="topic-metadata">

**Author:** [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Replies:** 1\
**Last updated:** [March 5, 2018, 8:03am UTC](https://discuss.elastic.co/t/what-is-the-major-problem-with-having-large-heap/122441 "2018-03-05T08:03:21Z")

</div>

Hello . I was reading this blog and appreciate if someone can help me out. In the first chart , it says, This screenshot from Marvel shows a heap that is too small: the garbage collections are barely able to free obj…

---

## [Master Node Error - Read-only file system](https://discuss.elastic.co/t/master-node-error-read-only-file-system/121806)

<div class="topic-metadata">

**Author:** [@iamkelvinloke](https://discuss.elastic.co/u/iamkelvinloke)\
**Replies:** 4\
**Last updated:** [March 5, 2018, 7:29am UTC](https://discuss.elastic.co/t/master-node-error-read-only-file-system/121806 "2018-03-05T07:29:09Z")

</div>

In Active Master node. we keep having the logs of below example. This happens to all indices and all files in /var/lib/elasticsearch/nodes/0/indices/... We are using local disk. Disk usage is not full. We tried to use …

---

## [Which node do I have to communicate in ElasticSearch Cluster?](https://discuss.elastic.co/t/which-node-do-i-have-to-communicate-in-elasticsearch-cluster/122199)

<div class="topic-metadata">

**Author:** [@Kamome](https://discuss.elastic.co/u/Kamome)\
**Replies:** 3\
**Last updated:** [March 5, 2018, 7:21am UTC](https://discuss.elastic.co/t/which-node-do-i-have-to-communicate-in-elasticsearch-cluster/122199 "2018-03-05T07:21:51Z")

</div>

I'm planning to build ES Cluster with dedicated Master, Coordinate, Ingest and Data nodes. (I didn't separated roles in my first ES Cluster, and it became quite slow over time.) Member of cluster will be like this: 2…

---

## [AWS elasticsearch service reindexing documents](https://discuss.elastic.co/t/aws-elasticsearch-service-reindexing-documents/122405)

<div class="topic-metadata">

**Author:** [@Sagar\_Tambe](https://discuss.elastic.co/u/Sagar_Tambe)\
**Replies:** 2\
**Last updated:** [March 5, 2018, 7:06am UTC](https://discuss.elastic.co/t/aws-elasticsearch-service-reindexing-documents/122405 "2018-03-05T07:06:11Z")

</div>

I want to transfer data from one index to another on AWS elasticsearch service. I am using following CURL command. Assume I want to transfer data from index1 to index2. However its not copying all records from index1. In…

---

## [High CPU load on some node](https://discuss.elastic.co/t/high-cpu-load-on-some-node/122445)

<div class="topic-metadata">

**Author:** [@stephanustedy](https://discuss.elastic.co/u/stephanustedy)\
**Replies:** 0\
**Last updated:** [March 5, 2018, 7:01am UTC](https://discuss.elastic.co/t/high-cpu-load-on-some-node/122445 "2018-03-05T07:01:19Z")

</div>

Hi Guys, I have face problem with our cluster for few days. Suddenly the cluster spikes. I have multiple heavy queries, which is : aggregations range queries is there any suggestion how to improve or what to check? …

---

## [Changing the number of shards and index frequency of an existing index](https://discuss.elastic.co/t/changing-the-number-of-shards-and-index-frequency-of-an-existing-index/121419)

<div class="topic-metadata">

**Author:** [@cheleyace](https://discuss.elastic.co/u/cheleyace)\
**Replies:** 14\
**Last updated:** [March 5, 2018, 6:50am UTC](https://discuss.elastic.co/t/changing-the-number-of-shards-and-index-frequency-of-an-existing-index/121419 "2018-03-05T06:50:08Z")

</div>

Hi, I am new with elasticsearch and I need to change the number of shards and index frequency of an existing index. Is there any way on how to change the shards and index frequency of an existing index without creating a…

---

## [Multi fields search bucketing and aggregation](https://discuss.elastic.co/t/multi-fields-search-bucketing-and-aggregation/122248)

<div class="topic-metadata">

**Author:** [@Monte\_A](https://discuss.elastic.co/u/Monte_A)\
**Replies:** 1\
**Last updated:** [March 5, 2018, 6:17am UTC](https://discuss.elastic.co/t/multi-fields-search-bucketing-and-aggregation/122248 "2018-03-05T06:17:40Z")

</div>

Hi All, Summary of the problem: We have search from of 5 fields and we want to find how many records matched all 5 fields, 4 fields, 3 fields, 2 fields and only one field. Is it possible to do so? Could anyone help m…

---

## [Bool Query Execution Order](https://discuss.elastic.co/t/bool-query-execution-order/122435)

<div class="topic-metadata">

**Author:** [@panda2004](https://discuss.elastic.co/u/panda2004)\
**Replies:** 0\
**Last updated:** [March 5, 2018, 4:05am UTC](https://discuss.elastic.co/t/bool-query-execution-order/122435 "2018-03-05T04:05:59Z")

</div>

Do you belive ElasticSearch will try to search the documents according to the right order in the following query? I know from this post that Elasticsearch has its own mechanism for execution based on statistics, and the…

---

## [C# NEST Elastic Client retreive more than 10000 data Problem](https://discuss.elastic.co/t/c-nest-elastic-client-retreive-more-than-10000-data-problem/122432)

<div class="topic-metadata">

**Author:** [@Ryovaldi\_Tirta](https://discuss.elastic.co/u/Ryovaldi_Tirta)\
**Replies:** 0\
**Last updated:** [March 5, 2018, 3:31am UTC](https://discuss.elastic.co/t/c-nest-elastic-client-retreive-more-than-10000-data-problem/122432 "2018-03-05T03:31:02Z")

</div>

I have a problem when using Elasticsearch to retrieve more than maximum allowed data indexed by Elasticsearch (10000 data). I tried to use Scroll Feature but make the search not giving all the requested result or in some…

---

## [7 seconds to index document once i get close to 2million documents](https://discuss.elastic.co/t/7-seconds-to-index-document-once-i-get-close-to-2million-documents/122415)

<div class="topic-metadata">

**Author:** [@skydiver](https://discuss.elastic.co/u/skydiver)\
**Replies:** 3\
**Last updated:** [March 4, 2018, 10:47pm UTC](https://discuss.elastic.co/t/7-seconds-to-index-document-once-i-get-close-to-2million-documents/122415 "2018-03-04T22:47:09Z")

</div>

Hi I'm very new to elasticsearch and running as 3 node cluster using docker. I have a large amount of data around 250 million records which is currently stored between xml files and a mysql database and found that elast…

---

## [Elastic cluster with docker externale elasticsearch.yml](https://discuss.elastic.co/t/elastic-cluster-with-docker-externale-elasticsearch-yml/122381)

<div class="topic-metadata">

**Author:** [@abdujaparov](https://discuss.elastic.co/u/abdujaparov)\
**Replies:** 2\
**Last updated:** [March 4, 2018, 5:48pm UTC](https://discuss.elastic.co/t/elastic-cluster-with-docker-externale-elasticsearch-yml/122381 "2018-03-04T17:48:30Z")

</div>

Hi, I am trying to create an elasticsearch test cluster with docker. I took compose from install elastic guide and I modified it using externale elasticsearch.yml. My problem is that I cannot build the cluster, cluste…

---

## [X-Pack Graph compared to other GraphDB](https://discuss.elastic.co/t/x-pack-graph-compared-to-other-graphdb/121919)

<div class="topic-metadata">

**Author:** [@Buntu\_Dev](https://discuss.elastic.co/u/Buntu_Dev)\
**Replies:** 2\
**Last updated:** [March 4, 2018, 5:06pm UTC](https://discuss.elastic.co/t/x-pack-graph-compared-to-other-graphdb/121919 "2018-03-04T17:06:26Z")

</div>

I'm trying to understand if x-pack Graph can be compared to a GraphDB like Neo4j, OrientDB, ArangoDB etc? How would x-pack Graph perform and what would be the pros or cons compared to a Graph database? Thanks!

---

## [Index Sort And Range Queries](https://discuss.elastic.co/t/index-sort-and-range-queries/122136)

<div class="topic-metadata">

**Author:** [@panda2004](https://discuss.elastic.co/u/panda2004)\
**Replies:** 1\
**Last updated:** [March 4, 2018, 7:37am UTC](https://discuss.elastic.co/t/index-sort-and-range-queries/122136 "2018-03-04T07:37:19Z")

</div>

Hey there, I have one index for all my data. My document model is as follows: The index is called Products index. Each product document have nested documents (sub-documents) which contain its reviews. Each product ha…

---

## [GeoIP Lite EOL pipeline filter](https://discuss.elastic.co/t/geoip-lite-eol-pipeline-filter/121369)

<div class="topic-metadata">

**Author:** [@bruno-d](https://discuss.elastic.co/u/bruno-d)\
**Replies:** 5\
**Last updated:** [March 4, 2018, 7:07am UTC](https://discuss.elastic.co/t/geoip-lite-eol-pipeline-filter/121369 "2018-03-04T07:07:38Z")

</div>

Hi it seems Geoip Lite DB is not free anymore for home user and will be not be updated anymore as before. What services do you plan to offer to replace this one ? Does IP2Location LITE is in the road map ? I am using …

---

## [Historical view of CPU across the cluster?](https://discuss.elastic.co/t/historical-view-of-cpu-across-the-cluster/121922)

<div class="topic-metadata">

**Author:** [@Badger](https://discuss.elastic.co/u/Badger)\
**Replies:** 1\
**Last updated:** [March 4, 2018, 2:05am UTC](https://discuss.elastic.co/t/historical-view-of-cpu-across-the-cluster/121922 "2018-03-04T02:05:01Z")

</div>

In 5.6.5, the monitoring overview shows me point-in-time CPU across the cluster, and the node views show me historical CPU for a single node. Can I get a cluster-wide historical view? Background ... we have a single dai…

---

## [Kibana login allways jumps to "kibana" user](https://discuss.elastic.co/t/kibana-login-allways-jumps-to-kibana-user/121371)

<div class="topic-metadata">

**Author:** [@Janjan](https://discuss.elastic.co/u/Janjan)\
**Replies:** 2\
**Last updated:** [March 4, 2018, 1:01am UTC](https://discuss.elastic.co/t/kibana-login-allways-jumps-to-kibana-user/121371 "2018-03-04T01:01:21Z")

</div>

Hello, I can't login to kibana as "elastic" user. When I enter "elastic" username and appropriate password, I always end up logged in as "kibana" user. Weird. Please, any ideas what could be wrong? Thanks, Jan

---

## [Machine Learning for elastic](https://discuss.elastic.co/t/machine-learning-for-elastic/121666)

<div class="topic-metadata">

**Author:** [@skodari](https://discuss.elastic.co/u/skodari)\
**Replies:** 1\
**Last updated:** [March 4, 2018, 12:57am UTC](https://discuss.elastic.co/t/machine-learning-for-elastic/121666 "2018-03-04T00:57:10Z")

</div>

Hi Team, I am familiar with elastic, but I'm new to Machine Learning for elastic. I have multiple indeces and fields with data. how can I implement this ? Is there any sample flow to learn Machine Learning easily ? T…

---

## [ES 6.2.1 Advice deleting old index after a reindex](https://discuss.elastic.co/t/es-6-2-1-advice-deleting-old-index-after-a-reindex/122392)

<div class="topic-metadata">

**Author:** [@ld\_pvl](https://discuss.elastic.co/u/ld_pvl)\
**Replies:** 4\
**Last updated:** [March 4, 2018, 12:50am UTC](https://discuss.elastic.co/t/es-6-2-1-advice-deleting-old-index-after-a-reindex/122392 "2018-03-04T00:50:32Z")

</div>

Hi Team, I would like to compress indexes when they become old. The problem I have at the moment is I think the only way to compress an old index is to do a reindex to create a new index with best compression index cod…

---

## [Score document by same value of the field](https://discuss.elastic.co/t/score-document-by-same-value-of-the-field/119628)

<div class="topic-metadata">

**Author:** [@mstkk](https://discuss.elastic.co/u/mstkk)\
**Replies:** 5\
**Last updated:** [February 13, 2018, 3:27pm UTC](https://discuss.elastic.co/t/score-document-by-same-value-of-the-field/119628 "2018-02-13T15:27:48Z")

</div>

Let's say you have 5 products from same users and u you list them If a user\_id (field) have same value in 5 documents, i want the fifth document to have the least document score the score should gradually decrease fr…

---

## [Wildcard search case insensitive](https://discuss.elastic.co/t/wildcard-search-case-insensitive/122337)

<div class="topic-metadata">

**Author:** [@stam585](https://discuss.elastic.co/u/stam585)\
**Replies:** 7\
**Last updated:** [March 3, 2018, 10:37pm UTC](https://discuss.elastic.co/t/wildcard-search-case-insensitive/122337 "2018-03-03T22:37:18Z")

</div>

Going over the wildcard search documentation I am missing a few issues. First, I have the following mapping and entities: { "ms\_search\_v1": { "mappings": { "entries": { "propert…

---

## [Setup-Passwords](https://discuss.elastic.co/t/setup-passwords/122375)

<div class="topic-metadata">

**Author:** [@thespatt](https://discuss.elastic.co/u/thespatt)\
**Replies:** 2\
**Last updated:** [March 3, 2018, 8:01pm UTC](https://discuss.elastic.co/t/setup-passwords/122375 "2018-03-03T20:01:30Z")

</div>

I'm trying to run the docker containers set up to run on port 9210. When running the setup-passwords command, I get "Connection failure to: http://172.18.0.2:9200/\_xpack/security/\_authenticate?pretty failed" but I can't…

---

## [Elasticsearch &"Load Balance One Cluster Node"](https://discuss.elastic.co/t/elasticsearch-load-balance-one-cluster-node/122220)

<div class="topic-metadata">

**Author:** [@Ben96](https://discuss.elastic.co/u/Ben96)\
**Replies:** 2\
**Last updated:** [March 3, 2018, 7:56pm UTC](https://discuss.elastic.co/t/elasticsearch-load-balance-one-cluster-node/122220 "2018-03-03T19:56:55Z")

</div>

Hello everyone, hope you are all fine :slight\_smile: Few questions today ! Context : Someone in my compagny is using Shiny (R) on our Stack ELK Clusters, the thing is, that he need one of our 3 frontend machines to be…

---

## [How to get Duration value to calculate with?](https://discuss.elastic.co/t/how-to-get-duration-value-to-calculate-with/122386)

<div class="topic-metadata">

**Author:** [@Murat89](https://discuss.elastic.co/u/Murat89)\
**Replies:** 0\
**Last updated:** [March 3, 2018, 7:25pm UTC](https://discuss.elastic.co/t/how-to-get-duration-value-to-calculate-with/122386 "2018-03-03T19:25:13Z")

</div>

Hi guys, im a beginner in Elasticsearch and here is my problem. Below you can see the log, I want to get for instance the duration value which is given in seconds here, then I want divide it by 60 so I have the minutes.…

---

## [Field stats search in ES 6.X?](https://discuss.elastic.co/t/field-stats-search-in-es-6-x/122323)

<div class="topic-metadata">

**Author:** [@fassisrosa](https://discuss.elastic.co/u/fassisrosa)\
**Replies:** 3\
**Last updated:** [March 3, 2018, 7:20pm UTC](https://discuss.elastic.co/t/field-stats-search-in-es-6-x/122323 "2018-03-03T19:20:40Z")

</div>

Hi there, In previous versions of ES, fields stats were used internally by ES to determine which indexes to use when searching. A typical example for timeseries indexes would be to search on a time range, internal field…

---

## [DateRange if DateTime Field not null?](https://discuss.elastic.co/t/daterange-if-datetime-field-not-null/121943)

<div class="topic-metadata">

**Author:** [@Mehmet\_KURT](https://discuss.elastic.co/u/Mehmet_KURT)\
**Replies:** 3\
**Last updated:** [March 3, 2018, 4:23pm UTC](https://discuss.elastic.co/t/daterange-if-datetime-field-not-null/121943 "2018-03-03T16:23:13Z")

</div>

Hi everybody, My table columns are not always null! Therefore, I need to check when querying the date range. I'm passing the Linq question below. How can I do that? query = query.where(p =\> (!p.markasnewstar…

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

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