# Elasticsearch

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

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

**Page:** 1442

---

## [Elasticsearch fails shortly after starting (CentOS 7, ES 5.6.\*, installed using RPM)](https://discuss.elastic.co/t/elasticsearch-fails-shortly-after-starting-centos-7-es-5-6-installed-using-rpm/161934)

<div class="topic-metadata">

**Author:** [@keddy](https://discuss.elastic.co/u/keddy)\
**Replies:** 4\
**Last updated:** [December 28, 2018, 3:39am UTC](https://discuss.elastic.co/t/elasticsearch-fails-shortly-after-starting-centos-7-es-5-6-installed-using-rpm/161934 "2018-12-28T03:39:49Z")

</div>

Getting the following systemd log entries when attempting to start ElasticSearch: Dec 22 21:57:42 mydomain.com systemd\[1\]: Starting Elasticsearch... Dec 22 21:57:42 mydomain.com systemd\[1\]: Started Elasticsearch. Dec 22…

---

## [Need to Migrate Elastic 5.5 to Elastic 6.3 using NEST api](https://discuss.elastic.co/t/need-to-migrate-elastic-5-5-to-elastic-6-3-using-nest-api/162129)

<div class="topic-metadata">

**Author:** [@mahendra\_mcsa](https://discuss.elastic.co/u/mahendra_mcsa)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 1:14am UTC](https://discuss.elastic.co/t/need-to-migrate-elastic-5-5-to-elastic-6-3-using-nest-api/162129 "2018-12-28T01:14:18Z")

</div>

Need to Migrate Elastic 5.5 to Elastic 6.3 using NEST api. We need a compare list between two version. For example : Nest.ISearchResponse . Documents is not working with Elastic 6.3

---

## [How to retrieve millions of records very effectively at a time and display them in grid using NEST client with elastic search?](https://discuss.elastic.co/t/how-to-retrieve-millions-of-records-very-effectively-at-a-time-and-display-them-in-grid-using-nest-client-with-elastic-search/161447)

<div class="topic-metadata">

**Author:** [@karan.j.shah](https://discuss.elastic.co/u/karan.j.shah)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 1:07am UTC](https://discuss.elastic.co/t/how-to-retrieve-millions-of-records-very-effectively-at-a-time-and-display-them-in-grid-using-nest-client-with-elastic-search/161447 "2018-12-28T01:07:31Z")

</div>

Hello Everyone, Currently, I am using ScrollAll Method Of NEST Client to retrieve millions of records from elastic search. Below I have mentioned Code for this: var numberOfShards=3; …

---

## [.NET Client - include max\_children property in nested sorting](https://discuss.elastic.co/t/net-client-include-max-children-property-in-nested-sorting/161472)

<div class="topic-metadata">

**Author:** [@pyk](https://discuss.elastic.co/u/pyk)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 12:50am UTC](https://discuss.elastic.co/t/net-client-include-max-children-property-in-nested-sorting/161472 "2018-12-28T00:50:07Z")

</div>

Hi, based on documentation and 6.5 release notes, we've new property in sorting by nested, named max\_children. How to pass this property in .net client? Here's my sort descriptor: SortDescriptor.Field(x =\> x.Field(y =\>…

---

## [ScriptEngine - ScoreScript : cosine similarity](https://discuss.elastic.co/t/scriptengine-scorescript-cosine-similarity/162229)

<div class="topic-metadata">

**Author:** [@YoniN](https://discuss.elastic.co/u/YoniN)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 11:48pm UTC](https://discuss.elastic.co/t/scriptengine-scorescript-cosine-similarity/162229 "2018-12-27T23:48:15Z")

</div>

HI, using an updated version (running on 6.5.4) of: when running on a single index, all the scores are "correct" between 0-1 (double) as cosine similarity should be, but if running over 2+ indexes by using alias or …

---

## [Uppercase letters on sort by text field](https://discuss.elastic.co/t/uppercase-letters-on-sort-by-text-field/162285)

<div class="topic-metadata">

**Author:** [@guilherme\_maranhao](https://discuss.elastic.co/u/guilherme_maranhao)\
**Replies:** 0\
**Last updated:** [December 27, 2018, 9:25pm UTC](https://discuss.elastic.co/t/uppercase-letters-on-sort-by-text-field/162285 "2018-12-27T21:25:18Z")

</div>

Hi there, I'm trying to sort a search by a text field. On some documents, all the letters on the field are uppercase, while in others, only the first letter is uppercase. I'm sorting it by the text\_field.keyword field,…

---

## [How to compare two buckets and sort by result?](https://discuss.elastic.co/t/how-to-compare-two-buckets-and-sort-by-result/162284)

<div class="topic-metadata">

**Author:** [@seriyyy95](https://discuss.elastic.co/u/seriyyy95)\
**Replies:** 0\
**Last updated:** [December 27, 2018, 9:22pm UTC](https://discuss.elastic.co/t/how-to-compare-two-buckets-and-sort-by-result/162284 "2018-12-27T21:22:47Z")

</div>

Hi, I use elasticsearch 6.5.4 on Ubuntu 17.10 with openjdk version 1.8.0\_171. I have an index with these mappings: "mappings": { "rawdata": { "properties": { "date": { "type": "date"}, "im…

---

## [Rejecting mapping update to .kibana\_1, .monitoring-es-6-2018.12.27, etc](https://discuss.elastic.co/t/rejecting-mapping-update-to-kibana-1-monitoring-es-6-2018-12-27-etc/162272)

<div class="topic-metadata">

**Author:** [@bhansen](https://discuss.elastic.co/u/bhansen)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 8:18pm UTC](https://discuss.elastic.co/t/rejecting-mapping-update-to-kibana-1-monitoring-es-6-2018-12-27-etc/162272 "2018-12-27T20:18:07Z")

</div>

yesterday I was working with watcher, ran a simulation on a watcher config with aggrs (trying to debug it) and I started getting errors. I checked the elasticsearch.log and the logstash-plain.log and started seeing the r…

---

## [New to ElasticSearch - killed at startup / ES 6.5 openjdk 11 OpenVZ Debian 9](https://discuss.elastic.co/t/new-to-elasticsearch-killed-at-startup-es-6-5-openjdk-11-openvz-debian-9/159551)

<div class="topic-metadata">

**Author:** [@sophierules](https://discuss.elastic.co/u/sophierules)\
**Replies:** 14\
**Last updated:** [December 27, 2018, 7:21pm UTC](https://discuss.elastic.co/t/new-to-elasticsearch-killed-at-startup-es-6-5-openjdk-11-openvz-debian-9/159551 "2018-12-27T19:21:23Z")

</div>

Hi, I just installed ES from your repository on an OpenVZ container running Debian 9 /64bit. The only messages I get from it at startup are below. It dies the same way when I call from systemd, or from the command line…

---

## [Return object that corresponds to another tables' unique ids?](https://discuss.elastic.co/t/return-object-that-corresponds-to-another-tables-unique-ids/162276)

<div class="topic-metadata">

**Author:** [@andres\_512](https://discuss.elastic.co/u/andres_512)\
**Replies:** 0\
**Last updated:** [December 27, 2018, 6:41pm UTC](https://discuss.elastic.co/t/return-object-that-corresponds-to-another-tables-unique-ids/162276 "2018-12-27T18:41:14Z")

</div>

Hi, I'm running into issues. I'm sort of new to elastic search. Sometimes it works properly and sometimes it doesn't. Here are my issues.. I have 2 problems. Problem 1: I have a database of users. Users have an { acti…

---

## [First time query with different params is taking a lot of time](https://discuss.elastic.co/t/first-time-query-with-different-params-is-taking-a-lot-of-time/162166)

<div class="topic-metadata">

**Author:** [@arvindan\_ta](https://discuss.elastic.co/u/arvindan_ta)\
**Replies:** 17\
**Last updated:** [December 27, 2018, 6:38pm UTC](https://discuss.elastic.co/t/first-time-query-with-different-params-is-taking-a-lot-of-time/162166 "2018-12-27T18:38:59Z")

</div>

Hi , I have around 20 Lakh records . I use a single index . The total doc size comes around 6.2GB. Whenever a new search is performed , the query takes a lot of time to execute . If I run the same query again , it exec…

---

## [Elastic search installation error on windows](https://discuss.elastic.co/t/elastic-search-installation-error-on-windows/162274)

<div class="topic-metadata">

**Author:** [@Srikar\_Gandhi](https://discuss.elastic.co/u/Srikar_Gandhi)\
**Replies:** 0\
**Last updated:** [December 27, 2018, 6:18pm UTC](https://discuss.elastic.co/t/elastic-search-installation-error-on-windows/162274 "2018-12-27T18:18:32Z")

</div>

I am getting below error when I run elasticsearch on windows 2008 64bit machine. \[2018-12-27T17:53:43,571\]\[WARN \]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[unknown\] uncaught exception in thread \[main\] org.elasticse…

---

## [Aggregation composite with date\_histogram and local timezone](https://discuss.elastic.co/t/aggregation-composite-with-date-histogram-and-local-timezone/162267)

<div class="topic-metadata">

**Author:** [@Hornov](https://discuss.elastic.co/u/Hornov)\
**Replies:** 0\
**Last updated:** [December 27, 2018, 5:00pm UTC](https://discuss.elastic.co/t/aggregation-composite-with-date-histogram-and-local-timezone/162267 "2018-12-27T17:00:29Z")

</div>

Hello every body, I recently migrated on elastic 6.4 and I dicovered the pretty good composite agg but when I use date\_histogram with "time-zone" : "Europe/Paris" the "after\_key" doesn't work. And when I use "time\_zone…

---

## [ElasticSearch issue:- Trimming the data from Message field](https://discuss.elastic.co/t/elasticsearch-issue-trimming-the-data-from-message-field/162264)

<div class="topic-metadata">

**Author:** [@mayanks8](https://discuss.elastic.co/u/mayanks8)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 4:43pm UTC](https://discuss.elastic.co/t/elasticsearch-issue-trimming-the-data-from-message-field/162264 "2018-12-27T16:43:32Z")

</div>

Hi All, I am new to elastic stack. I have implemented ELK stack using docker. The other teams have started feeding there logs to my logstash. one team in particular feeding logs through Jenkins using Logstash plugin (h…

---

## [Installation questions regarding systemd](https://discuss.elastic.co/t/installation-questions-regarding-systemd/162265)

<div class="topic-metadata">

**Author:** [@swright-eti](https://discuss.elastic.co/u/swright-eti)\
**Replies:** 0\
**Last updated:** [December 27, 2018, 4:42pm UTC](https://discuss.elastic.co/t/installation-questions-regarding-systemd/162265 "2018-12-27T16:42:12Z")

</div>

It looks like ElasticSearch, LogStash, and Kibana RPMs put systemd files in different places. Why is that? I did a deploy of all 3 on a fresh VM. I expected all three files to be in the same place, but ElasticSearch put…

---

## [Is 6.5 the last 6.x release?](https://discuss.elastic.co/t/is-6-5-the-last-6-x-release/162262)

<div class="topic-metadata">

**Author:** [@gbourke](https://discuss.elastic.co/u/gbourke)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 4:33pm UTC](https://discuss.elastic.co/t/is-6-5-the-last-6-x-release/162262 "2018-12-27T16:33:33Z")

</div>

Will there by an ES 6.6 release or is 6.5.x the last release before 7.0?

---

## [One solution for both MobileApp and Website](https://discuss.elastic.co/t/one-solution-for-both-mobileapp-and-website/162252)

<div class="topic-metadata">

**Author:** [@venu.pgi](https://discuss.elastic.co/u/venu.pgi)\
**Replies:** 0\
**Last updated:** [December 27, 2018, 3:06pm UTC](https://discuss.elastic.co/t/one-solution-for-both-mobileapp-and-website/162252 "2018-12-27T15:06:49Z")

</div>

Hi , Our project has both MobileApp and also Website versions which we are developing at the moment. For both of these, the source of content is only one CMS system that is Contentful. So can we use simply elastic sear…

---

## [Can setting job/bash delete data](https://discuss.elastic.co/t/can-setting-job-bash-delete-data/162214)

<div class="topic-metadata">

**Author:** [@keep](https://discuss.elastic.co/u/keep)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 3:04pm UTC](https://discuss.elastic.co/t/can-setting-job-bash-delete-data/162214 "2018-12-27T15:04:44Z")

</div>

can setting job delete data as time. befor delete save count data by field there are samples?

---

## [Is it possible to extract day, month of a date at the time of indexing](https://discuss.elastic.co/t/is-it-possible-to-extract-day-month-of-a-date-at-the-time-of-indexing/162121)

<div class="topic-metadata">

**Author:** [@msmani](https://discuss.elastic.co/u/msmani)\
**Replies:** 3\
**Last updated:** [December 27, 2018, 2:32pm UTC](https://discuss.elastic.co/t/is-it-possible-to-extract-day-month-of-a-date-at-the-time-of-indexing/162121 "2018-12-27T14:32:45Z")

</div>

Assume I index a field named "created\_on" as date type (epoch), now I want to extract reports like number of documents created on Monday. 2.number of documents created in the month of December. etc... now if I simpl…

---

## [Create a config file \[xml\] for LOGSTASH](https://discuss.elastic.co/t/create-a-config-file-xml-for-logstash/162216)

<div class="topic-metadata">

**Author:** [@Alaoui](https://discuss.elastic.co/u/Alaoui)\
**Replies:** 4\
**Last updated:** [December 27, 2018, 2:23pm UTC](https://discuss.elastic.co/t/create-a-config-file-xml-for-logstash/162216 "2018-12-27T14:23:41Z")

</div>

Hi guys , im new in elasticsearch and logstash and i would like to create the config file for logstash that he can load the xml file data , so i can do the searching in elasticsearch using kibana , i realy appreciate th…

---

## [\[FORBIDDEN/12/index read-only / allow delete (api)\];"})](https://discuss.elastic.co/t/forbidden-12-index-read-only-allow-delete-api/162113)

<div class="topic-metadata">

**Author:** [@Yashwant\_Shettigar](https://discuss.elastic.co/u/Yashwant_Shettigar)\
**Replies:** 9\
**Last updated:** [December 26, 2018, 2:46pm UTC](https://discuss.elastic.co/t/forbidden-12-index-read-only-allow-delete-api/162113 "2018-12-26T14:46:36Z")

</div>

Can someone please let me know where I can exactly apply these settings in 6.5, as I'm totally new to ELK : And are these steps applicable on 6.5 version ? Thank you

---

## [How to set server.name in elasticsearch 5.5?](https://discuss.elastic.co/t/how-to-set-server-name-in-elasticsearch-5-5/162130)

<div class="topic-metadata">

**Author:** [@Bella698](https://discuss.elastic.co/u/Bella698)\
**Replies:** 0\
**Last updated:** [December 26, 2018, 11:02am UTC](https://discuss.elastic.co/t/how-to-set-server-name-in-elasticsearch-5-5/162130 "2018-12-26T11:02:08Z")

</div>

I'm trying to begin using x-pack and specify a https cert. In order to do so, I need each elasticsearch node to have a configured hostname (a.foo.com) instead of starting with its IP address (1.2.3.4). Otherwise, SSL fai…

---

## [Force\_merge confusion in documentation](https://discuss.elastic.co/t/force-merge-confusion-in-documentation/162197)

<div class="topic-metadata">

**Author:** [@renjith\_ravindran](https://discuss.elastic.co/u/renjith_ravindran)\
**Replies:** 2\
**Last updated:** [December 27, 2018, 11:40am UTC](https://discuss.elastic.co/t/force-merge-confusion-in-documentation/162197 "2018-12-27T11:40:01Z")

</div>

As per this link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html, after resetting refresh\_interval, force\_merge call is recommended. But this page(https://www.elastic.co/guid…

---

## [EC2 discovery - cannot detect different box type](https://discuss.elastic.co/t/ec2-discovery-cannot-detect-different-box-type/162194)

<div class="topic-metadata">

**Author:** [@toughrogrammer](https://discuss.elastic.co/u/toughrogrammer)\
**Replies:** 3\
**Last updated:** [December 27, 2018, 10:02am UTC](https://discuss.elastic.co/t/ec2-discovery-cannot-detect-different-box-type/162194 "2018-12-27T10:02:43Z")

</div>

I'm using ec2 discovery plugin to detect master node. I'm trying hot-warm architecture, so I started serveral nodes with node.attr.box\_type: hot. And then I start new node with node.attr.box\_type: warm, this new node c…

---

## [Java transport client do not work after upgrade to 6.5.3](https://discuss.elastic.co/t/java-transport-client-do-not-work-after-upgrade-to-6-5-3/161726)

<div class="topic-metadata">

**Author:** [@ivanqwam](https://discuss.elastic.co/u/ivanqwam)\
**Replies:** 4\
**Last updated:** [December 27, 2018, 9:53am UTC](https://discuss.elastic.co/t/java-transport-client-do-not-work-after-upgrade-to-6-5-3/161726 "2018-12-27T09:53:01Z")

</div>

We have a Java transport client which worked fine with 6.2 jars on a 6.2 cluster but cannot connect anymore after 6.5.3 upgrade of both client and server. We did the following upgrade jars to 6.5.3 recompiled our clie…

---

## [Hot/Warm architecture and Machine-Learning](https://discuss.elastic.co/t/hot-warm-architecture-and-machine-learning/161707)

<div class="topic-metadata">

**Author:** [@Rohlik](https://discuss.elastic.co/u/Rohlik)\
**Replies:** 3\
**Last updated:** [December 27, 2018, 9:20am UTC](https://discuss.elastic.co/t/hot-warm-architecture-and-machine-learning/161707 "2018-12-27T09:20:58Z")

</div>

Hi there, How ML node works in How/Warm data node architecture? We want store aprox. 6 months on Hot data nodes and aprox. 18 months on Warn nodes. Because all data will go through hot data nodes, is it necessary to hav…

---

## [Why Cluster Allocation Explain API explains the allocation of the first unassigned shard?](https://discuss.elastic.co/t/why-cluster-allocation-explain-api-explains-the-allocation-of-the-first-unassigned-shard/162199)

<div class="topic-metadata">

**Author:** [@nikhil.k](https://discuss.elastic.co/u/nikhil.k)\
**Replies:** 2\
**Last updated:** [December 27, 2018, 9:16am UTC](https://discuss.elastic.co/t/why-cluster-allocation-explain-api-explains-the-allocation-of-the-first-unassigned-shard/162199 "2018-12-27T09:16:46Z")

</div>

Hi All, Elasticsearch Version - 5.4.3 I have a cluster of only one node. I have created an index by using the following command: curl -X PUT "node1:9200/index10" -H 'Content-Type: application/json' -d' { "settings" :…

---

## [ELK elasticsearch issues](https://discuss.elastic.co/t/elk-elasticsearch-issues/160494)

<div class="topic-metadata">

**Author:** [@amritihealth](https://discuss.elastic.co/u/amritihealth)\
**Replies:** 6\
**Last updated:** [December 27, 2018, 8:57am UTC](https://discuss.elastic.co/t/elk-elasticsearch-issues/160494 "2018-12-27T08:57:11Z")

</div>

Recently moved from 6.5.1 version to 6.5.2 and again back to 6.5.1 . Seems index got corrupted. Cannot get back previous dashboard. Can see below error from Elastic search container, after which kibana container crashes. …

---

## [Negative longs unsupported, use writeLong or writeZLong for negative numbers](https://discuss.elastic.co/t/negative-longs-unsupported-use-writelong-or-writezlong-for-negative-numbers/162201)

<div class="topic-metadata">

**Author:** [@jmkim](https://discuss.elastic.co/u/jmkim)\
**Replies:** 2\
**Last updated:** [December 27, 2018, 8:52am UTC](https://discuss.elastic.co/t/negative-longs-unsupported-use-writelong-or-writezlong-for-negative-numbers/162201 "2018-12-27T08:52:06Z")

</div>

Hi everyone! I am getting a "failed to execute on node". In elasticsearch log file its showing below error.... \[2018-12-27T14:33:00,348\]\[DEBUG\]\[o.e.a.a.i.s.TransportIndicesStatsAction\] \[node-1\] failed to execute \[indic…

---

## [How the Elastic search results shows the cloudfront / CDN links contained in the body of a content](https://discuss.elastic.co/t/how-the-elastic-search-results-shows-the-cloudfront-cdn-links-contained-in-the-body-of-a-content/162153)

<div class="topic-metadata">

**Author:** [@venu.pgi](https://discuss.elastic.co/u/venu.pgi)\
**Replies:** 5\
**Last updated:** [December 27, 2018, 8:29am UTC](https://discuss.elastic.co/t/how-the-elastic-search-results-shows-the-cloudfront-cdn-links-contained-in-the-body-of-a-content/162153 "2018-12-27T08:29:00Z")

</div>

Hi Good morning all. I am new to elasticsearch looking for some help please. I have a webhook from "Contentful" cms connecting to an endpoint within cloud.elastic.co . Assume that I create a content which contains a medi…

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

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